Social Security & You: How your retirement benefit is figured
When you file for retirement benefits, the Social Security Administration will look at your earnings history and pull out your highest 35 years. They don’t have to be consecutive. If you don’t have 35 years of earnings, the SSA must plug in an annual salary of $0 for every year you did not work, until the 35-year base is reached.