Question: how long do you have to work in the federal government to retire?
Answer: Immediate Benefits At age 62, an employee must have at least five years of service. This increases to 20 years of service at age 60. An employee who has reached a minimum retirement age is entitled to immediate benefits after 10 to 30 years of service.