You cannot withdraw contributions from a Roth 401(k) the way you can from a Roth IRA. A Roth IRA lets you pull your contributions out first and leave the earnings alone; a Roth 401(k) does not. Every distribution from a designated Roth account in an employer plan comes out as a proportional mix of contributions and earnings, so any withdrawal you take before you qualify for a tax-free distribution will drag some earnings out with it, and that earnings slice can be taxed and penalized.
How the Pro-Rata Rule Works
The IRS treats every non-qualified distribution from a Roth 401(k) as containing the same ratio of contributions to earnings that your account holds overall. You do not get to designate a withdrawal as “contributions only.”
Say your Roth 401(k) holds $50,000: $40,000 in contributions and $10,000 in earnings. Contributions are 80 percent of the balance and earnings are 20 percent. If you take $10,000 out, the IRS treats $8,000 as a tax-free return of contributions and $2,000 as earnings. The plan administrator runs this calculation and reports the split on the Form 1099-R you receive in January.1IRS. Instructions for Forms 1099-R and 5498
That $2,000 earnings portion is ordinary income for the year. If you are under 59½, it also gets hit with a 10 percent early withdrawal penalty.2Office of the Law Revision Counsel. 26 USC 72 – Annuities; Certain Proceeds of Endowment and Life Insurance Contracts On that $2,000, the penalty alone is $200, before any income tax. The contribution portion always comes back tax-free, qualified or not.
When a Roth 401(k) Withdrawal Is Fully Tax-Free
A qualified distribution avoids the pro-rata problem entirely: contributions and earnings both come out free of federal income tax. To qualify, two conditions have to be met at the same time.
- At least five full tax years must have passed since January 1 of the year you first contributed to that specific employer’s Roth 401(k). A first contribution in March 2022 starts the clock on January 1, 2022, and the five-year period ends December 31, 2026.3eCFR. 26 CFR 1.402A-1 Designated Roth Accounts
- You must be at least 59½, disabled, or deceased (with the distribution going to a beneficiary).4Office of the Law Revision Counsel. 26 USC 402A – Optional Treatment of Elective Deferrals as Roth Contributions
Both boxes have to be checked. Turning 59½ does not rescue an account whose five-year clock still has time left, and a ten-year-old account does not help a 50-year-old.
The five-year clock is tied to each employer’s plan on its own. If you change jobs and start contributing to a new employer’s Roth 401(k), a new clock begins. Rolling your old balance into the new plan does not carry the old clock over.3eCFR. 26 CFR 1.402A-1 Designated Roth Accounts
When Your Plan Will Actually Let You Take Money Out
Even setting the tax rules aside, a Roth 401(k) is not an on-demand account. You generally need a qualifying event before the administrator will release a distribution. The usual ones are leaving the employer (through resignation, retirement, or termination) and, if the plan allows in-service distributions, reaching age 59½ while still employed.
Hardship distributions are the other route, and they are narrower. A plan may permit a hardship withdrawal for an immediate and heavy financial need, such as unreimbursed medical expenses, buying a primary residence (not mortgage payments), post-secondary tuition and room and board, payments to prevent eviction or foreclosure, funeral expenses, or certain disaster losses.5Internal Revenue Service. Retirement Topics – Hardship Distributions Not every plan offers them, and the list of qualifying events varies among the plans that do. Your plan document or a call to the administrator is the only reliable source for what your plan allows.6Internal Revenue Service. Retirement Plans FAQs Regarding Hardship Distributions
Whatever event triggers the withdrawal, the pro-rata rule still applies. Contributions come back tax-free; earnings are taxable and may be penalized.
Exceptions That Waive the 10 Percent Penalty
The 10 percent penalty on the earnings portion has several exceptions. The earnings are still taxed as ordinary income in each case; only the penalty falls away.
- Separation from service at 55 or older: if you leave the job during or after the calendar year you turn 55, distributions from that employer’s plan are penalty-free. Public safety employees of state or local governments get the same treatment starting at age 50.7Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions
- Permanent and total disability.4Office of the Law Revision Counsel. 26 USC 402A – Optional Treatment of Elective Deferrals as Roth Contributions
- Terminal illness certified by a physician.7Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions
- Substantially equal periodic payments based on life expectancy. Once started, the payments have to continue for at least five years or until age 59½, whichever comes later.2Office of the Law Revision Counsel. 26 USC 72 – Annuities; Certain Proceeds of Endowment and Life Insurance Contracts
- Domestic abuse victim distributions of up to the lesser of $10,000 or 50 percent of the account balance, effective in 2024.7Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions
- One emergency personal expense withdrawal of up to $1,000 per year, self-certified, starting in 2024. You cannot take another for three calendar years unless you repay the first.
- IRS levy against the account to collect tax debt.
The age-55 rule is worth pausing on because it only works inside an employer plan. Roll your Roth 401(k) into a Roth IRA before turning 59½ and that exception is gone. Think that through before automatically rolling over the moment you leave a job.
Roll to a Roth IRA to Get Contribution-First Ordering
The clean way around the pro-rata rule is to move the money into a Roth IRA. Once it is there, the ordering rules change: withdrawals come out as regular contributions first, then conversion and rollover amounts, and only then earnings.8Internal Revenue Service. Retirement Plans FAQs on Designated Roth Accounts You can access your contribution basis without touching earnings at all.
One catch surprises people. The Roth IRA’s five-year clock is separate from the Roth 401(k)’s. Time spent inside the employer plan does not count. But if you already had a Roth IRA open and funded before the rollover, that earlier clock applies to the rolled-over money too. Open a Roth IRA six years ago and be over 59½ at rollover, and the whole balance is immediately tax-free inside the IRA.8Internal Revenue Service. Retirement Plans FAQs on Designated Roth Accounts
If you do not yet have a Roth IRA, opening and funding one now, even with a small contribution, starts that clock running so it may be finished by the time you eventually roll over an employer balance.
A Plan Loan as an Alternative
If your plan offers loans, borrowing from your Roth 401(k) gets you cash without any distribution, tax, or penalty. The maximum is the lesser of $50,000 or half your vested balance, though a minimum loan of up to $10,000 is allowed even if that is more than 50 percent of the balance.2Office of the Law Revision Counsel. 26 USC 72 – Annuities; Certain Proceeds of Endowment and Life Insurance Contracts
Repayment generally runs no longer than five years with at least quarterly payments. Loans used to buy a primary residence can go longer at whatever term the plan sets.9Internal Revenue Service. Retirement Topics – Plan Loans The interest you pay goes back into your own account.
The risk is failing to repay on schedule or leaving the job with a balance still outstanding. Any unpaid amount is treated as a distribution, the pro-rata rule kicks in, the earnings portion becomes taxable, and the early withdrawal penalty may apply if you are under 59½.10Internal Revenue Service. Considering a Loan From Your 401(k) Plan A loan is often the cleanest tool for a short-term need you are confident you can repay. For anything uncertain, the risk of an accidental taxable event is real.
Withholding and Tax Forms
When the administrator processes a non-qualified distribution, the taxable portion is subject to mandatory 20 percent federal withholding if the money goes directly to you rather than into another eligible retirement plan.11Internal Revenue Service. 401(k) Resource Guide – Plan Participants – General Distribution Rules Withholding applies only to the earnings share; the contribution portion is not withheld against.
Form 1099-R arrives by the end of January following the distribution year. Box 1 shows the gross amount, Box 2a shows the taxable amount (the earnings portion), Box 5 shows your Roth contribution basis, and Box 11 reports the first year of your five-year period, which your preparer needs to determine whether the distribution qualifies for full exclusion.1IRS. Instructions for Forms 1099-R and 5498
State income tax withholding varies. Some states require it automatically, some let you opt out, and states without an income tax skip it. Ask the administrator what your state requires before you submit the distribution request so the net deposit matches what you expect.