Skip to main content

HomeAll guides

How 401(k) Taxes Work: What You Pay Now and What You Pay Later

Your 401(k) contributions and withdrawals are taxed differently depending on the account type

Whether your 401(k) is taxable depends on which version you have. A traditional 401(k) lets you contribute pre-tax money, which means you do not pay income tax on those contributions when you make them — but you pay ordinary income tax on the full amount when you withdraw it in retirement. A Roth 401(k) works the opposite way: you contribute after-tax money, so you pay income tax now, but your withdrawals in retirement are tax-free.

The tax bill you face is not the same as the tax bill you avoid. A traditional 401(k) reduces your taxable income this year, which can lower your tax bracket and the amount you owe the IRS right now. A Roth 401(k) does not give you that when ready break, but it shields all your growth from tax forever. Which one costs you less in total tax depends on whether your tax rate will be higher or lower in retirement than it is today — something nobody knows for certain.

Key Takeaways

  • Traditional 401(k) contributions lower your taxable income in the year you make them, but withdrawals in retirement are taxed as ordinary income at whatever rate applies then.
  • Roth 401(k) contributions are made with after-tax dollars, so you get no tax break now, but all withdrawals in retirement are tax-free.
  • Your employer match, if you have one, always goes into the traditional side of your account and is always taxable when you withdraw it, even if you chose Roth contributions.
  • Once you turn 73, you must take required minimum distributions from a traditional 401(k) each year, and those distributions are fully taxable.
  • You can roll a traditional 401(k) into a traditional IRA or a Roth 401(k) into a Roth IRA, but converting a traditional balance to Roth creates a tax bill in the year you convert.

How traditional 401(k) taxes work

When you contribute to a traditional 401(k), the money comes out of your paycheck before federal income tax is withheld. Your employer reports the contribution to the IRS, and it reduces your taxable income for that year. If you earn $60,000 and contribute $7,000 to a traditional 401(k), your taxable income for the year is $53,000, not $60,000.

That lower taxable income can move you into a lower tax bracket, which means you owe less federal income tax that year. But the money is not tax-free forever — it is tax-deferred. When you withdraw from the account in retirement, every dollar you withdraw is taxed as ordinary income at whatever your tax rate is then. If you withdraw $40,000 in a year when you are in the 22 percent federal tax bracket, you owe roughly $8,800 in federal income tax on that withdrawal alone, plus any state income tax your state charges.

If your employer offers a match — for example, they match 50 percent of what you contribute, up to 6 percent of your salary — that match money also goes into your traditional 401(k) and is also fully taxable when you withdraw it. You do not pay tax on the match when it arrives, but you will pay tax on it later.

How Roth 401(k) taxes work

A Roth 401(k) contribution comes out of your paycheck after federal income tax has already been withheld. You pay income tax on that money in the year you earn it, just as you would on any other income. Your employer still reports the contribution to the IRS, but it does not reduce your taxable income. If you earn $60,000 and contribute $7,000 to a Roth 401(k), your taxable income is still $60,000.

The advantage appears later. When you withdraw from a Roth 401(k) in retirement, the withdrawals are tax-free — both the contributions you made and all the growth those contributions earned over the years. If your $7,000 contribution grew to $25,000 by the time you retire, you withdraw the full $25,000 with no tax bill.

Your employer match, if you have one, does not go into the Roth side of your account. It goes into a separate traditional 401(k) side, and that match is taxable when you withdraw it. This is true even if you chose Roth contributions. You can have both a Roth and a traditional portion in the same 401(k) plan.

Required minimum distributions and taxes

Once you turn 73, the IRS requires you to withdraw a minimum amount from your traditional 401(k) each year. This is called a required minimum distribution, or RMD. The amount is calculated based on your age and your account balance, and the IRS publishes a table each year showing what you owe. If you do not take the full RMD, you owe a penalty of 25 percent of the shortfall (or 10 percent if you correct it within two years).

Every dollar of a traditional 401(k) RMD is taxable as ordinary income. If your RMD is $15,000 in a year when you are in the 24 percent tax bracket, you owe roughly $3,600 in federal income tax on that distribution, plus any state tax. Roth 401(k)s are also subject to RMDs, but since Roth withdrawals are tax-free, the RMD itself creates no tax bill — though you still must take it or face the penalty.

Converting a traditional 401(k) to Roth

You can convert money from a traditional 401(k) to a Roth 401(k) or to a Roth IRA, but the conversion itself is a taxable event. When you convert, the IRS treats the amount you convert as a withdrawal from the traditional account. You owe ordinary income tax on the full amount converted in the year you do the conversion.

For example, if you convert $50,000 from a traditional 401(k) to a Roth IRA, you owe income tax on $50,000 in that tax year. If you are in the 24 percent federal bracket, that is roughly $12,000 in federal tax, plus any state tax. The money you convert then grows tax-free in the Roth account, and you owe no tax on withdrawals later.

Some people convert in years when their income is lower than usual, which keeps them in a lower tax bracket and reduces the tax bill on the conversion. Others convert gradually over several years to spread the tax cost across multiple years. There is no single right approach — it depends on your income, your tax bracket, and your retirement timeline.

State income tax on 401(k) withdrawals

Federal income tax is not the only tax on 401(k) withdrawals. Most states also tax traditional 401(k) withdrawals as ordinary income. Nine states have no state income tax at all: Alaska, Florida, Nevada, South Dakota, Tennessee, Texas, Washington, Wyoming, and New Hampshire (which taxes only dividends and interest, not wages or retirement withdrawals).

The remaining states tax 401(k) withdrawals, though some offer partial breaks for retirement income. A few states, including Illinois and Mississippi, do not tax retirement account withdrawals at all, even though they tax other income. If you plan to move in retirement, the state you move to can significantly change your tax bill on the same 401(k) withdrawal. A $40,000 withdrawal might create a $9,000 federal tax bill and a $0 state tax bill if you move to Florida, but a $2,000 state tax bill if you stay in California.

Early withdrawal penalties and taxes

If you withdraw from your 401(k) before age 59½, you owe ordinary income tax on the withdrawal plus a 10 percent early withdrawal penalty on top of that. A $20,000 withdrawal at age 50 would be taxed as ordinary income (roughly $4,800 in federal tax if you are in the 24 percent bracket) plus a $2,000 penalty, for a total of $6,800 in federal tax and penalties alone.

Some exceptions exist. You can withdraw without the 10 percent penalty if you are separated from service (no longer working for that employer) and you are at least 55 years old. You can also use the Rule of 55 to avoid the penalty if you leave your job in the year you turn 55 or later. Roth 401(k)s have the same early withdrawal rules as traditional 401(k)s, though you can always withdraw your own contributions (not the growth) from a Roth without tax or penalty.

Frequently Asked Questions

Do I have to pay taxes on my 401(k) contributions?

It depends on the account type. Traditional 401(k) contributions are made before taxes, so you do not pay federal income tax on them when you contribute — but you pay tax on the full amount when you withdraw. Roth 401(k) contributions are made after taxes, so you pay tax now but not on withdrawals later.

What happens to my 401(k) if I leave my job?

Your 401(k) stays yours. You can leave it with your former employer, roll it into an IRA at a bank or brokerage, or roll it into your new employer's 401(k) if they allow it. The tax treatment does not change — traditional balances are still taxed on withdrawal, and Roth balances are still tax-free on withdrawal.

Can I avoid taxes on my 401(k) by not withdrawing?

Not permanently. Once you turn 73, you must take required minimum distributions from a traditional 401(k) each year, and those are taxable. Roth 401(k)s also have RMDs, though the withdrawals themselves are tax-free. You can avoid the RMD requirement by rolling your 401(k) into a Roth IRA, but the conversion itself creates a tax bill.

Is my employer match taxed differently than my contributions?

Your employer match goes into the traditional side of your 401(k) and is taxed the same way as traditional contributions — you pay tax on it when you withdraw, not when it arrives. This is true even if you chose Roth contributions for your own money.

What if I have both a traditional and Roth 401(k)?

You can have both in the same plan. Your traditional contributions and employer match are taxed on withdrawal. Your Roth contributions are tax-free on withdrawal. When you calculate your required minimum distribution at age 73, the IRS combines both balances, but you can withdraw the RMD from either the traditional or Roth side.

This guide is for general information only and is not medical, financial, legal, or other professional advice. For decisions specific to your situation, consult a qualified professional. See our Editorial Policy.