SoFi student loan refi rates just dropped. Save even more and pay off debt faster. View your rate.

Do You Pay Capital Gains on Roth IRAs and IRAs?

By Dan Miller · August 01, 2024 · 6 minute read

We’re here to help! First and foremost, SoFi Learn strives to be a beneficial resource to you as you navigate your financial journey. We develop content that covers a variety of financial topics. Sometimes, that content may include information about products, features, or services that SoFi does not provide. We aim to break down complicated concepts, loop you in on the latest trends, and keep you up-to-date on the stuff you can use to help get your money right.

Do You Pay Capital Gains on Roth IRAs and IRAs?

You don’t have to pay capital gains tax on investment profits while they are held in a traditional or a Roth IRA account. In most cases, the question of taxes comes into play when you withdraw money from a traditional or Roth IRA.

Each type of IRA is subject to a different set of tax rules, and it’s essential to know how these accounts work, as the tax implications are significant now as well as in the future.

IRAs, Explained

An Individual Retirement Account (IRA) is a tax-advantaged account typically used for retirement savings. There are two main types of IRAs — traditional IRAs and Roth IRAs — and the tax advantages of each are quite distinct.

Generally speaking, all IRAs are subject to contribution limits and withdrawal rules, but Roth IRAs have strict income caps as well as other restrictions.

Contribution Limits

For tax year 2024, the annual contribution limits for both Roth and traditional IRAs is $7,000, and $8,000 for those 50 or older.

It’s important to know that you can only contribute earned income to an IRA; earned income refers to taxable income like wages, tips, commissions. If you earn less than the contribution limit, you can only deposit up to the amount of money you made that year.

One exception is in the case of a spousal IRA, where the working spouse can contribute to an IRA on behalf of a spouse who doesn’t have earned income. Like ordinary IRAs, spousal IRAs can be traditional or Roth in style.

Traditional IRAs

All IRAs are tax advantaged in some way. When you invest in a traditional IRA, you may be able to take a tax deduction for the amount you contribute in the tax year that you make the contribution.

The contributions you make may be fully or partially tax-deductible, depending on whether you or your spouse are covered by a workplace retirement plan. If you’re not sure, you may want to check IRS.gov for details.

The money inside the account grows tax-deferred, meaning any capital appreciation of those funds is not subject to investment taxes, i.e. capital gains tax, while held in the account over time. But starting at age 59 ½ , qualified withdrawals are taxed at regular income tax rates.

If you think about it, this makes sense because you make contributions to a traditional IRA on a pre-tax basis. When you take withdrawals, you then owe income tax on the contributions and any earnings.

With some exceptions, early withdrawals from a traditional IRA prior to age 59 ½ are subject to income tax and a 10% penalty.

Recommended: IRA Tax Deduction Rules

Roth IRAs

Roth IRAs follow a different set of rules. You contribute to a Roth IRA with after-tax money. That means you won’t get a tax deduction for contributions you make in the year that you contribute.

Your contributions grow inside your Roth IRA tax-free, along with any earnings. When you reach retirement age and start to make withdrawals, you won’t owe income tax on money you withdraw because you already paid tax on the principal (i.e. your original contribution amounts) — and the earnings are not taxed on qualified withdrawals.

Boost your retirement contributions with a 1% match.

SoFi IRAs now get a 1% match on every dollar you deposit, up to the annual contribution limits. Open an account today and get started.


Only offers made via ACH are eligible for the match. ACATs, wires, and rollovers are not included.

What Are Capital Gains Taxes?

Capital gains refer to investment profits. In a taxable investment account you would owe capital gains tax on the profits you made from selling investments: e.g., stocks, bonds, real estate, and so on.

You don’t owe capital gains tax just for owning these assets — it only applies if you profit from selling them. Depending on how long you held an investment before you sold it, you would owe short- or long-term capital gains.

Retirement accounts, however, are subject to their own set of tax rules, and traditional and Roth IRAs each handle capital gains taxes differently.

Are Gains Taxed in Traditional IRAs?

Traditional IRA plans, as noted above, are tax-deferred, which essentially means that investment profits are not subject to capital gains tax while they remain in the account. Given this, the sale of individual investments like stocks inside an IRA is not considered a taxable event.

However, with tax-deferred accounts like traditional IRAs, you do have to pay ordinary income tax on withdrawals (meaning, you’re taxed at your marginal income rate).

So when you take withdrawals from a traditional IRA, you will owe income tax on the amount you withdraw, including any investment gains (i.e., earnings) in the account.

Are Gains Taxed in Roth IRAs?

The same principle applies to Roth IRAs, even though these are after-tax accounts: You don’t have to pay taxes on investment income or any assets that you buy or sell inside your Roth IRA.

Because you contribute to a Roth IRA with after-tax money, your money grows tax-free inside your IRA. Also, the earnings in the account grow tax-free over time and those gains are not taxed within the account.

In addition, qualified withdrawals of contributions and earnings from a Roth IRA are tax free. But remember: early or non-qualified withdrawal of earnings from a Roth IRA would be subject to taxes and a penalty (with some exceptions; for details see IRS.gov).

Roth IRA Penalties

Because you contribute to a Roth IRA with after-tax money, you can always withdraw your contributions (meaning your principal) without paying any tax or penalties.

If you wait to withdraw money from your Roth IRA until you reach age 59 ½, you can also withdraw your earnings without tax or penalties — as long as you’ve had the account for at least five years.

If you withdraw Roth IRA earnings before age 59 ½ or before you’ve held the account for five years, you may be charged a 10% early withdrawal penalty, though there are IRA withdrawal rules that may help you avoid the penalty in certain situations.

Are Gains Taxed in 401(k)s?

An IRA and a 401(k) work in a similar way when it comes to capital gains tax. Just as there are traditional and Roth IRAs, there are also traditional and “designated” Roth 401(k) plans, and they work similarly to their corresponding IRA equivalents.

So, generally speaking, you do not owe any capital gains tax on the sale of any investments held inside either type of 401(k) account.

Opening an IRA With SoFi

Most people are familiar with the basic tax advantages of using an IRA to save for retirement. Traditional IRAs are tax-deferred accounts and may provide a tax deduction in the years you make contributions. Roth IRAs are after-tax accounts that can provide tax-free income in retirement.

But the fact that you don’t have to pay capital gains tax is also worth noting. With both a traditional IRA and a Roth IRA, buying and selling stocks or other investments is not considered a taxable event. That means that you will not owe capital gains tax when you sell investments inside your IRA.

Ready to invest for your retirement? It’s easy to get started when you open a traditional or Roth IRA with SoFi. SoFi doesn’t charge commissions, but other fees apply (full fee disclosure here).

Help grow your nest egg with a SoFi IRA.

FAQ

Are Roth IRAs subject to capital gains tax?

No, buying and selling stocks or other investments inside a Roth IRA is not considered a taxable event. This means that you will not owe capital gains tax for buying or selling investments inside your Roth IRA. And because contributions to Roth IRAs are made with after-tax money, you also won’t owe income tax on qualified withdrawals.

Do you have to pay taxes if you sell stocks in a Roth IRA?

Selling stocks inside a Roth IRA is not considered a taxable event. So whether you regularly buy and sell stocks inside your Roth IRA, or just have unrealized gains and losses, you won’t need to worry about capital gains tax.

What happens when you sell a stock in your Roth IRA?

Buying and selling stocks inside an IRA is not considered a taxable event. So you won’t owe capital gains tax on stock you sell, but you also won’t be able to offset gains with a loss you capture from a stock sale inside your IRA.


Photo credit: iStock/designer491

SoFi Invest®

INVESTMENTS ARE NOT FDIC INSURED • ARE NOT BANK GUARANTEED • MAY LOSE VALUE

SoFi Invest encompasses two distinct companies, with various products and services offered to investors as described below: Individual customer accounts may be subject to the terms applicable to one or more of these platforms.
1) Automated Investing and advisory services are provided by SoFi Wealth LLC, an SEC-registered investment adviser (“SoFi Wealth“). Brokerage services are provided to SoFi Wealth LLC by SoFi Securities LLC.
2) Active Investing and brokerage services are provided by SoFi Securities LLC, Member FINRA (www.finra.org)/SIPC(www.sipc.org). Clearing and custody of all securities are provided by APEX Clearing Corporation.
For additional disclosures related to the SoFi Invest platforms described above please visit SoFi.com/legal.
Neither the Investment Advisor Representatives of SoFi Wealth, nor the Registered Representatives of SoFi Securities are compensated for the sale of any product or service sold through any SoFi Invest platform.

Tax Information: This article provides general background information only and is not intended to serve as legal or tax advice or as a substitute for legal counsel. You should consult your own attorney and/or tax advisor if you have a question requiring legal or tax advice.

Disclaimer: The projections or other information regarding the likelihood of various investment outcomes are hypothetical in nature, do not reflect actual investment results, and are not guarantees of future results.
Financial Tips & Strategies: The tips provided on this website are of a general nature and do not take into account your specific objectives, financial situation, and needs. You should always consider their appropriateness given your own circumstances.

SOIN0523004

TLS 1.2 Encrypted
Equal Housing Lender