Mega backdoor Roth withdrawal rules depend on where the money sits. In a Roth IRA, after-tax contributions rolled in come out before earnings, free of tax and the 10% penalty at any age; only the taxed slice faces a 5-year recapture. In a Roth 401(k), every nonqualified withdrawal is pro rata, so each dollar carries taxable earnings.
That split comes from two different code sections. Roth IRAs follow the stacking order in IRC section 408A(d)(4)(B). A designated Roth account inside a 401(k) is treated as a separate annuity contract and taxed under the pro rata formula in IRC section 72(e)(8). The same $46,000 of after-tax money can therefore come back out tax-free in one wrapper and partly taxable in the other. How to get after-tax money into a Roth in the first place is covered in the guide to the mega backdoor Roth for high earners; this page covers only the trip back out.
In a Roth IRA, what order do mega backdoor dollars come out in?
A Roth IRA pays out in a fixed sequence under Treas. Reg. 1.408A-6, Q&A-8: regular contributions first, then conversion and rollover contributions oldest year first, and earnings last. Within each year’s rollover, the portion that was taxed comes out before the portion that was not. After-tax 401(k) money rolled directly into a Roth IRA is that untaxed portion.
Talk With Craig Wear's Team
Craig has helped IRA millionaires save over $1 million each in unnecessary taxes. Find out if a Roth conversion strategy fits your retirement, with no sales pressure and no product pitch.
Mapped onto mega backdoor money, the layers stack like this from the top of the account down:
- Regular Roth IRA contributions (the $7,500 annual limit for 2026, $8,600 at 50+). Always tax-free and penalty-free. A backdoor Roth IRA is not in this layer: it is a conversion from a traditional IRA and joins the conversion layer for its year.
- Each year’s rollovers and conversions, earliest year first. Inside one year’s layer, the taxable slice (pre-conversion earnings that were reported as income) comes out first, then the nontaxable slice (the after-tax contributions themselves), per Q&A-8(b).
- Earnings that grew inside the Roth IRA. Taxable and subject to the 10% additional tax unless the distribution is qualified or an exception applies.
Two aggregation rules in Q&A-9 matter for people who convert every paycheck. All Roth IRAs a person owns count as one, and every rollover received during the same calendar year is combined into one layer. Twenty-six payroll rollovers in 2026 therefore form a single 2026 layer with a single recapture clock starting January 1, 2026. The ordering is also measured as of December 31, so a withdrawal in March and a rollover in November of the same year are netted together.
The basis for this layer is tracked on Form 8606, Part III. Line 22 holds basis in regular contributions; line 24 holds basis in conversions and in rollovers from qualified plans, which is where after-tax 401(k) money rolled to a Roth IRA lands. A household that has never filed Part III should reconstruct that line 24 figure from each year’s Form 1099-R before the first withdrawal, because the taxpayer, not the custodian, carries that figure forward from year to year. The Form 8606 line-by-line guide shows how those lines carry forward.
In a Roth 401(k), why does a $30,000 withdrawal still carry taxable earnings?
A nonqualified distribution from a Roth 401(k) is split between basis and earnings in the same ratio as the whole account, under Treas. Reg. 1.402A-1, Q&A-3 and IRC 72(e)(8). There is no “contributions first” layer. If earnings are 10.7% of the Roth 401(k) balance, 10.7% of any nonqualified withdrawal is earnings.
Three details from the regulations and IRS notices shape the result for mega backdoor money that was converted inside the plan:
- One contract per plan. Q&A-9 of the same regulation treats all of an employee’s designated Roth money in one plan as a single contract, so Roth deferrals, in-plan converted after-tax money and their earnings all share one ratio. A participant cannot ask the plan to pay only from the converted after-tax subaccount and escape the earnings.
- Basis includes the taxed conversion amount. If $4,000 of pre-conversion earnings was taxed at conversion, that $4,000 joins the $46,000 of after-tax contributions as investment in the contract: $50,000 of basis in total.
- Recovered basis is assigned to the taxable conversion amount first. Notice 2010-84, Q&A-13 says basis recovered from a designated Roth account is attributed to in-plan Roth rollovers first in, first out, and within each rollover to the taxable amount first. That is the slice exposed to 5-year recapture, so a Roth 401(k) withdrawal can owe the 10% additional tax on both the pro rata earnings and the recaptured conversion amount at once.
The general mechanics of Roth 401(k) distributions, including the two-prong test for qualified distributions, are covered in the guide to Roth 401(k) withdrawal rules.
Which 5-year clock applies to mega backdoor money, and which one does the after-tax basis escape?
Mega backdoor money can be touched by three separate 5-year clocks, but the after-tax contributions themselves are outside the recapture clock entirely. IRC 408A(d)(3)(F)(ii) limits recapture to the amount of the rollover that was includible in gross income, and Treas. Reg. 1.408A-6, Q&A-5(b) repeats it: only the amount included in income because of the conversion is taken into account.
| Clock | Starts | What it governs for mega backdoor money |
|---|---|---|
| Roth IRA qualified-distribution clock | January 1 of the year of the first contribution or conversion to any Roth IRA (Reg. 1.408A-6 Q&A-2) | Whether Roth IRA earnings come out tax-free after 59½. One clock per person, never restarted. |
| Recapture clock, one per conversion year | January 1 of the rollover or conversion year (Reg. 1.408A-6 Q&A-5(c)) | 10% additional tax on the taxed slice only (for example, the $4,000 of pre-conversion earnings). The $46,000 of after-tax basis is never exposed. |
| Roth 401(k) participation clock | January 1 of the first designated Roth contribution to that plan; an in-plan Roth rollover starts it (Notice 2013-74, Q&A-8) | Whether a Roth 401(k) distribution is qualified. It does not transfer to a Roth IRA (Reg. 1.408A-10 Q&A-4). |
That limitation corrects a claim repeated on several ranking pages: that mega backdoor contributions must “season” five years before they can be withdrawn without penalty. Under the statute, an after-tax contribution rolled to a Roth IRA in 2026 with zero earnings can be withdrawn in 2027 at age 45 with no tax and no 10% additional tax. The wider mechanics of the conversion clock are covered in the 5-year rule for Roth conversions.
What does a $30,000 withdrawal cost at 50, 57 and 62 in each wrapper?
In the Q3 calculation below, the Roth IRA paths cost $0 to $400 on a $30,000 withdrawal, while the Roth 401(k) paths cost $771 to $1,493, before any state tax. The difference is entirely the ordering rule: the Roth IRA reaches the $46,000 of after-tax basis first, while the Roth 401(k) mixes in earnings on every dollar.
The setup is one hypothetical saver who made $46,000 of after-tax 401(k) contributions in 2026 (the $72,000 section 415(c) limit, less the $24,500 deferral, less a $1,500 employer contribution). Path (a) converts immediately, so earnings at conversion are about zero. Path (b) waits 18 months, converting in 2027 with $4,000 of earnings, which adds $960 of federal tax at a 24% marginal rate in the conversion year. Each Roth balance then grows by $6,000 before a $30,000 withdrawal in 2029. The saver had no earlier Roth money in the plan or in any Roth IRA. The age-57 version separated from service in 2027, the year of turning 55.
| Where the money sits | Tax at conversion | Age 50 (still employed) | Age 57 (left job in year of 55) | Age 62 |
|---|---|---|---|---|
| (a) Roth IRA, rolled at once | $0 | $0 | $0 | $0 |
| (a) Roth 401(k), converted in plan at once | $0 | $831 tax + $346 penalty = $1,177 | $831 tax, no penalty | $831 tax, no penalty |
| (b) Roth IRA, all $50,000 rolled after 18 months | $960 | $400 penalty | $400 penalty | $0 |
| (b) Split per Notice 2014-54: $46,000 to Roth IRA, $4,000 to traditional IRA | $0 | $0 | $0 | $0 |
| (b) Roth 401(k), converted in plan after 18 months | $960 | $771 tax + $721 penalty = $1,493 | $771 tax, no penalty | $771 tax, no penalty |
Q3 calculation using 2026 IRS figures; hypothetical household. Federal only, 24% marginal rate assumed. “Penalty” is the 10% additional tax under IRC 72(t), including 5-year recapture. Script: layers_mega-backdoor-roth-withdrawal-rules.py.
Three patterns stand out under 2026 rules. First, a Roth IRA holding only after-tax basis produces a $0 cost at every age, because $30,000 never reaches past the $46,000 basis layer. Second, the age-62 Roth 401(k) rows still show tax: the plan’s participation clock started in 2026 or 2027, so a 2029 distribution is not qualified even after 59½, and the pro rata earnings are taxable. Had the saver made any Roth deferral to the same plan in 2024 or earlier, the 2029 withdrawal would be qualified and every row at 62 would read $0. Third, waiting 18 months to convert costs $960 up front and, in a Roth IRA, puts a $4,000 taxed slice at the very top of the stack, where it is the first money out.
Worked example: the age-50 saver on path (b) in the Roth 401(k)
The Roth 401(k) holds $56,000: $50,000 of basis ($46,000 after-tax contributions plus the $4,000 taxed at conversion) and $6,000 of earnings. A $30,000 nonqualified withdrawal in 2029 is split 50,000/56,000: $26,786 basis and $3,214 earnings. The $3,214 is ordinary income, about $771 at 24%. Under Notice 2010-84, Q&A-13, the $26,786 of recovered basis is attributed to the 2027 in-plan rollover, taxable amount first, so the full $4,000 is recaptured because 2029 falls inside the 2027 to 2031 window. The 10% additional tax applies to $3,214 plus $4,000, or $7,214, which is $721. Total federal cost: $1,493. The same saver on the Roth IRA path pays only the $400 recapture, and on the Notice 2014-54 split pays nothing, though the split leaves $4,000 in a traditional IRA.
Why does leaving a job in the year of turning 55 help the Roth 401(k) but not the Roth IRA?
The separation-from-service exception in IRC 72(t)(2)(A)(v) applies to distributions from an employer plan after separating in or after the year of turning 55, and section 72(t)(3)(A) switches it off for IRAs. The exception also covers 5-year recapture, because Reg. 1.408A-6, Q&A-5(b) states that the section 72(t) exceptions apply to recaptured amounts.
That is why the age-57 column in the table shows no penalty on either Roth 401(k) row but a $400 penalty on the Roth IRA path (b): the $4,000 taxed slice sits at the top of the Roth IRA stack, the 2027 recapture window runs through December 31, 2031, and the IRA cannot use the age-55 exception. Income tax on Roth 401(k) earnings still applies at 57, since the exception waives only the 10% additional tax. Eligibility details, including the age-50 or 25-years-of-service version for qualified public safety employees under IRC 72(t)(10), are in the guide to the rule of 55.
Does rolling the Roth 401(k) into a Roth IRA later reshuffle the layers?
Yes. Under Treas. Reg. 1.408A-10, Q&A-3, the basis portion of a Roth 401(k) rolled to a Roth IRA is treated as a regular Roth IRA contribution and the rest as earnings. In the path (b) example, $50,000 of Roth 401(k) basis would become the top, first-out layer of the Roth IRA, ahead of any conversion layers.
Two strings stay attached. Notice 2010-84, Q&A-12 says the 5-year recapture on the taxable amount of an in-plan Roth rollover does not apply to the rollover itself but does apply to later distributions from the receiving Roth IRA within the original 5-taxable-year period, and once the money is in an IRA the age-55 exception is gone. The Roth 401(k)’s years of participation also do not carry over: Reg. 1.408A-10, Q&A-4 runs the Roth IRA’s qualified-distribution clock from the earlier of the person’s first Roth IRA contribution or the year of the rollover. A household with a Roth IRA opened in 2021 or earlier already has that clock satisfied for 2026 withdrawals. For people still deciding between the two destinations, the comparison of in-plan Roth conversion rules covers the conversion-side trade-offs.
What happens to earnings that built up before conversion, and how does Notice 2014-54 split them?
Earnings that accrue in the after-tax subaccount before conversion are pre-tax money. Notice 2014-54 treats all disbursements scheduled at the same time as one distribution and lets the participant direct the pre-tax portion to a traditional IRA while the after-tax contributions go to a Roth IRA, so the $4,000 in path (b) never becomes conversion income.
The split has its own cost for some households. Once the $4,000 sits in a traditional IRA, it counts in the IRA aggregation rule of IRC 408(d)(2) for any future backdoor Roth IRA contribution, which can make part of that conversion taxable; the mechanics are in the explainer on the pro rata rule for Roth conversions. A plan can only distribute the after-tax subaccount on its own if it accounts for employee contributions as a separate contract under IRC 72(d)(2); the question for the plan administrator is whether an in-service distribution of after-tax money is drawn only from the after-tax source and its earnings, or pro rata from the entire vested balance.
Leaving after-tax money unconverted and withdrawing it straight from the 401(k) is a fourth path. That distribution is pro rata between after-tax contributions and their earnings under 72(e)(8), with the earnings share taxable and, before 59½ and without an exception, subject to the 10% additional tax. A $4,000 pre-tax portion converted to Roth is ordinary income in the conversion year, which also stacks on top of any separate Roth conversion of IRA money that year.
Frequently asked questions
Do required minimum distributions apply to mega backdoor money in a Roth 401(k) in 2026?
No. SECURE 2.0 section 325 added IRC 402A(d)(5), which switches off lifetime required minimum distributions for designated Roth accounts starting with 2024, as described in Internal Revenue Bulletin 2024-33. Mega backdoor money in a Roth 401(k) and in a Roth IRA is therefore free of RMDs while the owner is alive. Beneficiaries still face distribution rules after death.
Is a mega backdoor Roth withdrawal reported on Form 8606?
Only when it comes from a Roth IRA. Nonqualified Roth IRA distributions go on Form 8606, Part III, where line 24 holds the after-tax 401(k) basis that was rolled in. A Roth 401(k) distribution is reported by the plan on Form 1099-R, with basis in box 5 and the first year of the plan’s Roth clock in box 11, per the Form 1099-R instructions.
Can a mega backdoor Roth be tapped for a first home without tax?
In a Roth IRA, yes, within limits: a distribution after the 5-year clock that pays up to $10,000 of lifetime first-home costs is a qualified distribution under Reg. 1.408A-6, Q&A-1(b), so even earnings come out tax-free. The Roth 401(k) definition in Reg. 1.402A-1, Q&A-2 omits the first-home trigger, so that route is not available inside the plan.
Can money be withdrawn from the Roth 401(k) while still working for the employer?
Only if the plan allows it. Notice 2013-74, Q&A-3 keeps pre-conversion restrictions on amounts that were not otherwise distributable, and Q&A-6 lets a plan limit which sources can be converted or paid. The questions for the plan administrator: is the in-plan Roth rollover source open to in-service withdrawal before 59½, and is the payout pro rata across all Roth money?
What happens if the Roth account has lost value when the withdrawal is taken?
In a Roth IRA, nothing changes in the stack: a $30,000 withdrawal still comes from basis first, and a balance below total basis simply means no earnings exist to tax. In a Roth 401(k), IRC 72(e)(8) computes the ratio using the account balance at distribution, so if the balance is below the $50,000 of basis, the whole withdrawal is basis recovery and no earnings are taxable.
Methodology and sources. This page compiles primary documents: IRC sections 72, 402A and 408A (Cornell LII), Treas. Reg. 1.402A-1, 1.408A-6 and 1.408A-10, IRS Notices 2010-84, 2013-74 and 2014-54, IRS Publication 590-B (2025), the 2025 Form 8606 instructions and the Form 1099-R instructions. The withdrawal table was computed by a Python script applying those rules to a hypothetical household using 2026 IRS limits and an assumed 24% federal rate; it is an illustration, not a projection. Anonymous forum anecdotes were excluded because this is a tax topic where unverified claims can be costly.
This article is for educational purposes only and is not individualized investment, tax, or legal advice. Consult a qualified professional about your specific situation.