You don't pay taxes on capital gains inside a Roth IRA, ever — that's the whole point of the account
When you buy a stock, bond, or fund inside a Roth IRA and it goes up in value, you owe no federal income tax on that gain. Not when the gain happens. Not when you sell it. Not ever, as long as the money stays in the Roth. This is true whether your gain is $50 or $50,000. The IRS does not tax the growth itself — only what you take out, and even then, only under certain conditions.
This is different from a regular brokerage account, where you owe tax on capital gains the year you sell. It's also different from a traditional IRA, where you owe tax on withdrawals but not on the gains while the money sits there. A Roth flips that: you pay tax going in (on the contribution), then the growth is permanently tax-free.
Key Takeaways
- Capital gains inside a Roth IRA are never taxed by the federal government, no matter how large they grow or how long you hold the investment.
- You pay no tax when you sell an investment at a profit inside the Roth, and you pay no tax when you withdraw the gains in retirement.
- may have access to withdrawals — taken after age 59½ and at least five years after your first Roth contribution — come out completely tax-free, including all gains.
- Non-may have access to withdrawals of gains are taxed as ordinary income and may trigger a 10% penalty, but your original contributions always come out tax-free.
- The tax-free growth applies to all investments in the Roth: stocks, bonds, mutual funds, ETFs, and even real estate held through a self-directed Roth IRA.
How the Roth IRA shields gains from federal tax
The Roth IRA is structured as a tax-exempt account. The IRS does not tax the account itself on any income or gains it generates. When you buy a stock that pays dividends, you owe no tax on those dividends. When you sell a fund at a profit, you owe no tax on that profit. When interest accrues in a bond fund, you owe no tax on that interest. The account is a tax shelter — the growth happens in a protected space.
This is why the Roth is often called a "set it and forget it" account for long-term investors. If you buy a stock for $5,000 and it becomes $50,000 over 30 years, that $45,000 gain generates zero tax liability inside the Roth. You don't have to track it, report it, or pay estimated taxes on it. The IRS simply does not tax the account's internal activity.
What happens when you withdraw gains from a Roth
The tax treatment of your withdrawal depends on whether it is may have access to or non-may have access to. A may have access to withdrawal is one where you are at least 59½ years old and have held the Roth for at least five tax years (counting from January 1 of the year you made your first contribution). If both conditions are met, you withdraw everything — contributions and gains — completely tax-free.
A non-may have access to withdrawal is one that doesn't meet those conditions. Here's the key: your original contributions always come out tax-free, no matter when you withdraw them. But the gains are treated as ordinary income and taxed at your current tax rate. You may also owe a 10% penalty on the gains (though some exceptions exist, like withdrawals for a first home, disability, or medical expenses). The contributions themselves are never penalized.
For example, if you contributed $10,000 and the account grew to $15,000, and you withdraw at age 45, the $10,000 comes out tax-free. The $5,000 in gains is taxed as income and may be penalized. But if you wait until 59½ and the account has been open five years, all $15,000 comes out tax-free.
The five-year rule and when it resets
The five-year clock starts on January 1 of the tax year in which you make your first Roth contribution — not the date you open the account. If you contribute in March 2024, the five-year period runs from January 1, 2024, through December 31, 2028. You can withdraw gains tax-free starting January 1, 2029, assuming you are also 59½ by then.
The five-year rule applies to the account as a whole, not to each contribution separately. You don't restart the clock every time you add money. If you open a Roth in 2024 and add contributions every year through 2030, the five-year period is still 2024–2028. All your contributions and gains become may be able to access for tax-free withdrawal together in 2029 (assuming you meet the age requirement).
If you convert money from a traditional IRA to a Roth (a Roth conversion), a separate five-year rule applies to the converted amount. The clock starts over for that conversion. This matters if you convert at age 50 and want to withdraw the converted funds before 59½ — you'll owe tax and penalty on the gains from that conversion, even if your original Roth contributions have been in the account for five years.
Dividends and interest inside a Roth are also tax-free
Capital gains are not the only type of growth that escapes tax in a Roth. Dividend income from stocks and stock funds is also tax-free inside the account. Interest from bonds, bond funds, or savings accounts held in a Roth is tax-free. Rental income from real estate held in a self-directed Roth is tax-free. Any income or gain generated by the account's investments is sheltered from federal tax.
This is why a Roth is especially valuable for investors who expect high income or frequent trading. In a regular brokerage account, dividends and interest are taxed every year, and short-term capital gains (from selling investments held less than a year) are taxed as ordinary income. In a Roth, none of that matters. You can trade as much as you want, collect dividends, earn interest, and never file a tax form for the account's activity.
State taxes and Roth IRAs
Federal tax is not the only tax that matters. Some states tax retirement account income or withdrawals. However, most states do not tax Roth IRA withdrawals or the growth inside the account. States like California, New York, and Illinois do not tax Roth IRA distributions. A few states — notably Pennsylvania and South Carolina — exempt retirement income from tax entirely, which includes Roths.
If you live in a state with a state income tax, check your state's rules on retirement accounts. Some states follow federal law closely, while others have their own rules. The IRS website and your state's revenue department can clarify whether your state taxes Roth withdrawals. In most cases, the answer is no, but it's worth confirming based on where you live.
What you still have to report on your tax return
Even though Roth IRA gains are not taxed, you don't file a separate tax form for the account's internal activity. You don't report dividends, interest, or capital gains from inside the Roth on your annual tax return. The account is invisible to the IRS in terms of year-to-year taxation.
The only time a Roth appears on your tax return is if you take a distribution. If you withdraw money, you may need to file Form 8606 to report the withdrawal and confirm that it is may have access to (and therefore tax-free). If you take a non-may have access to withdrawal with gains, you'll report the taxable portion as income. But if you never withdraw, you never file anything related to the Roth's growth.
Frequently Asked Questions
Do I owe taxes if my Roth IRA loses money?
No. A loss inside a Roth IRA generates no tax benefit and no tax liability. You cannot deduct losses from a Roth on your tax return. The account is tax-sheltered in both directions — gains are not taxed, but losses don't reduce your taxes either. This is one reason to keep losing investments in a Roth rather than selling them to harvest losses in a regular account.
What if I withdraw only my contributions, not the gains?
Your contributions always come out tax-free, regardless of your age or how long the account has been open. If you contributed $20,000 and the account grew to $30,000, you can withdraw the $20,000 with no tax or penalty at any time. The $10,000 in gains stays in the account and continues to grow tax-free. Withdrawing contributions does not trigger the five-year rule or the age requirement.
Can I avoid the 10% penalty on early withdrawal of gains?
Yes, in specific situations. Exceptions to the 10% penalty include withdrawals for a first home purchase (up to $10,000 lifetime), disability, medical expenses, or higher education costs. However, the gains are still taxed as ordinary income — the penalty is waived, but the tax is not. You must meet one of the IRS exceptions and document it when you file your return.
Do I owe taxes on a Roth conversion?
You owe tax on the amount converted in the year of conversion, based on the value of the traditional IRA at the time of conversion. However, once the money is in the Roth, all future growth is tax-free. The conversion itself is a taxable event, but the account's subsequent gains are sheltered. This is why conversions are often done in low-income years.
What if I inherit a Roth IRA?
The tax treatment depends on your relationship to the original owner and when they opened the account. A spouse can treat the inherited Roth as their own and follow normal rules. Non-spouse beneficiaries must withdraw the account within 10 years (as of 2024 rules), but withdrawals of gains are tax-free if the original owner had the account open for five years. The five-year rule applies to the original owner's opening date, not yours.