You do not pay capital gains tax on profits inside your Roth IRA, no matter how much your investments grow
When you buy a stock, bond, or fund inside a Roth IRA and it goes up in value, you owe zero federal tax on that gain—even if you sell it for double what you paid. This is the core advantage of a Roth: growth happens tax-free. The IRS does not tax the profit itself, the sale, or the reinvestment of those gains back into new holdings.
This applies to any investment inside the account. If you buy a fund for $5,000 and it becomes $15,000, that $10,000 gain is yours to keep without a capital gains bill. You can sell and buy again inside the account as many times as you want without triggering any tax event. The only tax rule that matters for a Roth is what happens when you take money out—and that depends on whether you follow the withdrawal rules.
Key Takeaways
- Investment gains inside a Roth IRA are never taxed, whether you hold for one year or thirty years.
- You can buy and sell investments within the account without paying capital gains tax on the profits.
- Taxes only apply when you withdraw money, and only if you break the withdrawal rules before age 59½.
- The tax-free growth applies to all types of investments: stocks, bonds, funds, real estate investment trusts, and most other assets.
- This tax-free treatment is permanent as long as the money stays in the Roth account.
Why the Roth avoids capital gains tax entirely
A Roth IRA is a tax-sheltered account. The IRS treats everything inside it as a protected space where normal investment taxes do not apply. You already paid income tax on the money you put in (that is why it is called "after-tax" contributions), so the government does not tax you again on the growth.
This is different from a regular brokerage account, where you would owe capital gains tax on profits when you sell. In a brokerage account, the IRS taxes short-term gains (held under one year) as ordinary income and long-term gains (held over one year) at a lower rate. Inside a Roth, neither rate applies—the tax is zero.
The protection extends to dividends and interest too. If your Roth holds dividend-paying stocks or bonds that pay interest, those payments are reinvested tax-free. You do not receive a 1099 form for any of it, and you do not report it on your tax return.
What happens when you withdraw money from your Roth
The tax-free growth only stays tax-free if you follow the withdrawal rules. The basic rule is simple: you can withdraw your contributions (the money you put in) at any time, tax-free and penalty-free. The gains are where the rules tighten.
If you withdraw gains before age 59½ and before the account has been open for five years, you owe income tax on those gains plus a 10% early withdrawal penalty. If you are over 59½ but the account is less than five years old, you owe income tax but not the penalty. Once you are 59½ and the account has been open for five years, you can withdraw everything—contributions and gains—completely tax-free.
The five-year rule applies to the account itself, not to each contribution. If you opened your first Roth IRA in 2020, all your Roth accounts (you can have multiple) count toward that five-year clock. Once 2025 arrives, the five-year requirement is met for all of them.
How to track contributions versus gains in your Roth
You need to know how much you contributed versus how much you earned, because the IRS taxes them differently if you withdraw early. The easiest method is to keep a simple record: write down every contribution you make and the date you make it.
Your Roth provider (Fidelity, Vanguard, Schwab, or your bank) will send you a year-end statement showing contributions and account value, but it does not always break out gains clearly. The IRS Form 5498 shows contributions only, not earnings. You are responsible for tracking the difference yourself.
If you have made contributions over multiple years, use the "first in, first out" rule: withdrawals are assumed to come from your oldest contributions first. If you contributed $6,000 per year for three years and your account is now worth $25,000, your first $18,000 in withdrawals are contributions (tax and penalty-free). Anything above that is gains and subject to the early withdrawal rules.
Roth conversions and the pro-rata rule
If you convert money from a traditional IRA to a Roth, the capital gains inside the Roth are still tax-free going forward. However, the conversion itself is a taxable event: you owe income tax on the amount you convert in that year.
There is also a pro-rata rule that affects conversions. If you have both traditional and Roth IRAs, the IRS treats them as one pool for tax purposes. If you convert $10,000 from a traditional IRA to a Roth, but you also have $40,000 in a traditional IRA elsewhere, the IRS assumes 80% of the conversion is pre-tax money (taxable) and 20% is after-tax money (not taxable). This can create an unexpected tax bill if you are not careful.
Once the conversion is complete and the money is in the Roth, the tax-free growth rule applies from that point forward. Any gains after the conversion date are never taxed.
Special cases: inherited Roths and employer Roth 401(k)s
If you inherit a Roth IRA from someone else, the tax-free growth continues, but the withdrawal rules change. You must begin taking distributions, though the timeline depends on your relationship to the original owner and when they died. The gains remain tax-free as long as the account stays a Roth.
A Roth 401(k) through your employer works the same way: gains inside the account are never taxed. However, Roth 401(k)s have required minimum distributions (RMDs) starting at age 73, while Roth IRAs do not. If you leave your job, you can roll a Roth 401(k) into a Roth IRA to avoid RMDs.
Frequently Asked Questions
Do I owe capital gains tax if I sell a stock inside my Roth IRA for a profit?
No. Any profit from selling investments inside a Roth IRA is tax-free. You can buy and sell as many times as you want without owing capital gains tax. The tax-free treatment applies to the sale itself and to any reinvestment of the proceeds.
What if my Roth IRA loses money—can I claim a capital loss?
No. You cannot deduct losses from a Roth IRA on your tax return. The account is tax-sheltered in both directions: gains are not taxed, but losses cannot be used to offset other income or gains. This is one trade-off of the tax-free growth.
Do I have to report Roth IRA gains on my tax return?
No. You do not report any gains, dividends, or interest earned inside a Roth IRA on your tax return. The account is invisible to the IRS until you withdraw money. You only report withdrawals if they include gains and you take them before age 59½ and the five-year rule is not met.
If I withdraw only my contributions, do I owe tax on the gains I leave behind?
No. The gains you leave in the account continue to grow tax-free. You only owe tax on gains you actually withdraw, and only if you break the withdrawal rules. Gains that stay in the account are never taxed.
Can I avoid the five-year rule by rolling my Roth IRA to another provider?
No. The five-year rule follows the account, not the provider. If you opened your Roth in 2022 and roll it to a different bank in 2024, the five-year clock still started in 2022. Rolling does not reset the timer.