Skip to main content

How 401(k) Distributions Are Taxed

The tax treatment of your 401(k) withdrawal depends on whether you contributed pre-tax or after-tax money, and when you take it out

Most 401(k) distributions are taxed as ordinary income in the year you withdraw them. If you contributed money before taxes were withheld from your paycheck — the standard setup for most plans — the entire withdrawal is subject to federal income tax at your regular tax rate. State income tax may also apply, depending on where you live and work.

The tax bill arrives because your employer deducted those contributions from your gross income when you earned it, meaning you never paid tax on that money. When you withdraw it, the IRS collects the tax it deferred. If you contributed after-tax dollars to your plan (some employers offer this option), only the earnings on that money are taxed; your contributions themselves come out tax-free.

The timing of your withdrawal also matters. Take money out before age 59½ and you typically owe a 10 percent early withdrawal penalty on top of ordinary income tax, unless a narrow exception applies. Wait until age 73 and you must take required minimum distributions (RMDs) whether you need the money or not, and those withdrawals are fully taxable.

Key Takeaways

  • Pre-tax 401(k) contributions are taxed as ordinary income when withdrawn, at whatever your tax bracket is in the year you take the money out.
  • Withdrawals before age 59½ trigger a 10 percent early withdrawal penalty unless you meet a specific exception like disability, separation from service at 55 or older, or a Roth conversion.
  • After-tax contributions to your 401(k) come out tax-free, but the earnings on that money are taxed as ordinary income.
  • Required minimum distributions begin at age 73 and are fully taxable if the money came from pre-tax contributions.
  • Your employer withholds federal income tax from each distribution, but the amount withheld may not cover your full tax bill.

How withholding works on 401(k) distributions

Your employer is required to withhold federal income tax from your 401(k) distribution before you receive it. The amount withheld depends on the form you complete — typically a W-4P, which is similar to the W-4 you filled out when hired. You can choose to have extra tax withheld, or in some cases request less withholding, though the IRS sets a minimum.

The withholding is an estimate. If you withdraw $50,000 and your employer withholds $10,000, that $10,000 goes to the IRS, but your actual tax liability might be higher or lower depending on your total income for the year, your filing status, and other deductions. When you file your tax return, you settle the difference. If too much was withheld, you get a refund; if too little, you owe more.

State income tax withholding is separate and varies by state. Some states do not tax retirement income at all; others withhold a percentage of your distribution. You can usually request additional state withholding on the same form where you elect federal withholding.

The 10 percent early withdrawal penalty and its exceptions

If you withdraw money from your 401(k) before you turn 59½, you owe a 10 percent penalty on top of ordinary income tax. On a $50,000 withdrawal, that is an additional $5,000 penalty, plus whatever income tax applies. The penalty is calculated on the amount withdrawn, not on what you receive after withholding.

Several exceptions exist. You can withdraw without penalty if you are disabled (as defined by the IRS), if you are a beneficiary receiving a distribution after the account holder's death, or if you have unreimbursed medical expenses that exceed 7.5 percent of your adjusted gross income. You can also avoid the penalty if you separate from service at age 55 or older — meaning you leave your job at 55 and take distributions from that employer's 401(k) plan.

A Roth conversion creates another pathway. If you convert pre-tax 401(k) money to a Roth IRA, you pay income tax on the conversion but no penalty, even if you are under 59½. You then have access to your contributions (not earnings) in the Roth IRA without penalty under the pro-rata rule, though this strategy requires careful planning with a tax professional.

Loans from your 401(k) are not distributions and do not trigger the penalty, but if you leave your job while a loan is outstanding, the loan balance is typically treated as a distribution and becomes subject to the penalty if you cannot repay it within a set timeframe.

After-tax contributions and the pro-rata rule

Some 401(k) plans allow you to contribute after-tax dollars — money that does not reduce your taxable income in the year you contribute it. These contributions are separate from your pre-tax deferrals and from employer matching contributions. When you withdraw after-tax contributions, that portion comes out tax-free because you already paid tax on it.

The complication arises when you have both pre-tax and after-tax money in your plan and you take a distribution. The IRS uses the pro-rata rule, which means your withdrawal is treated as coming proportionally from all your account balances. If your 401(k) holds $100,000 in pre-tax money and $25,000 in after-tax contributions, and you withdraw $50,000, the IRS treats $40,000 as pre-tax (80 percent) and $10,000 as after-tax (20 percent). Only the $10,000 is tax-free; the $40,000 is taxable.

This rule applies even if you try to withdraw only your after-tax contributions. It also applies if you roll over your 401(k) to an IRA. The pro-rata rule is one reason some people convert after-tax 401(k) money to a Roth IRA — it allows them to separate the after-tax contributions from the pre-tax balance and avoid the pro-rata calculation on future conversions.

Required minimum distributions and mandatory taxation

Starting at age 73, you must withdraw a minimum amount from your 401(k) each year, whether you need the money or not. The IRS calculates this amount using your age, your account balance, and a life expectancy table. The amount increases each year as you age. These withdrawals are fully taxable if they come from pre-tax contributions.

If you fail to take your required minimum distribution, the IRS imposes a penalty equal to 25 percent of the shortfall (reduced to 10 percent if you correct it within two years). This is one of the harshest penalties in the tax code. If your RMD is $10,000 and you withdraw nothing, the penalty is $2,500.

You can satisfy your RMD by taking a lump sum, by taking multiple distributions throughout the year, or by having your plan administrator calculate and distribute the amount automatically. Some plans allow you to delay your first RMD until April 1 of the year after you turn 73, but that creates a double-distribution year that can push you into a higher tax bracket.

Lump-sum distributions and special tax treatment

If you receive your entire 401(k) balance in a single payment — called a lump-sum distribution — you may be able to use net unrealized appreciation (NUA) treatment if your plan includes company stock. NUA allows you to pay ordinary income tax only on the cost basis of the stock (what your employer paid for it), while the appreciation is taxed as a long-term capital gain when you eventually sell the shares. This can result in significant tax savings if the stock has appreciated substantially.

NUA treatment requires that you receive the entire balance of your account in a single tax year, that the distribution includes employer securities, and that you roll the non-stock portion to an IRA or another 401(k) within 60 days. The stock itself must be held outside the IRA to may have access to. This strategy is complex and requires coordination with your plan administrator and a tax professional.

Rolling over a 401(k) to defer taxes

You can move your 401(k) balance to an IRA or to another employer's 401(k) plan without triggering immediate taxation. This is called a direct rollover when the money moves directly from one plan to another, or a 60-day rollover when you receive a check and have 60 days to deposit it elsewhere.

A direct rollover avoids withholding and is the simpler route. Your plan administrator sends the money directly to the receiving institution, and no tax is due. A 60-day rollover is riskier: your employer withholds 20 percent of the distribution, and you must deposit the full amount (including the withheld portion from your own pocket) within 60 days or the shortfall is treated as a taxable distribution.

Rolling over to an IRA gives you more investment choices and may lower fees, but it also subjects you to the pro-rata rule if you later do a Roth conversion. Rolling over to another 401(k) preserves your ability to do a backdoor Roth conversion without pro-rata complications, and it keeps your money in a workplace plan where you may have access to loans and other features.

Frequently Asked Questions

Can I avoid taxes by taking a 401(k) loan instead of a withdrawal?

A loan is not a distribution, so you do not owe income tax or the early withdrawal penalty on the amount borrowed. You repay the loan to your own account with interest. However, if you leave your job or cannot repay the loan, the outstanding balance is treated as a distribution and becomes taxable and subject to the 10 percent penalty if you are under 59½.

What happens to my 401(k) if I die before taking distributions?

Your beneficiary inherits the account and must take distributions according to IRS rules. The distributions are taxable to your beneficiary as ordinary income. The rules depend on whether your beneficiary is a spouse, a non-spouse family member, or a non-family member, and they changed significantly in 2023 under the SECURE Act.

Do I owe taxes on employer matching contributions?

Yes. Employer matching contributions are pre-tax money, so the entire amount — both your contributions and the match — is taxed as ordinary income when you withdraw it. Only after-tax contributions come out tax-free.

If I roll my 401(k) to an IRA, do I still owe taxes?

Not immediately. A direct rollover is tax-free; the money moves from one account to another with no tax event. You owe taxes only when you later withdraw money from the IRA. A 60-day rollover is also tax-free if you complete it within 60 days, but your employer withholds 20 percent, which you must replace from your own funds to avoid a taxable shortfall.

Can I take a distribution to pay off debt or buy a house?

You can withdraw money for any reason, but you will owe income tax and likely the 10 percent early withdrawal penalty if you are under 59½. Some plans allow loans instead, which defer the tax and penalty. A few narrow exceptions to the penalty exist — disability, unreimbursed medical expenses, and separation from service at 55 or older — but general financial needs do not may have access to.