How Roth IRA Gains Avoid Taxes—and Why That Matters
You pay no federal income tax on Roth IRA investment gains, ever
The core rule is simple: money your investments earn inside a Roth IRA—whether from stock appreciation, dividends, or interest—is never taxed by the federal government. Not when the gains happen. Not when you withdraw them. Not at any point. This is the defining feature that separates a Roth from a traditional IRA, where gains are taxed as ordinary income when you take the money out.
The tax-free growth applies to all types of investment gains. If you buy a stock for $1,000 and it grows to $5,000, that $4,000 gain is tax-free. If you hold dividend-paying stocks or bonds that generate interest, those earnings are tax-free. If you own mutual funds that distribute capital gains, those distributions are tax-free inside the Roth. The only money you ever pay tax on is the original contribution itself—and only if you contributed pre-tax dollars to a traditional IRA and converted it to a Roth, which is a separate transaction with its own tax rules.
Key Takeaways
- Investment gains inside a Roth IRA are never subject to federal income tax, regardless of how large they grow or how long you hold them.
- You can withdraw your original contributions tax-free at any age, but withdrawing gains before age 59½ typically triggers a 10% penalty plus income tax on the earnings portion.
- The tax-free growth benefit compounds over decades, making Roth accounts especially valuable for younger savers with long time horizons.
- State income tax treatment of Roth IRAs varies—some states tax Roth gains while others do not, so check your state's rules.
- Roth conversions from traditional IRAs create a one-time tax bill in the year you convert, but future growth on the converted amount is tax-free.
Why the tax-free treatment applies to gains but not contributions
The IRS allows tax-free growth on Roth gains because you funded the account with after-tax dollars. You already paid income tax on the money you contributed. The government's position is that it would be unfair to tax you again on the earnings that money generates. In contrast, traditional IRA contributions are often tax-deductible, so the IRS taxes you on the full amount—contributions plus gains—when you withdraw.
This distinction matters when you withdraw money. If you take $10,000 out of your Roth and $6,000 of it is your original contribution and $4,000 is gains, the $6,000 comes out completely tax-free. The $4,000 in gains is also tax-free, as long as you meet the withdrawal rules. With a traditional IRA, that same $10,000 withdrawal would be taxed as ordinary income in full, because none of it was taxed when you put it in.
The withdrawal rules that protect your tax-free gains
To withdraw your Roth gains tax-free, you must satisfy two conditions: you must be at least 59½ years old, and your Roth account must have been open for at least five tax years. The five-year rule is per account, not per person—if you open a new Roth IRA, the clock restarts. The five years are measured from January 1 of the year you first contributed to any Roth IRA, not from the date of your first deposit.
If you withdraw gains before meeting both conditions, the gains portion is taxed as ordinary income, and you owe a 10% early withdrawal penalty on top. Your original contributions can always come out penalty-free and tax-free, regardless of age or account age, because you already paid tax on that money. But the gains are locked until you hit 59½ and the five-year mark.
There are narrow exceptions to the 10% penalty—disability, medical expenses above 7.5% of adjusted gross income, and a few others—but these exceptions do not eliminate the income tax on the gains themselves. They only waive the penalty. The gains are still taxable income in the year you withdraw them.
How state income tax can affect your Roth gains
Federal tax law treats Roth gains as tax-free, but your state may not. Most states follow federal law and do not tax Roth IRA gains. However, a small number of states—including Pennsylvania, New Jersey, and a few others—tax retirement account withdrawals, including Roth withdrawals, as ordinary income. The rules vary by state and sometimes by the type of withdrawal.
If you live in a state that taxes retirement income, you may owe state income tax on your Roth gains even though you owe no federal tax. The amount depends on your state's tax rate and your total income for the year. If you are planning a large Roth withdrawal or considering moving to a new state in retirement, check your state's current rules on retirement account taxation, because they can shift with new legislation.
The compounding advantage of tax-free growth over decades
The real power of Roth tax-free gains emerges over time. Imagine two investors, each starting at age 30 with $7,000 to invest. One uses a traditional IRA and pays 24% tax on withdrawals at 65. The other uses a Roth. Assume both earn 7% annually for 35 years. The traditional IRA grows to roughly $94,000 before tax, leaving about $71,000 after the 24% withdrawal tax. The Roth grows to $94,000 and stays $94,000—no tax at withdrawal. The difference is $23,000 in tax savings, and that gap widens if tax rates rise or if the account grows larger.
This advantage is most pronounced for younger savers, because they have more years for compound growth to work. A 25-year-old with 40 years until retirement benefits far more from tax-free growth than a 55-year-old with 10 years left. It is also more valuable if you expect to be in a higher tax bracket in retirement or if you expect tax rates to rise nationally.
Roth conversions and the tax bill in the conversion year
If you convert money from a traditional IRA to a Roth, you owe federal income tax on the amount converted in the year you do it. This is a one-time tax event. After the conversion, all future growth on that converted amount is tax-free, just like any other Roth gain. The tax you pay on the conversion is calculated as ordinary income, using your tax bracket for that year.
For example, if you convert $50,000 from a traditional IRA to a Roth and you are in the 22% tax bracket, you owe roughly $11,000 in federal income tax that year. The $50,000 is now in the Roth and grows tax-free forever. If it doubles to $100,000 over the next 20 years, that $50,000 in gains is never taxed. The conversion itself is a strategic decision—it makes sense if you expect higher tax rates later or if you want to lock in current rates—but it does create an immediate tax bill.
Inherited Roth IRAs and the tax treatment of gains
If you inherit a Roth IRA from a spouse, you can treat it as your own, and the tax-free growth rules apply as normal. If you inherit a Roth from a non-spouse—a parent, sibling, or other relative—the account is still tax-free, but you must withdraw it within 10 years under current rules (as of 2024). The gains remain tax-free as long as the original account holder had satisfied the five-year rule. If the original owner had not yet met the five-year requirement, you inherit that waiting period, and gains withdrawn before the five years are up are taxable to you.
Inherited Roth accounts are a valuable estate planning tool because they pass tax-free growth to the next generation. However, the withdrawal timeline is compressed, so beneficiaries should plan accordingly.
Frequently Asked Questions
Do I owe taxes on Roth IRA gains if I never withdraw them?
No. Gains that stay in the account are never taxed, whether you withdraw them or not. The tax-free treatment applies to the growth itself, not just to withdrawals. You could leave a Roth untouched for 50 years, and the gains would accumulate tax-free the entire time.
What happens if I withdraw only the gains and leave my contributions in?
If you withdraw only gains before age 59½ or before the five-year rule is met, those gains are taxed as ordinary income and subject to the 10% early withdrawal penalty. Your contributions remain in the account and can be withdrawn anytime tax-free. The IRS treats withdrawals as coming from contributions first, then gains, so you must document which portion you are taking out.
Are Roth IRA gains subject to the net investment income tax?
No. The 3.8% net investment income tax applies to certain high-income taxpayers, but it does not apply to gains inside retirement accounts, including Roth IRAs. The tax only applies to investment income outside retirement accounts.
If I convert a traditional IRA to a Roth, do I pay tax twice?
You pay tax once, on the conversion itself. You owe income tax on the amount you convert in the year you convert it. After that, all future growth is tax-free. You do not pay tax again when you withdraw the converted amount or its gains later.
Can I avoid the conversion tax by spreading it over multiple years?
You can do multiple conversions in different years to spread the tax bill across years and potentially stay in a lower tax bracket each year. Each conversion is a separate taxable event in the year it occurs. This is a common strategy for people who want to convert gradually without triggering a large tax bill in a single year.