Traditional 401(k) contributions lower your federal income tax for the year you make them

Money you put into a traditional 401(k) comes out of your paycheck before federal income tax is calculated. That means your employer reports a lower taxable income to the IRS, and you owe less tax on that year's return. The contribution itself is not taxed in the year you make it — you pay tax later, when you withdraw the money in retirement.

This is different from a Roth 401(k), where contributions come from after-tax dollars. You do not get a tax deduction for Roth contributions in the year you make them, but withdrawals in retirement are tax-free. The choice between traditional and Roth depends on whether you expect to be in a higher or lower tax bracket when you retire.

Your employer withholds the contribution from your paycheck and sends it directly to the 401(k) plan. You do not have to claim the deduction on your tax return — it happens automatically through payroll.

Key Takeaways

  • Traditional 401(k) contributions reduce your taxable income in the year you make them, lowering the federal income tax you owe.
  • Roth 401(k) contributions do not reduce your current taxable income, but may have access to withdrawals in retirement are tax-free.
  • The IRS sets annual contribution limits, which change yearly; for 2024 the limit is $23,500 for those under 50.
  • If your income exceeds certain thresholds, you may not be able to deduct traditional 401(k) contributions if you are also covered by an employer retirement plan.
  • State income tax treatment varies — some states do not tax retirement income, while others tax 401(k) withdrawals like ordinary income.

Income limits that affect your deduction

If you have a traditional 401(k) through your employer and no other retirement plan, you can deduct the full amount you contribute, no matter how much you earn. But if you are also covered by another employer retirement plan — such as a pension or a SIMPLE IRA — the deduction phases out at higher income levels.

The income thresholds where the deduction begins to phase out depend on your filing status and change each year. For 2024, if you are single and covered by an employer plan, the phase-out range starts around $77,000. If you are married filing jointly, it starts higher. The IRS publishes updated limits each January.

If your income falls in the phase-out range, you can still contribute to the 401(k), but only part of the contribution reduces your taxable income. The rest is treated as a non-deductible contribution. You will need to file Form 8606 with your tax return to report the non-deductible portion.

How the deduction appears on your tax return

When you file your federal tax return, your 401(k) contributions do not appear as a separate deduction. Instead, your employer reports your gross income minus the 401(k) contribution on your W-2 form in Box 1. The IRS already knows the amount because your employer withheld it from your paycheck.

You will see the contribution listed on your W-2 in Box 12, marked with code D (or code DD for designated Roth contributions). This tells the IRS and you how much went into the plan that year. You do not need to do anything extra — the deduction is already built into the income figure on your return.

If you made non-deductible contributions because your income was too high, you must file Form 8606 to track them. This form ensures you do not pay tax twice on the same money — once when you contribute it and again when you withdraw it in retirement.

Catch-up contributions and the deduction

If you are 50 or older, the IRS allows you to contribute an extra amount each year, called a catch-up contribution. For 2024, the regular limit is $23,500 and the catch-up amount is $7,500, for a total of $31,000. This extra amount also reduces your taxable income in the year you contribute it, subject to the same income phase-out rules as regular contributions.

Catch-up contributions follow the same tax treatment as regular contributions. If you have a traditional 401(k), they are deducted from your taxable income. If you have a Roth 401(k), they are not deducted but grow tax-free.

State income tax and 401(k) contributions

Most states that have an income tax also allow you to deduct traditional 401(k) contributions from your state taxable income. However, some states — including Illinois, Mississippi, and Pennsylvania — do not tax retirement income at all, so the deduction matters less there. A few states have their own rules about which retirement contributions are deductible.

When you withdraw money from your 401(k) in retirement, state tax treatment depends on where you live at that time. Some states tax withdrawals as ordinary income. Others exempt retirement income entirely. If you plan to move in retirement, this can affect how much of your 401(k) you actually keep.

What happens when you withdraw the money

The tax deduction you received when you contributed is balanced by taxation when you withdraw. Money you take out of a traditional 401(k) in retirement is taxed as ordinary income at whatever tax rate applies that year. If you contributed $10,000 and deducted it from your taxable income at age 35, you will owe income tax on that $10,000 (plus all the growth it earned) when you withdraw it at age 65.

This is why the traditional 401(k) is sometimes called "tax-deferred" rather than "tax-free." You are not avoiding tax — you are postponing it. The bet is that you will be in a lower tax bracket in retirement than you are now, so the tax you pay later will be smaller than the tax you saved today.

Roth 401(k) withdrawals work the opposite way. You paid tax on the contribution upfront, so may have access to withdrawals in retirement are completely tax-free. There is no tax deferral — there is no tax at all, as long as you follow the withdrawal rules.

Frequently Asked Questions

Can I deduct 401(k) contributions if I am self-employed?

No. Self-employed people use a Solo 401(k) or SEP-IRA instead. These are different plans with different rules. A Solo 401(k) contribution is still deducted from your taxable income, but the mechanics are different because you are both the employer and employee.

What if I contribute to both a 401(k) and an IRA?

Traditional 401(k) contributions always reduce your taxable income. Traditional IRA contributions may not, depending on your income and whether you are covered by an employer plan. If you are covered by a 401(k) at work, your IRA deduction phases out at the same income thresholds mentioned above. The 401(k) contribution does not count against the IRA limit — they are separate.

Do I owe tax on 401(k) contributions if I leave my job?

No. The tax deduction you received when you contributed is permanent. If you leave your job, you can roll the 401(k) into an IRA or another employer's plan without owing tax. You only owe tax when you withdraw the money for personal use, not when you move it between retirement accounts.

What if my employer matches my 401(k) contribution?

Employer matching contributions are not taxed to you in the year they are made. They reduce your taxable income just like your own contributions do. The match goes into your 401(k) and grows tax-deferred. You will owe tax on the match when you withdraw it in retirement, just as you will on your own contributions.