Can you contribute to a 401k if you are collecting social security?

Another key advantage of continuing earned income, even after you collect Social Security, is that you can continue to contribute to your retirement savings accounts, such as traditional IRAs, health savings accounts (HSAs), Roth and 401 (k) IRAs, etc. Most retirement plan withdrawals are taxable (unless they come from a Roth option). This suggests that some people may want to withdraw money before applying for Social Security, in order to minimize the chance that some of their retirement withdrawals will push their Social Security benefits into the taxable bracket.