How Are You Taxed After Selling a Mutual Fund in an IRA?

Matthew Etter profile photo

Matthew Etter, CFP®

Partner, President
Signet Financial Management
Daniel DiVizio profile photo

Daniel DiVizio, CFP®, CRC®

Financial Planning Director, Wealth Management
Christopher Berté profile photo

Christopher Berté, CFP®

Managing Director, Signet Financial Management Southwest Florida
Contact Now

Transactions that are made within an individual retirement account (IRA) are not taxable. Stocks, funds, and other securities can be purchased and sold within an IRA account without triggering any consequences. Potential tax consequences are only triggered when money is withdrawn from an IRA account altogether.¹


iStock-1324209763.jpg

iStock-1324209763.jpg


KEY TAKEAWAYS

  • Sales and purchases—of stocks, bonds, funds, ETFs, or any other securities—that are made within an individual retirement account are not taxable.
  • This rule applies to all investment transactions, regardless of whether the recipient has accrued capital gains, dividend payments, or interest income.
  • However, there are often brokerage commissions and fees for buy and sell orders within the IRA. Nonetheless, the orders themselves are not taxable.
  • Funds an investor cashes out from an IRA or Roth IRA before reaching age 59½ are typically subject to a 10% early withdrawal fee, with some exceptions for medical emergencies and a few other issues.²
  • Funds that are withdrawn after age 59½ from traditional, SEP, SIMPLE, or SARSEP IRAs are subject to ordinary income tax at the beneficiary's current tax rate.³,⁴
  • Funds that are withdrawn from a Roth IRA are not subject to income tax (provided that certain qualifications are met) since Roth IRAs are funded with after-tax money in the first place.⁵,¹

Non-Taxable Transactions

Transactions that are not taxable in an IRA account include purchases, exchanges between mutual funds, buying and selling stocks, dividend reinvestments, and capital gain distributions. Mutual fund exchanges are not taxable as long as the money is being exchanged into an account registered as an IRA.¹

Dividend and capital gains distributions made by funds and stocks result from the initial investment and are not considered contributions or taxable events. In the case of brokerage accounts, transactions may clear through a sweep account but are not taxable.

Mutual funds buy and sell orders may result in commissions and fees being charged. The types of fees you can expect will depend on the type of mutual fund you are transacting and the period you hold the fund. These costs are deducted from the account balance but are not considered taxable withdrawals from the account.¹

IMPORTANT: As long as the money stays in your IRA, there are no tax consequences; this applies to capital gains, dividend payments, and interest income.¹

Tax Consequences for IRA and Roth IRA Accounts

Transactions within an IRA account are not taxable, but withdrawals from an IRA are usually taxable, depending on the investor's specific circumstances. Contributions to a traditional IRA account may be tax-deductible, but any withdrawals made from the account are taxed as ordinary income. Non-deductible contributions are not taxable upon withdrawal.¹

In a Roth IRA, contributions are made with after-tax dollars, but withdrawals are tax-free provided that certain qualifications are met. Non-qualified distributions from either an IRA or Roth IRA may be subject to taxes and a 10% early withdrawal penalty and applies to those who take money out of their IRA or Roth IRA before the age of 59½.³

However, there are certain circumstances where early withdrawals are not subject to that fee, including medical emergencies. For distributions from Roth IRAs, the original contribution will not be taxed, even if it's non-qualified, since it had already been taxed as ordinary income. Only the gains portion of the non-qualified Roth distribution would be subject to taxes and penalties.⁵,²

The 2023 limit on annual contributions to an IRA is $6,500. This limit increases to $7,000 for tax year 2024 to account for inflation. The so-called catch-up contribution for those aged 50 and over is an extra $1,000 (for a total of $7,000 in 2023 and $8,000 in 2024).⁶,⁷

Do You Pay Taxes on Capital Gains in a Traditional IRA?

According to the Internal Revenue Service, "generally, amounts in your traditional IRA (including earnings and gains) are not taxed until you take a distribution (withdrawal) from your IRA." What's more, sales and purchases of stocks, bonds, funds, and other securities made within an IRA are not taxable.⁸

How Is a Traditional IRA Taxed When You Make a Withdrawal?

If you take a distribution from a traditional IRA, that amount will be taxed as ordinary income. If you're under age 59½, you may also have to pay a 10% early withdrawal penalty.3 Distributions from Roth IRAs are tax-free, however, provided you have had the account for at least five years and you are 59½ or older.

How Can I Avoid Paying a 10% Penalty on a Traditional IRA Withdrawal?

One way is to avoid taking a distribution before you reach the age of 59½. But the IRS makes other exceptions to that rule. A few include being a qualified first-time homebuyer, having a medical emergency, paying for qualified education expenses, and paying for health insurance premiums while unemployed.²

The Bottom Line

There are many advantages to saving for retirement in an individual retirement account, including this one—that buying and selling stock in an IRA mutual fund doesn't incur a tax consequence. Although commissions and fees may be charged on buy and sell orders, and these amounts may be withdrawn from the account balance, they are not considered taxable withdrawals. Only taking a distribution from a traditional IRA is usually a taxable event.

ARTICLE SOURCES

Investopedia requires writers to use primary sources to support their work. These include white papers, government data, original reporting, and interviews with industry experts. We also reference original research from other reputable publishers where appropriate. You can learn more about the standards we follow in producing accurate, unbiased content in our editorial policy.

  1. Internal Revenue Service. "Publication 590-B (2022), Distributions From Individual Retirement Arrangements (IRAs)."
  2. Internal Revenue Service. "Retirement Topics - Exceptions to Tax on Early Distributions."
  3. Internal Revenue Service. "IRA FAQs - Distributions (Withdrawals)."
  4. Internal Revenue Service. "Salary Reduction Simplified Employee Pension Plan (SARSEP)."
  5. Internal Revenue Service. "Roth IRAs."
  6. Internal Revenue Service. "COLA Increases for Dollar Limitations on Benefits and Contributions."
  7. Internal Revenue Service. “401(k) Limit Increases to $23,000 for 2024, IRA Limit Rises to $7,000.”
  8. Internal Revenue Service. "Traditional IRAs."


investopedia insights newsletter signup


Matthew Etter profile photo

Matthew Etter, CFP®

Partner, President
Signet Financial Management
Daniel DiVizio profile photo

Daniel DiVizio, CFP®, CRC®

Financial Planning Director, Wealth Management
Christopher Berté profile photo

Christopher Berté, CFP®

Managing Director, Signet Financial Management Southwest Florida
Contact Now