CPAFIRE

Roth IRA ordering rules: the IRS lines up your dollars like a cafeteria queue

By · Updated

TL;DR: Roth IRA withdrawals come out in a fixed order: regular contributions first, then conversions and rollovers oldest-first (taxable portion before nontaxable), and earnings last. All your Roth IRAs are treated as one for this. That order lets early retirees pull contributions any time with no tax or penalty.

Educational only, not tax, legal, or investment advice. Examples are illustrations, not predictions. Rules and limits change; verify current figures and talk to a qualified professional about your situation.

Some tax rules are mysterious. The Roth IRA ordering rules are refreshingly bossy: there's one line, everybody stands in it, and nobody cuts. Your dollars leave the account in a fixed order that you can't change, and, for once, the order is arranged in your favor.

This matters enormously for early retirees, because it turns years of Roth contributions into a penalty-free cash reserve. It also explains why a Roth conversion ladder works. Let's meet the queue.

CPA Warning Label: The ordering rules only help if you can prove what you put in. Your custodian doesn't track contribution basis for you; you do, with Form 8606 and old statements.

The official order

IRS Publication 590-B says to order Roth IRA distributions as follows:

  1. Regular contributions. The annual contributions you made; backdoor amounts are not in this layer, see below.
  2. Conversion and rollover contributions, on a first-in, first-out basis, earliest year first. Within each year, the taxable portion of the conversion comes out before the nontaxable portion.
  3. Earnings on contributions.

Rollovers from one Roth IRA to another are ignored for this purpose. And all your Roth IRAs are aggregated: if you have three Roth IRAs at three custodians, the IRS sees one big Roth for the ordering rules.

Why contributions first is such a big deal

Regular contributions were made with after-tax money, so taking them back out is never taxable and never subject to the 10% additional tax, at any age. Because they leave first, a withdrawal from a Roth IRA up to your total lifetime contributions is generally tax- and penalty-free, even if the account also holds conversions and earnings.

Illustration (assumptions): Larry, 42, contributed a total of $55,000 to Roth IRAs over ten years. The account is now worth $110,000 ($55,000 contributions, $55,000 earnings). He withdraws $30,000 for a roof replacement.

  • Entire $30,000 comes from contributions.
  • Tax: $0. Penalty: $0.
  • Remaining contribution basis: $25,000.

The catch: he's permanently used $30,000 of Roth space. Contributions withdrawn can't be put back except as a new annual contribution within that year's limit. The Roth is a reserve, but one with a one-way valve.

Where backdoor contributions land

This trips people up. A backdoor Roth contribution goes into a traditional IRA first, then is converted. So in the Roth IRA's ordering, it's a conversion, not a regular contribution. Usually its taxable portion is $0 (it was basis), so the conversion clock has nothing to penalize, but it sits in the conversion layer, after all your regular contributions.

Similarly, after-tax 401(k) money rolled to a Roth IRA (as in a mega backdoor) generally comes in as a rollover with a nontaxable basis component. Track it separately.

The conversion layer and the five-year clocks

Each conversion year is its own layer, and layers come out oldest first. Within a layer, the taxable part comes before the nontaxable part. If you're under 59½ and withdraw a layer's taxable part within five years of January 1 of its conversion year, the 10% additional tax applies to that part unless an exception applies (see five-year rules).

LayerExample amountPenalty-free before 59½?
Regular contributions$40,000Always
2026 conversion (taxable)$35,000From Jan 1, 2031
2027 conversion (taxable)$35,000From Jan 1, 2032
Earningswhatever's leftGenerally taxable and penalized until qualified

Illustration: a full ladder withdrawal plan

Illustration (assumptions): Fran retired at 44 in 2026. She has $40,000 of Roth contributions, a $500,000 traditional IRA and a $150,000 taxable brokerage account. She spends $45,000 a year and converts $40,000 a year from 2026 on.

  • 2026–2028: spends $135,000 from taxable brokerage, leaving about $15,000 (ignoring growth to keep it simple).
  • 2029: taxable runs low; she pulls all $40,000 of Roth contributions plus $5,000 of taxable money. No tax or penalty on the Roth part.
  • 2030: a gap year: the 2026 conversion isn't ripe until January 1, 2031. She uses the last $10,000 of taxable money plus $35,000 of part-time income.
  • 2031 onward: each year she withdraws the conversion layer from five years earlier.

Notice the stress point in year five. Most ladder plans have it. The ordering rules mean contributions can plug the gap, which is why some FIRE planners treat years of Roth contributions as the "emergency rung." Run your own version with the Roth ladder planner.

The aggregation rule's quirks

  • All your Roth IRAs are combined, so you can't pick "the Roth IRA with only contributions" to withdraw from. The IRS looks at the total.
  • Roth 401(k) accounts are not part of this aggregation. Distributions from a designated Roth account inside a plan follow different, pro-rata rules if they're not qualified. Rolling a Roth 401(k) into a Roth IRA brings the money under the friendlier IRA ordering rules; the contribution portion of the rolled-over amount generally becomes contribution basis in the Roth IRA.
  • Spouses don't aggregate. Each person's Roth IRAs are their own queue.

Recordkeeping: proving your place in line

The ordering rules work only if you can document your contribution basis. Your custodian's year-end statement shows the account value, not how much of it was contributed. Useful records:

  • Form 5498 for each year (shows Roth contributions and conversions reported by the custodian).
  • Form 8606 Part II for conversions and Part III for nonqualified distributions.
  • A one-page running ledger: year, contributions, conversions (taxable and nontaxable), withdrawals.

Form 8606 Part III is where you report a nonqualified Roth distribution and show, using your basis, that it came from contributions. Without records, you may end up arguing with your own past self, who was not taking notes.

Common mistakes with the ordering rules

  • Assuming the custodian's 1099-R tells the whole story. Code J on a 1099-R just means an early Roth distribution; it doesn't say whether it came from contributions. Form 8606 Part III is where that gets sorted out.
  • Counting excess contributions as basis. A contribution over the annual limit that was later removed isn't part of your contribution basis. Only contributions that stayed in count.
  • Double-counting a recharacterized contribution. A Roth contribution recharacterized to a traditional IRA is treated as if it was made to the traditional IRA. If you later convert it, it re-enters the Roth as a conversion, not a contribution.
  • Forgetting withdrawals already taken. Each withdrawal reduces your remaining contribution basis. A running ledger keeps the next withdrawal honest.

Illustration: Fran's ledger shows $40,000 of contributions and a $12,000 withdrawal in 2024. Her remaining contribution basis is $28,000, so a $30,000 withdrawal in 2027 would take $28,000 from contributions and $2,000 from her oldest conversion layer.

How this shapes a FIRE account strategy

Because contributions are always accessible, many early retirees view Roth IRA contributions made during their working years as doing double duty: long-term tax-free growth if untouched, and an emergency reserve if the bridge runs short. That makes Roth contributions especially appealing for people whose taxable account is thin. The flip side is opportunity cost: every dollar withdrawn stops compounding tax-free, permanently.

When ordering doesn't help

The ordering rules don't change the qualified-distribution rules for earnings. Once your contributions and conversions are exhausted, earnings come out taxable and (before 59½) penalized unless the distribution is qualified or an exception applies. A FIRE plan that dips into Roth earnings early is usually a sign the bridge was too short, not that the Roth failed.

FAQ

What order do Roth IRA withdrawals come out in?

Regular contributions first, then conversions and rollovers on a first-in, first-out basis with the taxable portion of each year first, then earnings. All of your Roth IRAs are combined for this ordering.

Can I take out Roth IRA contributions before 59½?

Yes. Regular contributions come out first and are never taxed or subject to the 10% additional tax.

Is a backdoor Roth a contribution or a conversion for ordering?

A conversion. It goes into a traditional IRA and is converted, so it sits in the conversion layer after your regular contributions.

Do Roth 401(k) balances count in the Roth IRA ordering rules?

No. Designated Roth accounts in employer plans have their own rules. They join the IRA ordering only after being rolled into a Roth IRA.

Which form reports nonqualified Roth withdrawals?

Form 8606 Part III, which applies your contribution and conversion basis to the distribution.

Sources & fact-check notes

Figures checked October 25, 2026. Rules and limits change; verify with the official source before acting.