How 401(k) Taxes Work: What You Pay Now and Later
Your 401(k) is taxed, but the timing depends on which type you have
A traditional 401(k) is taxed when you withdraw the money in retirement, not when you contribute it. A Roth 401(k) is taxed when you contribute it, and then withdrawals in retirement are tax-free. Most people with a 401(k) at work have a traditional one, which means you get a tax break today but owe taxes later.
The tax bill you face depends on three things: which type of 401(k) you have, how much you withdraw each year, and what your income tax bracket is at that time. Understanding this now helps you plan for retirement without surprises.
Key Takeaways
- Traditional 401(k) contributions reduce your taxable income this year, but withdrawals in retirement are taxed as ordinary income.
- Roth 401(k) contributions are made with after-tax dollars, but may have access to withdrawals in retirement are completely tax-free.
- You must start taking withdrawals from a traditional 401(k) at age 73, and those withdrawals are taxed as income.
- If you withdraw money before age 59½ from either type, you typically owe income tax plus a 10 percent early withdrawal penalty.
- Your employer's matching contributions to a traditional 401(k) are also taxed as income when you withdraw them.
How traditional 401(k) taxes work
When you contribute to a traditional 401(k), that money comes out of your paycheck before income taxes are calculated. Your employer reports the contribution to the IRS, and it lowers your taxable income for the year. If you earn $60,000 and contribute $7,000 to a traditional 401(k), you only report $53,000 as taxable income.
The money grows tax-free inside the account for decades. You do not owe taxes on the growth, the interest, or the investment gains while the money sits there. The tax bill arrives when you withdraw. If you withdraw $50,000 in your first year of retirement, that $50,000 is treated as ordinary income and taxed at whatever your tax bracket is that year. If you are in the 22 percent tax bracket, you owe roughly $11,000 in federal income tax on that withdrawal alone.
This structure benefits people who expect to be in a lower tax bracket in retirement than they are while working. If you earn $100,000 now and expect to live on $40,000 a year in retirement, the traditional 401(k) saves you taxes because you avoid taxes at your current high rate and pay them at a lower rate later.
How Roth 401(k) taxes work
A Roth 401(k) reverses the tax timing. You contribute after-tax dollars — the money comes out of your paycheck after income taxes have already been taken out. You get no tax break this year. But the money grows tax-free, and when you withdraw it in retirement, you owe no federal income tax on any of it: not the contributions, not the growth, not the gains.
Roth 401(k)s make sense if you expect to be in a higher tax bracket in retirement, or if you straightforward want certainty about your tax bill. You know exactly what you will owe in taxes on those withdrawals: nothing. The trade-off is paying taxes now instead of later.
Not all employers offer a Roth 401(k) option. If yours does, you can split your contributions between traditional and Roth, or choose one or the other. The annual contribution limit applies to both combined — you cannot contribute $23,000 to traditional and $23,000 to Roth in the same year.
Taxes on employer matching contributions
Your employer's matching contributions go into your traditional 401(k) as pre-tax money. That means they are taxed as ordinary income when you withdraw them, just like your own contributions. If your employer matches $5,000 a year for 20 years, that $100,000 in matching money will be taxed when you take it out.
If you have a Roth 401(k), your employer's match cannot go into the Roth side — it must go into a separate traditional 401(k) account. This means you will have two accounts: a Roth 401(k) with your contributions (tax-free withdrawals) and a traditional 401(k) with the employer match (taxed withdrawals). When you retire, you withdraw from each separately and pay taxes only on the traditional side.
Required withdrawals and taxes at age 73
The IRS requires you to start withdrawing money from a traditional 401(k) at age 73. These are called required minimum distributions, or RMDs. The amount is calculated based on your age and account balance, and you must withdraw at least that much each year or face a 25 percent penalty on the amount you should have withdrawn.
Every dollar of an RMD from a traditional 401(k) is taxed as ordinary income. If the IRS says you must withdraw $40,000 that year, you owe income tax on the full $40,000. This can push you into a higher tax bracket if you are not careful, which is why some people work with a tax professional to plan their withdrawals.
Roth 401(k)s do not have RMDs during your lifetime. You can leave the money untouched as long as you want, and your heirs inherit it tax-free (though they may have to withdraw it within ten years under current rules).
Early withdrawal penalties and taxes
If you withdraw money from your 401(k) before age 59½, you owe income tax on the withdrawal plus a 10 percent early withdrawal penalty. If you withdraw $30,000 at age 45 from a traditional 401(k) and you are in the 24 percent tax bracket, you owe roughly $7,200 in income tax plus $3,000 in penalty — a total of $10,200 in taxes and penalties on a $30,000 withdrawal.
Roth 401(k)s have a more complex rule: you can withdraw your own contributions penalty-free at any age, but earnings and employer match are subject to the 10 percent penalty if withdrawn before 59½. Some employers allow loans from a 401(k) instead, which lets you borrow your own money without triggering the penalty, though you must repay it.
State and local income taxes on 401(k) withdrawals
Federal income tax is not the only tax on 401(k) withdrawals. Most states tax 401(k) withdrawals as ordinary income. If you live in New York and withdraw $50,000 from your traditional 401(k), you owe federal income tax plus New York state income tax on that $50,000.
A handful of states — including Florida, Texas, and Wyoming — do not have state income tax, so withdrawals are not taxed at the state level. Some states offer partial exemptions for retirement income, but the rules vary widely. If you are planning to move in retirement, the state tax treatment of 401(k) withdrawals is worth researching.
How to estimate your tax bill in retirement
To get a rough sense of what you will owe, multiply your expected annual withdrawal by your expected tax bracket. If you plan to withdraw $60,000 a year and expect to be in the 22 percent federal bracket, you will owe roughly $13,200 in federal income tax per year. Add your state tax rate if your state taxes retirement income.
This is an estimate, not a may provide. Your actual tax bill depends on other income you have in retirement — Social Security, pensions, rental income, or part-time work all affect your tax bracket. Many people find it helpful to work with a tax professional a few years before retirement to model different withdrawal strategies and see which one minimizes their tax bill.
Frequently Asked Questions
Do I owe taxes on 401(k) growth while the money is still in the account?
No. The money grows tax-free inside the account, whether it is invested in stocks, bonds, or mutual funds. You only owe taxes when you withdraw the money. This tax-free growth is one of the main reasons 401(k)s are valuable for retirement savings.
Can I avoid taxes by rolling my 401(k) into an IRA?
A rollover itself does not trigger taxes if you do it correctly. You can move money from a traditional 401(k) to a traditional IRA without owing taxes. But the money is still taxed when you eventually withdraw it. A Roth conversion — moving traditional money to a Roth IRA — does trigger taxes in the year you convert, because you are moving pre-tax money into an after-tax account.
What happens to my 401(k) taxes if I leave my job?
Your 401(k) balance stays in the account and continues to grow tax-free. You do not owe taxes until you withdraw. You can leave it there, roll it to an IRA, or roll it to your new employer's plan if they allow it. The tax treatment does not change based on your employment status.
Are 401(k) withdrawals considered income for Social Security taxation?
Yes. Large 401(k) withdrawals can push your total income high enough that a portion of your Social Security benefits becomes taxable. This is one reason some people coordinate their 401(k) and Social Security withdrawal timing with a tax professional.
Do I owe taxes on my employer's matching contribution?
Yes, if it went into a traditional 401(k). The employer match is treated the same as your own contributions — it is taxed as ordinary income when you withdraw it. If your employer offers a Roth option, the match still goes to a traditional account and is taxed on withdrawal.
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.