Judge Larry G. Elder will retire on Oct. 1 after 22 years on the Virginia Court of Appeals, the court announced today.