Skip to main content

HomeAll guides

How a Roth 401(k) Works and How It Differs From a Traditional 401(k)

A Roth 401(k) lets you contribute after-tax dollars now and withdraw the money tax-free in retirement, the opposite of a traditional 401(k)

A Roth 401(k) is a workplace retirement account where you pay income tax on the money you contribute today, but you owe no tax on the earnings or withdrawals after age 59½. A traditional 401(k) works the other way: you get a tax deduction when you contribute, but you pay income tax on everything you withdraw later. Both are offered through your employer, both have the same contribution limits, and both charge a 10% penalty if you withdraw before 59½ — but the tax timing is reversed.

The choice between them comes down to whether you think your tax rate will be higher or lower in retirement than it is now. If you expect to be in a lower tax bracket when you retire, a traditional 401(k) saves you more money overall. If you expect to be in a higher bracket, or if you straightforward want to lock in today's tax rate and have tax-free growth, a Roth 401(k) makes sense.

Key Takeaways

  • You contribute after-tax dollars to a Roth 401(k), meaning your paycheck is smaller, but your withdrawals in retirement are completely tax-free.
  • A traditional 401(k) gives you a tax deduction now and taxes you on withdrawals later, while a Roth 401(k) taxes you now and not later.
  • Both account types have identical contribution limits, employer match rules, and early withdrawal penalties.
  • You can have both a Roth 401(k) and a traditional 401(k) through the same employer, but your combined contributions cannot exceed the annual limit.
  • Roth 401(k)s have no income limits, unlike Roth IRAs, so high earners can use them to save in a Roth account.

How contributions and taxes work in a Roth 401(k)

When you contribute to a Roth 401(k), the money comes from your after-tax pay. Your employer does not deduct it from your taxable income, so you pay federal income tax on that money in the year you earn it. If you contribute $500 per paycheck to a Roth 401(k), you owe income tax on that $500 as if you had taken it home.

Your employer can still match your contributions — that match goes into the Roth 401(k) account with you, though the match itself is treated as a traditional contribution for tax purposes. The earnings on both your contributions and the employer match grow tax-free inside the account. When you withdraw money after 59½, you owe no federal income tax on any of it: not the contributions you made, not the employer match, and not the investment gains.

This is different from a traditional 401(k), where your contribution reduces your taxable income in the year you make it, but every dollar you withdraw in retirement is taxed as ordinary income.

Contribution limits and how they work across account types

The IRS sets an annual limit on how much you can contribute to a 401(k) in total, regardless of type. For 2024, that limit is $23,500 if you are under 50, and $31,000 if you are 50 or older (the extra $7,500 is called a catch-up contribution). This limit applies to your combined contributions across all 401(k)s you have — you cannot contribute $23,500 to a Roth 401(k) and another $23,500 to a traditional 401(k) at the same employer.

If you have a Roth 401(k) and a traditional 401(k) through the same employer, your contributions to both must add up to the annual limit. For example, you could contribute $15,000 to the Roth and $8,500 to the traditional, but not $23,500 to each. Employer matches do not count toward your limit — only your own contributions do.

Unlike a Roth IRA, there is no income limit for a Roth 401(k). Even if you earn $500,000 per year, you can contribute the full amount. This makes a Roth 401(k) useful for high earners who want to save in a Roth account but cannot open a Roth IRA because of income restrictions.

Withdrawal rules and the five-year rule

You can withdraw your own contributions to a Roth 401(k) at any time without penalty or tax, even before 59½. However, withdrawing earnings before 59½ triggers a 10% penalty and income tax on the earnings portion — the same penalty as a traditional 401(k).

There is a five-year rule that applies to Roth 401(k)s: you must have held the account for at least five tax years before you can withdraw earnings tax-free, even after 59½. The five-year period starts on January 1 of the year you made your first Roth 401(k) contribution. If you opened a Roth 401(k) in 2024, the five-year period ends on January 1, 2029. After that date, you can withdraw earnings tax-free as long as you are 59½ or older.

If you leave your job, you can roll a Roth 401(k) into a Roth IRA. The five-year rule still applies, but it is based on when you first contributed to any Roth account (Roth IRA or Roth 401(k)), not when you opened the IRA.

Required minimum distributions and Roth 401(k)s

Unlike a Roth IRA, a Roth 401(k) is subject to required minimum distributions (RMDs). Starting at age 73 (as of 2023), you must withdraw a set percentage of your balance each year, calculated by the IRS based on your age and account balance. You owe no tax on these withdrawals — they are tax-free like all Roth 401(k) withdrawals — but you must take them.

If you do not need the money in retirement, this can be a disadvantage compared to a Roth IRA, which has no RMD requirement. However, you can roll your Roth 401(k) into a Roth IRA after you leave your job, which eliminates the RMD requirement. Some employers also allow in-service rollovers, meaning you can move the money to a Roth IRA while still employed, though this is less common.

Roth 401(k) versus traditional 401(k): a side-by-side comparison

FeatureRoth 401(k)Traditional 401(k)
Contribution dollarsAfter-taxPre-tax
Tax deduction in contribution yearNoYes
Tax on withdrawals in retirementNoneFull amount taxed as income
Annual contribution limit (2024, under 50)$23,500$23,500
Income limitsNoneNone
Employer match allowedYesYes
Early withdrawal penalty (before 59½)10% on earnings only10% on full amount
Required minimum distributions at 73YesYes
Five-year rule for earningsYesNo

When a Roth 401(k) makes sense for your situation

A Roth 401(k) is often a good choice if you are early in your career and expect your income and tax bracket to rise over time. Locking in today's tax rate means you avoid paying higher taxes on the growth later. It is also useful if you are a high earner who cannot open a Roth IRA due to income limits — a Roth 401(k) has no income cap.

A Roth 401(k) can also help if you want to diversify your tax situation in retirement. Having both pre-tax money (from a traditional 401(k) or IRA) and after-tax money (from a Roth) gives you flexibility in which account to withdraw from each year, which can help you manage your tax bracket and Medicare premiums.

A traditional 401(k) may make more sense if you are in a high tax bracket now and expect to be in a lower one in retirement, or if you need the when ready tax deduction to reduce your current taxable income. It is also simpler if you do not want to think about the five-year rule or RMDs.

Frequently Asked Questions

Can my employer match contributions to a Roth 401(k)?

Yes, employers can match Roth 401(k) contributions. However, the employer match itself is treated as a traditional contribution for tax purposes, meaning you will owe tax on it when you withdraw it in retirement. Only your own contributions and the earnings on them are tax-free.

What happens to a Roth 401(k) if I change jobs?

You can roll the Roth 401(k) into a Roth IRA at your new financial institution. The money stays in a Roth account and continues to grow tax-free. The five-year rule still applies based on when you first contributed to any Roth account, not when you opened the IRA.

Do I have to take required minimum distributions from a Roth 401(k)?

Yes, Roth 401(k)s are subject to RMDs starting at age 73. However, you can roll the account into a Roth IRA after leaving your job, which eliminates the RMD requirement. Some employers allow in-service rollovers while you are still employed.

Can I withdraw my contributions before 59½ without penalty?

Yes, you can withdraw your own contributions to a Roth 401(k) at any time without penalty or tax. However, withdrawing earnings before 59½ triggers a 10% penalty and income tax on the earnings, and you must have held the account for five tax years to avoid the penalty on earnings.

Is a Roth 401(k) better than a traditional 401(k)?

Neither is universally better — it depends on your current tax bracket, expected retirement tax bracket, and whether you want tax-free growth now or a tax deduction now. If you expect to be in a higher tax bracket in retirement, a Roth 401(k) is usually better. If you expect to be in a lower bracket, a traditional 401(k) usually saves more money overall.

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.