You qualify for Social Security by compiling credits when you pay Social Security tax on your earnings. You can earn up to four credits per year. Workers qualify for Social Security retirement benefits when they reach 40 lifetime credits.