How 401(k) Withdrawals Get Taxed: Pre-Tax, Roth, and Early Withdrawal Rules
Withdrawals from a traditional 401(k) are taxed as ordinary income in the year you take the money out
When you withdraw money from a traditional 401(k), the IRS treats that withdrawal as income for that tax year. You pay federal income tax at your ordinary tax rate—the same rate you pay on wages. If you live in a state with income tax, you typically owe state tax on the withdrawal too. The amount withheld depends on what you claim on your W-4P form, which your plan administrator sends you when you request a distribution.
The tax bill can be substantial because withdrawals are added to your other income. If you earn $60,000 in wages and withdraw $30,000 from your 401(k), the IRS sees $90,000 in taxable income for the year. This can push you into a higher tax bracket, meaning you pay a higher percentage on the withdrawal than you might expect.
Your plan will withhold taxes automatically unless you request otherwise. The standard withholding is 20% of the amount you withdraw, but this is just an estimate. You may owe more when you file your tax return, or you may get a refund if too much was withheld.
Key Takeaways
- Traditional 401(k) withdrawals are taxed as ordinary income at your full tax rate, and the tax is usually withheld automatically at 20%.
- Roth 401(k) withdrawals are tax-free if you are at least 59½ and have held the account for at least five tax years, but earnings withdrawn before that age face income tax and a 10% penalty.
- Withdrawals before age 59½ from a traditional 401(k) trigger a 10% early withdrawal penalty on top of ordinary income tax, unless you meet a narrow exception.
- The amount you owe in taxes depends partly on your total income for the year, since withdrawals can push you into a higher tax bracket.
- Employer matching contributions in a traditional 401(k) are taxed the same way as your own contributions when withdrawn.
How Roth 401(k) withdrawals are treated differently
A Roth 401(k) withdrawal works differently because you contributed after-tax dollars. If you are at least 59½ years old and have held the Roth 401(k) for at least five tax years, you can withdraw both your contributions and the earnings tax-free. This is the major advantage of a Roth account—the growth is never taxed.
If you withdraw before age 59½, the rules split into two parts. Your contributions come out tax-free and penalty-free at any time. But the earnings portion is treated as taxable income, and you also owe a 10% early withdrawal penalty on the earnings (unless you meet an exception). This makes early Roth withdrawals more complicated than they appear, because your plan must separate contributions from earnings.
The five-year rule is a calendar rule, not an age rule. It starts on January 1 of the year you first contributed to any Roth 401(k), regardless of your age. If you opened a Roth 401(k) in 2024, you cannot take tax-free earnings withdrawals until 2029, even if you turn 59½ before then.
The 10% early withdrawal penalty and its exceptions
If you withdraw from a traditional 401(k) before age 59½, the IRS adds a 10% early withdrawal penalty on top of ordinary income tax. On a $30,000 withdrawal, that is $3,000 in penalty alone, plus whatever income tax you owe. This penalty applies to the full amount withdrawn, not just the earnings.
The IRS does allow withdrawals before 59½ without the penalty in specific situations. You can withdraw without penalty if you are separated from service (left your job) in the year you turn 55 or later—this is called the Rule of 55. You still owe income tax, but not the 10% penalty. You can also avoid the penalty if you are disabled, if you are taking substantially equal periodic payments (a complex calculation called SEPP), or if the withdrawal is to pay for a court-ordered domestic relations order.
Hardship withdrawals—money taken for immediate and heavy financial need—do not automatically waive the penalty. Your plan may allow them, but you still owe the 10% penalty unless you also meet one of the exceptions above. This is a common misunderstanding: a hardship withdrawal is not a penalty-free withdrawal.
How withholding works and why it may not cover your full tax bill
When you request a withdrawal, your plan sends you a notice asking how much tax to withhold. The default is 20% for lump-sum distributions. If you choose not to have taxes withheld, you are responsible for paying the full tax bill when you file your return, and you may owe penalties if you did not pay enough through withholding or quarterly estimated taxes.
The 20% withholding is often not enough. If you are in the 24% tax bracket and withdraw $30,000, you owe $7,200 in federal tax, but only $6,000 is withheld. You will owe the remaining $1,200 when you file. If you also owe state income tax and the 10% penalty, the gap is even larger.
You can request additional withholding on the form your plan provides. Some people choose to have 30% or 40% withheld to avoid a surprise tax bill. The amount withheld is refunded to you if it exceeds what you actually owe, so over-withholding is safer than under-withholding.
Employer match and how it affects your tax bill
Money your employer contributed to your 401(k)—the matching portion—is treated exactly like your own contributions for tax purposes. When you withdraw, both your contributions and the employer match are taxed as ordinary income. There is no separate tax treatment for the match.
This matters because the match is often a significant part of your balance. If your balance is $100,000 and $40,000 of that is employer match, all $100,000 is subject to tax when you withdraw it (assuming a traditional 401(k)). The match was never taxed when it went in, so it is taxed when it comes out.
State income tax on 401(k) withdrawals
Most states tax 401(k) withdrawals as ordinary income, just like the federal government does. The state tax rate varies—some states have no income tax, while others tax withdrawals at rates up to 13%. Your plan will ask whether to withhold state tax, and you should request it unless you have a specific reason not to.
A few states offer limited breaks for retirement income. Some states do not tax military pensions, and a handful do not tax 401(k) withdrawals for people over a certain age. These rules are state-specific and change frequently, so check your state's tax authority website or speak with a tax professional if you are moving or retiring in a different state.
If your plan does not withhold state tax and you owe it, you are responsible for paying it through your state tax return. This is another reason to request withholding when you take a distribution—it is easier to adjust a refund than to pay a surprise bill.
Withdrawals during retirement versus withdrawals while still working
The tax treatment is the same whether you withdraw at 70 or at 45, but the practical impact differs. If you are retired and have no other income, a $30,000 withdrawal might be your only income for the year, so it is taxed at the lowest brackets. If you are still working and earning $80,000 in salary, the same $30,000 withdrawal is added to that, pushing you into higher brackets and increasing your overall tax bill.
This is why timing matters. Some people delay large withdrawals until they retire, or they spread withdrawals over multiple years, to keep their taxable income lower. Others use Roth conversions to move money into a Roth IRA before retirement, paying tax at a lower rate now to avoid higher taxes later.
Frequently Asked Questions
Do I have to pay taxes on my 401(k) contributions?
Not when you contribute—contributions to a traditional 401(k) reduce your taxable income for that year. You pay taxes later, when you withdraw the money. Roth 401(k) contributions are made with after-tax dollars, so you do not get a tax deduction, but withdrawals are tax-free if you meet the age and holding-period rules.
What happens if I do not have enough withheld and owe taxes?
You will owe the balance when you file your tax return. If you did not pay enough throughout the year through withholding, you may also owe an underpayment penalty. You can avoid this by requesting additional withholding on your distribution form or by making quarterly estimated tax payments.
Can I roll over my 401(k) to avoid taxes?
A direct rollover to an IRA or another 401(k) is not a taxable event—no tax is withheld and no tax is due. But if you take the money yourself and miss the 60-day deadline to deposit it elsewhere, it is treated as a withdrawal and taxed accordingly. Always request a direct rollover to avoid this trap.
Is the 10% penalty waived if I am unemployed?
No. Unemployment alone does not waive the early withdrawal penalty. You must meet one of the specific exceptions: age 55 or older and separated from service, disabled, taking substantially equal payments, or meeting a few other narrow situations. Hardship does not automatically may have access to.
How do I know what my tax bracket will be after a withdrawal?
Add the withdrawal amount to your other income for the year and look up the federal tax brackets for that year on the IRS website. Your tax professional or tax software can also calculate this. Remember that the withdrawal may push you into a higher bracket, so the tax rate on the withdrawal itself may be higher than your normal rate.