You do not pay capital gains tax on a Roth IRA. Investments bought and sold inside the account generate no capital gains tax while they stay there, and qualified withdrawals come out federally tax-free, which means decades of growth can leave the account at a zero percent rate.1GovInfo. 26 USC 408A – Roth IRAs The important caveat: if you pull earnings out before your withdrawal qualifies, the IRS taxes those earnings as ordinary income, not at the lower capital gains rates, and may add a 10% penalty on top.
Why Your Roth IRA Doesn’t Generate Capital Gains Tax
Buying and selling stocks, funds, or bonds inside a Roth IRA produces nothing for the IRS to see that year. There is no short-term versus long-term distinction, no Form 8949, no Schedule D, no tax bill. The account operates in a tax-free bubble as long as the money stays inside.2Internal Revenue Service. Roth IRAs
In a regular brokerage account, every profitable sale is a taxable event. Gains on assets held a year or less are taxed at ordinary income rates, and gains on assets held longer get the preferential 0%, 15%, or 20% long-term capital gains rates, all reported on Form 8949 and Schedule D.3Internal Revenue Service. Instructions for Form 8949 Inside a Roth IRA, none of that applies. You can rebalance, sell a stock that tripled, and reinvest without losing a dollar to taxes. Dividends and interest reinvested inside the account are not taxed either. Over a long career, the compounding effect of removing the annual tax drag is substantial.
What Makes a Withdrawal Qualified
The tax-free treatment at withdrawal depends on meeting two requirements at the same time. If you miss either one, the earnings portion of what you take out becomes taxable.
The Five-Year Rule
Your Roth IRA must have been open for at least five tax years, counted from January 1 of the year you made your first contribution to any Roth IRA. If your first contribution was for 2024, the clock started January 1, 2024, and the earliest a distribution can qualify is January 1, 2029.1GovInfo. 26 USC 408A – Roth IRAs The clock runs across all of your Roth IRAs, so opening a new account years later does not reset it.
A Qualifying Event
The most common qualifying event is turning 59½. The others are the account owner’s death (distributions to beneficiaries), becoming totally and permanently disabled, and a first-time home purchase of up to $10,000 lifetime.4Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions
Only when both the five-year rule and a qualifying event are satisfied does the full withdrawal, earnings included, come out tax-free and penalty-free. Someone who is already past 59½ but opened their first Roth two years ago still faces tax on the earnings portion of any withdrawal.
Which Dollars Come Out First
Not every dollar in your Roth IRA is treated the same when you withdraw. The IRS imposes a fixed order that controls which money leaves first, regardless of your intent.1GovInfo. 26 USC 408A – Roth IRAs
- Regular contributions come out first. You already paid income tax on this money, so you can withdraw it at any age, any time, for any reason, with zero tax and zero penalty.
- Conversion and rollover amounts come out next, on a first-in, first-out basis. Each conversion has its own separate five-year clock, and the taxable portion of a conversion can face the 10% penalty if withdrawn before age 59½ and before that specific clock expires.
- Earnings come out last. This is the only money that can be hit with both income tax and the 10% penalty on a non-qualified withdrawal.
This ordering is what gives Roth IRAs their flexibility. If you contributed $50,000 over the years and the account is now worth $80,000, you can take out up to $50,000 at any age without tax consequences. The tax question only arises when you withdraw beyond your contributions and reach the earnings layer.
What You Pay If You Pull Earnings Out Early
When a withdrawal reaches the earnings layer and does not qualify, two things happen. The earnings portion is taxed as ordinary income at your marginal federal rate and reported on Form 1040.5Internal Revenue Service. Retirement Plans FAQs Regarding IRAs Distributions (Withdrawals) If you are under 59½, the IRS adds a 10% early withdrawal penalty on top.4Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions
Note what tax rate applies. Even though the growth inside the account came from capital appreciation, dividends, and interest, a non-qualified withdrawal does not get the preferential long-term capital gains rates. The earnings are taxed at your full ordinary income rate. That is the trade-off: completely tax-free growth if you follow the rules, but a higher tax rate than a regular brokerage account would have charged if you break them. For someone in a high bracket, the difference can be significant.
A taxable non-qualified distribution also increases your adjusted gross income for the year, which can ripple through to other parts of your return, including credits and deductions tied to income.
Exceptions That Waive the 10% Penalty
Several situations waive the 10% early withdrawal penalty on earnings even when the distribution itself is not fully qualified. The earnings still get taxed as ordinary income, but the extra 10% is removed. The most common exceptions:4Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions
- Unreimbursed medical expenses above 7.5% of your adjusted gross income.
- Higher education expenses for you, your spouse, children, or grandchildren.
- Substantially equal periodic payments calculated based on life expectancy and taken at least annually.
- First-time home purchase, up to $10,000 lifetime.
- Health insurance premiums during a period of unemployment lasting at least 12 consecutive weeks.
- IRS levy against the account.
- Qualified military reservist called to active duty.
Starting in 2024, SECURE 2.0 added more exceptions. One permits a single emergency personal expense withdrawal per calendar year, capped at the lesser of $1,000 or your balance above $1,000, with no further emergency distribution for three years unless you repay the first. Another covers victims of domestic abuse, up to the lesser of $10,000 or 50% of the account balance. Losses from federally declared disasters qualify up to $22,000.4Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions
Narrow Situations Where a Roth IRA Can Still Owe Tax
The Roth IRA is as close to a tax-free account as the federal code offers, but a handful of situations can create a bill.
Unrelated Business Taxable Income
If your Roth IRA holds an interest in a master limited partnership or similar pass-through investment that generates business income, the account itself can owe tax. Unrelated business taxable income of $1,000 or more in a year requires the account’s trustee or custodian to file Form 990-T and pay tax at corporate rates.6Internal Revenue Service. Instructions for Form 990-T Most account holders never see this, but it catches people who buy MLPs in retirement accounts expecting the same treatment as regular stocks.
Prohibited Transactions
Using your Roth IRA in a way the IRS treats as a prohibited transaction, such as borrowing from it, using it as loan collateral, or buying property for personal use, triggers the worst outcome. The entire account is deemed distributed as of January 1 of that year. You owe income tax on all gains, plus the 10% penalty if you are under 59½.7Internal Revenue Service. Retirement Topics – Prohibited Transactions The account stops being an IRA. This mostly affects people holding alternative assets like real estate in self-directed IRAs.
Excess Contributions
Contributing more than the annual limit, or contributing when your income exceeds the phase-out range, triggers a 6% excise tax on the excess for every year it remains in the account.8Office of the Law Revision Counsel. 26 USC 4973 – Tax on Excess Contributions to Certain Tax-Favored Accounts and Annuities You can fix it by withdrawing the excess and any earnings on it before the tax-filing deadline, typically April 15. The 6% penalty keeps accruing until the excess is removed, so catching it early matters.
Inherited Roth IRAs
Inherited Roth IRAs follow their own tax rules. The 10% early withdrawal penalty never applies to a beneficiary, regardless of age.
A surviving spouse can treat the inherited Roth IRA as their own, continuing to let it grow and following the standard qualified distribution rules. A spouse can instead keep it as an inherited IRA and take distributions over their life expectancy.9Internal Revenue Service. Required Minimum Distributions for IRA Beneficiaries
Most non-spouse beneficiaries who inherited from someone who died in 2020 or later must empty the account by the end of the tenth year after the owner’s death. There are no annual required minimum distributions during that window, just the deadline at the end. Eligible designated beneficiaries, including minor children of the deceased, disabled individuals, and anyone not more than ten years younger than the original owner, can stretch distributions over their own life expectancy.10Internal Revenue Service. Retirement Topics – Beneficiary
The five-year rule still matters here. The clock runs from the original owner’s first contribution, not from the date of inheritance. If the owner opened the Roth only three years before dying, the beneficiary must wait until the five-year mark before earnings come out tax-free. Contributions and conversions remain tax-free regardless, following the normal ordering rules.