Roth IRA Ordering Rules: Which Dollars Are Taxed
A Roth IRA can hold three distinct categories of money: regular annual contributions, converted amounts rolled in from a traditional IRA or employer plan, and investment earnings accumulated inside the account. Federal tax law does not treat a withdrawal as a single undifferentiated sum. Instead, the Internal Revenue Code imposes a fixed ordering sequence that determines which category is considered withdrawn first — and therefore whether any portion of a distribution is includable in gross income or subject to an early-distribution penalty.
This ordering mechanism is one of the more counterintuitive features of how Roth and traditional IRA tax treatment differs from each other. In a traditional IRA, the central question is usually whether a contribution was deducted; in a Roth IRA, the question is layered — the account owner's age, the account's age, the source of each dollar, and how long each conversion has been in the account all interact before any tax liability is determined.
Explore independent investment research, ratings, portfolio tools and market insights to help you make more informed investing decisions.
The Fixed Sequence: Contributions, Conversions, Then Earnings
Under Internal Revenue Code Section 408A and the regulations under it, distributions from a Roth IRA are treated as coming from each layer in a specific order. Contributions come out first. Because Roth IRA contributions are made with after-tax dollars, this layer is never subject to income tax or the 10% early-distribution penalty regardless of the account owner's age or how long the account has been open. The IRS treats all Roth IRA contributions across all of an individual's Roth IRA accounts as a single aggregated pool for this purpose.
The second layer consists of conversion amounts. When a traditional IRA or pre-tax employer-plan balance is converted to a Roth IRA, the converted amount was already included in gross income in the year of conversion (or, in the case of basis tracked on Form 8606, the non-deductible portion was excluded). These conversion dollars are ordered by vintage — the oldest conversion is treated as withdrawn before more recent ones. Each conversion carries its own five-year holding period for purposes of the 10% penalty. If a conversion amount is withdrawn before five years have elapsed from the first day of the tax year in which the conversion occurred, and the account owner is under age 59½, the 10% additional tax applies to that converted amount even though it was already included in income at the time of conversion. The mechanics of IRA rollover basis rules after conversion determine exactly which portion of a converted amount was previously taxed and which, if any, carries remaining basis.
The third and final layer is earnings — the investment growth generated inside the account. Earnings are the last dollars considered withdrawn. They are subject to income tax and potentially the 10% early-distribution penalty unless the distribution qualifies as a qualified distribution under Roth IRA rules. A distribution is qualified when the account has been open for at least five tax years and the account owner is age 59½ or older (or meets another qualifying exception such as death, disability, or a first-time home purchase up to the statutory limit). When a distribution is qualified, earnings come out entirely free of federal income tax.
The five-year clock for qualified distributions starts on January 1 of the first tax year for which any Roth IRA contribution — whether a regular contribution or a conversion — was made. This clock is separate from the per-conversion five-year clocks that govern the penalty on conversion amounts. An account owner can therefore have a situation where the qualified-distribution clock has run but a specific conversion's penalty clock has not, or vice versa.
The ordering rules apply across all of an individual's Roth IRA accounts in aggregate. A withdrawal from one Roth IRA is not evaluated in isolation; the total contributions ever made and not yet withdrawn, and the total conversion amounts by vintage, are tracked cumulatively. This aggregation requirement is what makes Roth IRA basis tracking at withdrawal a multi-account exercise rather than an account-by-account calculation.
Who Tracks and Reports Each Layer
The custodian of a Roth IRA — typically a brokerage or bank acting in that administrative capacity — reports gross distributions on Form 1099-R. The distribution code in Box 7 indicates whether the custodian has determined the distribution to be qualified or non-qualified, but the custodian does not track the account owner's contribution history across multiple institutions, nor does it calculate the ordering-rule breakdown on the owner's behalf.
The burden of tracking contributions, conversion vintages, and the running basis falls on the account owner, who reports that information annually on IRS Form 8606. Part III of Form 8606 is specifically designed for Roth IRA distributions and walks through the ordering-rule calculation: total basis in contributions, total basis in conversions by year, and the resulting taxable and non-taxable amounts. If Form 8606 has not been filed in prior years when it was required, the historical record may be incomplete, creating a documentation problem at the point of distribution.
The IRS itself does not maintain a running ledger of an individual's Roth IRA basis. The agency relies on the taxpayer's own filings. When a discrepancy arises — for example, when a distribution is reported as non-taxable but no Form 8606 history supports that treatment — the IRS may treat the entire distribution as taxable absent documentation to the contrary.
Where the Ordering Rules Produce Unexpected Results
The most common misreading of the ordering rules involves the penalty on conversion amounts. Because a conversion was already taxed at the time it was made, account owners sometimes assume no further tax consequence can arise. The penalty, however, is not a second income tax — it is an additional tax imposed specifically for early access to retirement funds. A conversion amount withdrawn within five years of the conversion year, by someone under 59½, triggers the 10% additional tax on that amount even though income tax was already paid. The penalty applies to the amount that was includable in income at conversion, not to any basis portion that was excluded.
A second friction point arises when an account owner holds multiple Roth IRAs at different custodians and does not aggregate them correctly. Because the ordering rules operate across all Roth IRAs in aggregate, withdrawing from one account without accounting for the full picture across all accounts can lead to an incorrect Form 8606 calculation — either overstating the non-taxable portion or missing a penalty-triggering conversion withdrawal.
The interaction between the qualified-distribution five-year clock and the per-conversion five-year clock also generates confusion. An account opened with a conversion in year one and a regular contribution in year two starts the qualified-distribution clock in year one. But if a second conversion is made in year four, that conversion has its own five-year penalty window running from year four, independent of the qualified-distribution clock. A distribution in year six might be a qualified distribution for purposes of the earnings exclusion, yet still trigger a penalty on the year-four conversion amount if the account owner is under 59½.
Recharacterization — the ability to undo a Roth contribution and treat it as a traditional IRA contribution — was eliminated for conversions by the Tax Cuts and Jobs Act of 2017. Prior to that change, account owners could reverse a conversion that had declined in value. That option no longer exists for conversions, which means a conversion that loses value post-conversion cannot be unwound; the income tax paid at conversion is not recoverable through recharacterization.
What Form 8606 and the 1099-R Show — and What They Do Not
Form 1099-R, issued by the custodian, shows the gross amount distributed, the taxable amount if the custodian determined it, and a distribution code indicating the type of distribution. For Roth IRA distributions, custodians frequently report the taxable amount as unknown (Box 2b checked) because they do not have access to the account owner's full contribution and conversion history across all institutions. The form does not show the breakdown between the contributions layer, the conversions layer, and the earnings layer.
Form 8606, Part III, is where the ordering-rule calculation is performed and documented. Line by line, it accounts for the total basis in Roth IRA contributions as of the end of the prior year, adds current-year contributions, subtracts prior distributions of basis, and arrives at the remaining contribution basis available to be applied to the current distribution. A separate section addresses conversion basis. The completed form produces the taxable and non-taxable amounts that flow to the income tax return.
What neither form shows is the running five-year clock status for each conversion vintage. That information exists only in the taxpayer's own records — the tax returns from the years in which conversions were made. A taxpayer who cannot produce prior-year returns showing when each conversion was made cannot readily demonstrate to the IRS that a conversion's five-year penalty window has closed.
Account statements from the custodian show the current balance and transaction history within that account, but they do not distinguish between contribution basis, conversion basis by vintage, and accumulated earnings in a way that maps directly onto the Form 8606 calculation. The statement balance at any point in time is a single number; the ordering-rule layers that determine the tax treatment of a withdrawal from that balance are maintained separately in the taxpayer's filing history.
The Roth IRA ordering rules reflect a legislative design choice to favor access to contributed principal over accumulated growth, but the mechanics that implement that design — aggregation across accounts, dual five-year clocks, per-conversion penalty windows, and taxpayer-maintained basis records — produce a system whose actual operation is substantially more layered than the common shorthand of "Roth withdrawals are tax-free" suggests.
Sources
Note: This explains how a retirement system works. It is not financial, tax, or legal advice, it is not specific to any individual's retirement, and it is not a substitute for a licensed financial, tax, or legal professional. Rules, ages, and dollar limits change by year — check the cited sources.