Taxes on 401(k) money depend on when you withdraw it and what type of account you have

A traditional 401(k) is taxed when you take the money out, not when you put it in. The contributions you make come from your paycheck before taxes are withheld, so the IRS treats withdrawals as ordinary income. If you withdraw $10,000, you owe income tax on that $10,000 at your current tax rate.

A Roth 401(k) works the opposite way. You contribute after-tax dollars, so withdrawals of your original contributions are never taxed again. Earnings on those contributions are tax-free too, but only if you follow the withdrawal rules — you must be 59½ years old and have held the account for at least five years.

The tax bill you actually owe depends on three things: which type of account you have, how old you are when you withdraw, and whether you withdraw before or after retirement. Each situation has different rules and different penalties.

Key Takeaways

  • Traditional 401(k) withdrawals are taxed as ordinary income at your current tax rate, while Roth 401(k) withdrawals of contributions are never taxed if you follow the rules.
  • Withdrawals before age 59½ from a traditional 401(k) trigger a 10% early withdrawal penalty on top of income tax, with narrow exceptions for hardship or disability.
  • Your employer withholds taxes from traditional 401(k) withdrawals automatically, usually 20% for lump-sum distributions, but you may owe more or less when you file your tax return.
  • Required minimum distributions (RMDs) begin at age 73 and are taxed as ordinary income; you cannot avoid them by leaving the money in the account.
  • Roth 401(k) contributions can be withdrawn tax-free anytime, but earnings withdrawals before 59½ are taxed and penalized unless you meet a narrow exception.

Traditional 401(k) withdrawals and ordinary income tax

When you withdraw from a traditional 401(k), the IRS taxes that money as ordinary income — the same way it taxes your salary. If you normally pay 22% income tax, a $10,000 withdrawal adds $10,000 to your taxable income for the year, and you owe 22% on it. If you withdraw $50,000, you owe tax on all $50,000.

Your employer withholds taxes automatically. For a lump-sum distribution (taking all the money at once), the withholding is usually 20%. For periodic distributions (monthly or annual payments), your employer withholds based on the W-4P form you file with them. The withholding is an estimate — when you file your tax return, you may owe more tax or receive a refund depending on your actual tax bracket for the year.

The withholding does not pay your tax bill; it just sends money to the IRS on your behalf. You still owe the full tax when you file your return. If you withdraw $50,000 and your employer withholds $10,000, but you actually owe $12,000 in tax, you pay the remaining $2,000 when you file.

The 10% early withdrawal penalty for those under 59½

If you withdraw from a traditional 401(k) before age 59½, you pay a 10% penalty on top of income tax. A $10,000 withdrawal costs you $1,000 in penalty plus whatever income tax you owe. This penalty applies to the amount you withdraw, not to your total account balance.

The penalty has narrow exceptions. You can withdraw without penalty if you are disabled, if you are withdrawing to pay medical expenses that exceed 7.5% of your adjusted gross income, or if you are receiving substantially equal periodic payments under a specific IRS formula. You also avoid the penalty if you are no longer employed by the company that sponsors the plan and you are at least 55 years old.

Hardship withdrawals — money taken for immediate financial need like medical bills or eviction — do not waive the penalty. You still owe the 10% even if your employer approves the hardship request. The only difference is that hardship withdrawals may not require you to suspend contributions to the plan afterward, depending on your plan's rules.

Roth 401(k) contributions versus earnings

Roth 401(k) withdrawals are split into two parts: your contributions (the money you put in) and your earnings (the investment gains). Contributions can be withdrawn tax-free and penalty-free at any age. Earnings follow the same rules as a traditional 401(k) — they are taxed as ordinary income and penalized 10% if you withdraw before 59½.

Your plan statement should show how much is contributions and how much is earnings. If it does not, contact your plan administrator and ask for a breakdown. When you withdraw, the IRS assumes you withdraw contributions first, then earnings. So if you have $30,000 in contributions and $10,000 in earnings, and you withdraw $20,000, the first $20,000 comes from contributions and is tax-free.

The five-year rule applies to earnings only. You must have held the Roth 401(k) for at least five years before earnings withdrawals are tax-free. The clock starts on January 1 of the year you first contributed. If you opened a Roth 401(k) in 2024, you cannot withdraw earnings tax-free until 2029, even if you are 59½ or older.

Required minimum distributions starting at age 73

At age 73, the IRS requires you to withdraw a minimum amount from your traditional 401(k) each year. This is called a required minimum distribution (RMD). You cannot avoid it by leaving the money in the account or by not needing the cash. The amount is calculated by dividing your account balance on December 31 of the prior year by a life expectancy factor published by the IRS.

RMDs are taxed as ordinary income. If your RMD is $15,000, you owe income tax on $15,000. Your employer withholds taxes automatically, usually at 10% unless you request a different rate. If the withholding is not enough, you owe the difference when you file your tax return.

If you do not take your RMD, the IRS charges a penalty of 25% of the amount you should have withdrawn. If your RMD was $15,000 and you withdrew nothing, you owe a $3,750 penalty. This penalty has been reduced from 50% in recent years, but it is still steep. Roth 401(k)s do not require distributions while you are alive, but beneficiaries who inherit a Roth 401(k) must take distributions.

Taxes on 401(k) rollovers and transfers

If you roll over a traditional 401(k) to a traditional IRA, there is no immediate tax. The money moves directly from one account to the other, and the IRS does not tax the transfer. However, if you take the money yourself and deposit it within 60 days, your employer withholds 20% for taxes. You must deposit the full amount (including the 20% withheld) into the new account within 60 days, or the withheld amount is treated as a withdrawal and taxed plus penalized.

Rolling a traditional 401(k) to a Roth IRA is a Roth conversion. You owe income tax on the full amount converted in the year you do it. If you convert $50,000, you owe income tax on $50,000. This is different from a rollover — the conversion is taxable, but there is no 10% penalty even if you are under 59½.

Roth 401(k) rollovers to Roth IRAs are not taxable. The money moves tax-free because it was already taxed when you contributed to the Roth 401(k).

How your tax bracket affects what you owe

The tax rate on your 401(k) withdrawal depends on your total income for the year, not just the withdrawal amount. If you withdraw $20,000 and your other income puts you in the 24% tax bracket, you owe 24% on the withdrawal. If you withdraw the same $20,000 but your other income is lower and you are in the 12% bracket, you owe 12%.

This matters when you are retired and have no other income. A $50,000 withdrawal might be taxed at 12% if it is your only income for the year. But if you also have Social Security, a pension, or other income, the withdrawal is added on top and may be taxed at a higher rate. Some retirees spread withdrawals across multiple years to stay in a lower tax bracket.

Your employer's withholding is based on the W-4P form you file, which estimates your tax bracket. If your estimate is wrong, you may owe more or less when you file your return. You can adjust the withholding by filing a new W-4P with your plan administrator.

State and local taxes on 401(k) withdrawals

Most states tax 401(k) withdrawals as ordinary income, just like the federal government does. A few states do not tax retirement income at all — including Florida, Texas, and Wyoming. Others tax only part of retirement income or have income thresholds above which withdrawals are not taxed.

Your employer typically withholds federal tax only. You may need to make estimated state tax payments if you live in a state that taxes retirement income and your employer is not withholding enough. Check your state's tax agency website or ask a tax professional about your state's rules.

If you move to a different state after you retire, the state where you withdraw the money may tax it, not the state where you lived when you contributed. This is one reason some retirees move to low-tax states — the tax savings can be significant over many years of withdrawals.

Frequently Asked Questions

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

No, not when you contribute. Traditional 401(k) contributions come from your paycheck before taxes are withheld, so you do not pay income tax on them upfront. You pay tax later when you withdraw. Roth 401(k) contributions are made after taxes, so you never pay tax on them again.

What happens if I do not withdraw enough to cover the taxes my employer withheld?

You owe the difference when you file your tax return. Withholding is an estimate based on the form you file with your employer. If the withholding is too low, you pay the remaining tax by the tax deadline. If it is too high, you receive a refund.

Can I avoid the 10% penalty by taking a loan from my 401(k) instead of withdrawing?

Yes. A loan is not a withdrawal, so there is no tax or penalty. You repay the loan to your own account with interest. However, if you leave your job before repaying, the outstanding loan balance is treated as a withdrawal and taxed plus penalized if you are under 59½.

Is my 401(k) taxed differently if I am still working?

Yes. If you are still employed and under 59½, withdrawals are taxed as ordinary income plus the 10% penalty. The exception is the "rule of 55" — if you leave your job at 55 or later, you can withdraw without the 10% penalty (but you still owe income tax). This rule does not apply if you are still employed by the same company.

What if I inherit a 401(k) from someone else?

Inherited traditional 401(k)s are taxed as ordinary income when you withdraw. The rules depend on whether you are a spouse, a child, or another beneficiary, and whether the original owner had started taking required minimum distributions. Inherited Roth 401(k)s follow similar rules, but contributions can be withdrawn tax-free.