Question: how many years to earn social security?
Answer: The number of credits you need to be eligible for benefits depends on your age and the type of benefit. Anyone born in 1929 or later needs 10 years of work (40 credits) to be eligible for retirement benefits.