sparkle-illustration

Register for a NerdWallet account to access simple tax filing for a $50 flat fee, powered by 

ColumnTax Logo

401(k) Taxes on Withdrawals and Contributions

Contributing to a traditional 401(k) could help reduce your taxable income now, but in most cases, you’ll pay taxes when you withdraw the money in retirement.
June Sham
Tina Orem
By Tina Orem and  June Sham 
Updated
Reviewed by Lei Han
How 401(k) Taxes Work and How to Minimize the Tax Bill

Many or all of the products featured here are from our partners who compensate us. This influences which products we write about and where and how the product appears on a page. However, this does not influence our evaluations. Our opinions are our own. Here is a list of our partners and here's how we make money.

All 401(k) plans offer specific tax advantages, making 401(k)s a great way to save for retirement. Contributions to a traditional 401(k) plan, as well as any employer matches and earnings in the account (such as gains, interest or dividends), are considered tax-deferred. This means you you won't pay income taxes until you withdraw from the account.

But how exactly do 401(k) taxes work and how do you pay them? Here are a few rules.

» Use our 401k calculator to see if you're on track for retirement

NerdWalletTaxes Logo

Simple tax filing with a $50 flat fee for every scenario

With NerdWallet Taxes powered by Column Tax, registered NerdWallet members pay one fee, regardless of your tax situation. Plus, you'll get free support from tax experts. Sign up for access today.

for a NerdWallet account

checkmark

Transparent pricing

Hassle-free tax filing* is $50 for all tax situations — no hidden costs or fees.
checkmark

Maximum refund guaranteed

Get every dollar you deserve* when you file with this tax product, powered by Column Tax.
checkmark

Faster filing

File up to 2x faster than traditional options.* Get your refund, and get on with your life.

*guaranteed by Column Tax

illustration

Taxes on 401(k) contributions

Are 401(k) contributions tax-deductible?

Contributions to your 401(k) come out of your paycheck before the IRS takes its cut, also known as "pre-tax income." That means two things: 1) you won’t pay income tax on those contributions, and 2) the contributions can reduce your adjusted gross income. If you have an employer match, that money won't be taxed, either.

An example of how this works: If you earn $50,000 before taxes and you contribute $2,000 of it to your 401(k), that's $2,000 less you'll be taxed on. When you file your tax return, you’d report $48,000 rather than $50,000.

What else should I know about traditional 401(k) contributions?

  • In 2024, you can contribute up to $23,000 a year to a 401(k) plan. If you're 50 or older, you can contribute up to $30,500.

  • The annual contribution limit is per person, and it applies to all of your 401(k) account contributions in total.

  • You still have to pay some FICA taxes (Medicare and Social Security) on your payroll contributions to a 401(k).

  • Your employer will send you a W-2 in January that shows how much it paid you during the previous calendar year, as well as how much you contributed to your 401(k) and how much withholding tax you paid.

File your taxes with confidence
Register for a free NerdWallet account or sign in to gain access to an exclusive one-hour, previously recorded webinar about tax filing and tax planning strategies. Watch on demand!

Taxes on 401(k) withdrawals

How are 401(k) withdrawals taxed?

The money you withdraw (also called a “distribution”) from a traditional 401(k) is taxable as regular income in the year you take the money out. The rate at which your distributions are taxed will depend on which federal tax bracket you're in at the time of your qualified withdrawal. You can begin withdrawing money from your traditional 401(k) without penalty when you turn age 59½. But you still have to pay taxes when you withdraw, because you didn't pay income taxes on it back when you put it in the account.

A few important points:

What if you withdraw from your 401(k) early?

For traditional 401(k)s, there are three main consequences of an early withdrawal or cashing out before age 59½:

  1. Taxes will be withheld. The IRS generally requires automatic withholding of 20% of a 401(k) early withdrawal for taxes

    . So if you withdraw the $10,000 in your 401(k) at age 40, you may get only about $8,000.

  2. The IRS will penalize you. If you withdraw money from your 401(k) before you’re 59½, the IRS usually assesses a 10% penalty when you file your tax return

    . That could mean giving the government an additional $1,000 of that $10,000 withdrawal.

  3. You will have less money for retirement, especially if the market is down when you start making withdrawals. That could have long-term consequences.

There are exceptions, but you might be able to avoid the IRS’s penalty for early withdrawals from a traditional 401(k) if you:

  • Receive the payout over time.

  • Qualify for a hardship distribution with the plan administrator.

  • Leave your job and are over a certain age.

  • Are a domestic abuse survivor.

  • Are getting divorced.

  • Give birth to a child or adopt a child.

  • Are or become disabled.

  • Put the money in another retirement account.

  • Use the money to pay an IRS levy.

  • Use the money to pay certain medical expenses.

  • Were a disaster victim.

  • Overcontributed to your 401(k).

  • Were in the military.

  • Are terminally ill.

  • Die.

Finally, a provision in the Secure 2.0 Act now allows special emergency 401(k) distributions of up to $1,000 per year without the 10% penalty

Senate Finance Committee. SECURE 2.0 Act of 2022. Accessed Aug 11, 2023.
. The taxpayer can pay the $1,000 back over a three-year period, but no other distributions can be made until the money is repaid.

Pre-tax vs. Roth 401(k)

A Roth 401(k) is funded by post-tax income. This means, unlike a traditional or pre-tax 401(k), your contributions won’t lower your taxable income when you file. Instead, because you'll pay taxes on the money before it goes into your account, you can withdraw the contributions tax-free later. Fidelity, one of the biggest retirement plan providers, says nearly 80%. of its plans now have a Roth 401(k) option

Fidelity. Is a Roth 401(k) right for you?. Accessed Feb 7, 2024.
.

What else should I know about Roth 401(k) taxes?

  • You can begin withdrawing money from your Roth 401(k) without penalty once you’ve held the account for at least five years and you’re at least 59½.

  • You can withdraw contributions from a Roth 401(k) early if you’ve held the account for at least five years and need the money due to disability or death.

  • Roth 401(k)s no longer require taking RMDs as of January 2024.

  • A Roth 401(k) might be something to consider if you think you'll be in a higher tax bracket once you reach retirement age.

Compare Roth 401(k) vs. traditional 401(k)

Traditional 401(k)

Roth 401(k)

Tax treatment of contributions

Contributions are made pre-tax, which reduces your current adjusted gross income.

Contributions are made after taxes, with no effect on current adjusted gross income. Employer matching dollars must go into a pre-tax account and are taxed when distributed.

Tax treatment of withdrawals

Distributions in retirement are taxed as ordinary income.

No taxes on qualified distributions in retirement.

Withdrawal rules

Withdrawals of contributions and earnings are taxed. Distributions may be penalized if taken before age 59½, unless you meet one of the IRS exceptions.

Withdrawals of contributions and earnings are not taxed as long as the distribution is considered qualified by the IRS: The account has been held for five years or more and the distribution is:

  • Due to disability or death

  • On or after age 59½

Unlike a Roth IRA, you cannot withdraw contributions any time you choose.

7 ways to reduce your 401(k) taxes

  1. Wait to withdraw. Consider staying out of your 401(k) account if you can help it. Withdrawals, especially early ones, can trigger taxes and penalties.

  2. Look for exceptions. If you must make an early withdrawal from a 401(k), see if you qualify for an exception that will help you avoid paying an early withdrawal penalty.

  3. Consider credits. See if you qualify for the saver’s credit on your contributions.

  4. Know the rules about 401(k) rollovers. Rolling a 401(k) account into another 401(k), or into an IRA, usually won’t trigger taxes — if you get the money into the new account within 60 days of when you withdraw the money. Otherwise, the IRS might consider the move a distribution, triggering taxes and maybe even a penalty.

  5. Weigh taking a 401(k) loan vs. a withdrawal. In most circumstances, you’ll need to repay the loan within three to five years and make regular payments. And not all 401(k) plans offer loans. Check with your plan administrator for the rules.

  6. Explore tax-loss harvesting. You might be able to offset the taxes on your 401(k) withdrawal by selling underperforming securities at a loss in another investment account you might have. Those losses can offset some or all of the taxes on your 401(k) withdrawal through a strategy called tax-loss harvesting.

  7. See a tax professional. There are other ways to minimize your 401(k) taxes, too. A qualified tax pro can discuss your options with you.

Get more smart money moves – straight to your inbox
Sign up and we’ll send you Nerdy articles about the money topics that matter most to you along with other ways to help you get more from your money.