Your Roth IRA basis is the total after-tax money you have put into the account: every direct contribution you have ever made, plus the taxable portion of any amounts you converted from a traditional IRA or workplace plan, minus any basis you have already withdrawn. To calculate it, you add those figures up from your own records, because the IRS does not maintain a running total for you. That number determines how much you can pull out tax-free and how the government treats every dollar that leaves the account.
What Counts Toward Your Basis
Two kinds of money build basis. The first is direct contributions: the deposits you make each year from your take-home pay or other after-tax funds. You already paid income tax on those dollars, so the IRS treats every withdrawal of contributions as a tax-free return of your own money.1Internal Revenue Service. Publication 590-B, Distributions from Individual Retirement Arrangements (IRAs)
The second is conversion amounts. When you move money from a traditional IRA or an employer plan into a Roth IRA, you pay income tax on the pre-tax portion at your current rate.2eCFR. 26 CFR 1.408A-4 – Converting Amounts to Roth IRAs Once that tax is paid, the entire converted amount becomes part of your basis. If any portion of what you converted was already after-tax money, such as nondeductible traditional IRA contributions, it also joins your basis without additional tax.
A spousal contribution builds basis the same way a regular one does. If you do not work but file jointly with a working spouse, you can contribute up to the annual limit as long as the couple’s combined taxable compensation covers both contributions.3Internal Revenue Service. Retirement Topics – IRA Contribution Limits
How to Calculate the Number
The formula is straightforward:
Total direct contributions + taxable portion of all conversions + after-tax portion of all conversions − any basis previously withdrawn = current basis.
Start with every direct Roth IRA contribution you have made in every year since opening the account. Add the full amount of every conversion (both the taxable slice, which became basis when you paid tax on it, and any after-tax slice that was basis to begin with). Then subtract any prior distributions the IRS treated as coming out of basis under the ordering rules described further down.
If you have never taken a distribution, the subtraction step disappears. Your basis is simply the sum of all contributions and all conversion amounts. The running total climbs in every year you add money and holds steady in years you do nothing.
One example helps with the conversion piece. Say you convert $50,000 from a traditional IRA, and $5,000 of that was already nondeductible after-tax money. The remaining $45,000 gets taxed as ordinary income during the conversion. Once you pay that tax, the entire $50,000 becomes basis in your Roth IRA.
The Records You Need to Pull It Together
Three documents do most of the work.
Form 5498. Your IRA custodian files this with the IRS each year by the end of May. Box 10 shows the total Roth IRA contributions you made for that tax year.4Internal Revenue Service. Form 5498 – IRA Contribution Information Adding Box 10 across every year of your account gives you your total contribution basis. Custodians are not required to provide a lifetime running total, so keep the forms.
Form 1099-R. Whenever you convert funds from a traditional IRA or employer plan into a Roth IRA, the distributing institution issues a 1099-R. Box 1 shows the total distributed, and Box 2a shows the taxable amount.5Internal Revenue Service. Instructions for Forms 1099-R and 5498 Those figures confirm how much of each conversion became taxable basis in the Roth.
Prior-year Forms 8606. If you have taken Roth distributions in earlier years, the Form 8606 filed with that year’s return shows the basis you used and the basis remaining. Line 22 of Part III carries your basis in Roth contributions from year to year.6Internal Revenue Service. Form 8606 – Nondeductible IRAs If you have taken prior distributions, the Basis in Regular Roth IRA Contributions Worksheet in the Form 8606 instructions walks you to the correct figure for line 22.7Internal Revenue Service. Instructions for Form 8606
Reporting Your Basis on Form 8606
You report the tax status of a Roth distribution using Part III of Form 8606, attached to your Form 1040 for the year of the withdrawal.7Internal Revenue Service. Instructions for Form 8606 Part III subtracts your basis from the total distributed to determine what, if anything, is taxable.
On line 22 you enter your total basis in Roth contributions, drawn from the records above.6Internal Revenue Service. Form 8606 – Nondeductible IRAs That figure is what proves the dollars leaving the account were already taxed. If you skip the reporting, the IRS may treat the entire distribution as taxable and, where applicable, tack on the 10 percent early withdrawal penalty. The burden of proof is entirely yours.
After the form runs, your remaining basis is updated for next time. Each distribution reduces the line 22 figure by whatever amount was treated as a return of contributions. Save every completed 8606 alongside your original contribution records so the audit trail runs the full life of the account.
How Withdrawals Draw Down Your Basis
You do not get to choose which dollars leave a Roth. Every distribution follows the same three-tier order:1Internal Revenue Service. Publication 590-B, Distributions from Individual Retirement Arrangements (IRAs)
- Direct contributions come out first. Always tax-free and penalty-free, regardless of your age or how long the account has been open.
- Conversion amounts come out second, oldest first. Within each conversion, the taxable portion is treated as withdrawn before the nontaxable portion.
- Earnings come out last, only after every dollar of basis has left.
This ordering system means your contribution basis is always accessible without tax, and earnings stay sheltered as long as possible. It also matters when you subtract prior distributions from your running total: the sequence dictates whether a past withdrawal drew from contributions, conversions, or earnings.
The IRS treats all Roth IRAs you own as a single combined account for ordering purposes.1Internal Revenue Service. Publication 590-B, Distributions from Individual Retirement Arrangements (IRAs) Even if you hold three accounts at three institutions, the ordering runs as if they were one. You cannot dodge the rules by pulling from a specific account.
When the Two Five-Year Rules Change What Your Basis Buys You
Basis is tax-free coming out. Whether the rest of your withdrawal escapes tax and penalty depends on two separate five-year rules that people frequently mix up.
The Account-Level Rule
The first rule decides whether earnings can be withdrawn completely tax-free. A distribution is qualified, meaning contributions and earnings both come out with zero tax, only if two conditions are satisfied: the account has been open for at least five tax years, and you are 59½ or older, permanently disabled, a beneficiary receiving funds after the owner’s death, or using up to $10,000 for a first-time home purchase.8Office of the Law Revision Counsel. 26 USC 408A – Roth IRAs The clock starts on January 1 of the first tax year you made any Roth contribution, and it only needs to be satisfied once in your lifetime.
The Conversion-Level Rule
The second rule applies to conversion amounts specifically. Each conversion carries its own five-year holding period, starting on January 1 of the year the conversion happened.8Office of the Law Revision Counsel. 26 USC 408A – Roth IRAs Withdraw the taxable portion of a conversion inside that five-year window while under 59½, and the IRS applies the 10 percent early withdrawal penalty, even though the conversion amount is part of your basis.2eCFR. 26 CFR 1.408A-4 – Converting Amounts to Roth IRAs That rule stops someone from converting a large pre-tax balance and immediately pulling it out penalty-free. Once five years pass, or once you turn 59½, the penalty is off.
Direct contributions sit outside both rules. Your regular contribution basis can be withdrawn at any age, at any time, without tax or penalty.
Events That Adjust Your Basis
Several situations can add to, reduce, or complicate the running total. Track them as they happen.
Excess Contributions
If you contribute more than the annual limit or contribute when your income exceeds the phase-out, the excess is not basis. The IRS also imposes a 6 percent excise tax on the excess for every year it stays in the account.9Office of the Law Revision Counsel. 26 USC 4973 – Tax on Excess Contributions to Certain Tax-Favored Accounts and Annuities You can avoid the ongoing penalty by withdrawing the excess and any earnings on it before your tax-filing deadline (including extensions) for the year of the contribution. The excess itself comes out tax-free, but earnings on it are taxable for the year the contribution was made. Exclude the excess from your basis calculation entirely once it is removed.
Recharacterizations
If you recharacterize a Roth contribution as a traditional IRA contribution, the money leaves the Roth and no longer counts toward Roth basis. Note the event so you do not overstate your basis on Form 8606.
Backdoor Conversions and the Pro-Rata Rule
High earners past the Roth income limit often contribute to a nondeductible traditional IRA and convert it. The IRS does not let you pick which dollars to convert. It looks at the total balance across all your traditional, SEP, and SIMPLE IRAs and calculates the ratio of after-tax money to the total.2eCFR. 26 CFR 1.408A-4 – Converting Amounts to Roth IRAs With $5,000 in nondeductible contributions and $45,000 in pre-tax funds, only 10 percent of any conversion is treated as after-tax. Converting $10,000 makes $9,000 of it taxable. Either way, once tax is paid, the full converted amount becomes Roth basis; the pro-rata rule only decides the tax you owe on the way in.
Inherited Roth IRAs
When you inherit a Roth IRA, you inherit the original owner’s basis. Contributions come out tax-free to you, and earnings are tax-free as long as the account met the five-year holding period before the owner’s death.10Internal Revenue Service. Retirement Topics – Beneficiary If the owner died before that clock ran out, earnings withdrawn from the inherited account may be taxable until the period completes. The same ordering rules apply.1Internal Revenue Service. Publication 590-B, Distributions from Individual Retirement Arrangements (IRAs) When multiple beneficiaries inherit one account, the original owner’s basis is divided proportionally.
Divorce Transfers
A Roth IRA transferred to a former spouse under a divorce or separation agreement is not a taxable event, either through renaming the existing account or through a trustee-to-trustee transfer.11Internal Revenue Service. Retirement Plans FAQs Regarding IRAs The receiving spouse takes on the transferred basis and tracks it from that point. An indirect rollover, where you receive the funds personally and then deposit them into your former spouse’s IRA, does not qualify.
If You’ve Lost Your Records
If contribution history has gone missing, a few tools help reconstruct it. You can request transcripts of past tax returns, wage and income statements, and tax account records through your IRS online account or by mailing Form 4506-T.12Internal Revenue Service. Get Your Tax Records and Transcripts The wage and income transcript includes the Form 5498 data your custodian reported, so you can see contribution totals year by year.
Contact your custodian too. Many institutions keep contribution records going back decades, even without providing a cumulative total. Request a year-by-year history for every Roth IRA you have ever held, and reach out to prior custodians if you have changed institutions.
Reconstruct as soon as you notice a gap. Without documentation to support a basis claim, the IRS can treat the entire withdrawal as taxable income and, if you are under 59½, add the 10 percent penalty. Filing Form 8606 in every year you take a distribution keeps the paper trail current.