Taxes on Stocks: What and When You Have to Pay - NerdWallet (2024)

MORE LIKE THISTaxes

Investing can be a great way to build wealth and financial security, but it’s important to understand how the sale of stocks could affect your tax bill.

Do you have to pay taxes on stocks?

If you sell stocks for a profit, your earnings are known as capital gains and are subject to capital gains tax.

Generally,any profit you make on the sale of an asset is taxable at either 0%, 15% or 20% if you held the shares for more than a year, or at your ordinary tax rate if you held the shares for a year or less.Any dividends you receive from a stock are also usually taxable.

» Need a primer? How capital gains tax works

How are stocks taxed?

There are two types of taxes on realized stock gains: short-term and long-term capital gains taxes. Tax rates on long-term capital gains are usually lower than those on short-term capital gains. That can mean paying lower taxes on stock sales.

Capital gains tax on stocks

  • Short-term capital gains tax: A tax on profits from the sale of an asset held for a year or less. Short-term capital gains tax rates are taxed as regular income, which means they're subject to federal income tax rates.

  • Long-term capital gains tax: Long-term capital gains tax is a tax on profits from the sale of an asset held for longer than a year. Long-term capital gains tax rates are 0%, 15% or 20%, depending on your taxable income and filing status.

» MORE: Not sure what tax bracket you’re in? Learn about federal tax brackets.

When do you pay taxes on stocks?

Taxes on stocks and dividends are incurred in the tax year the stock is sold or the dividend payment is made.

By mid-February of the following year, you’ll get paperwork from your brokerage that will help you tally up your total gains and losses to determine the tax bill. For example, if you sold securities through a brokerage account in 2024, you’ll receive a1099-B, which will detail your transactions. You’ll use that information for your2024 tax return,filed in April 2025.

However, people who aren't subject to income tax withholding (such as freelancers) are often required to make quarterly estimated tax payments. If you're in that group, your dividend and capital gains tax would be due on the quarterly due date following the dividend receipt and/or sale.

If you aren't having enough tax withheld on your W-4 to cover the taxes incurred from the gain — or you expect the gain to have a big impact on your tax bill— paying estimated taxes can also help you avoid a surprise or underpayment penalty when you file.

Do you pay taxes on stocks you don't sell?

No. Even if the value of your stocks goes up, you won't pay taxes until you sell the stock. Once you sell a stock that's gone up in value and you make a profit, that's when you'll have to pay the capital gains tax.

When the value of your stocks goes up, but you haven't sold them, this is known as "unrealized gains."

Similarly, if the value of your stocks goes down and you haven't sold them, this is known as "unrealized losses." Selling a stock for profit locks in "realized gains," which will be taxed. However, you won't be taxed anything if you sell stock at a loss. In fact, it may even help your tax situation — this is a strategy known as tax-loss harvesting.

Note, however, that if you receive dividends, you will have to pay taxes on those when they are paid out.

Taxes on Stocks: What and When You Have to Pay - NerdWallet (1)

Simple tax filing with a $50 flat fee for every scenario

With NerdWallet Taxes powered by Column Tax, registered NerdWallet members pay one fee, regardless of your tax situation. Plus, you'll get free support from tax experts. Sign up for access today.

for a NerdWallet account

Taxes on Stocks: What and When You Have to Pay - NerdWallet (2)

Transparent pricing

Hassle-free tax filing* is $50 for all tax situations — no hidden costs or fees.

Taxes on Stocks: What and When You Have to Pay - NerdWallet (3)

Maximum refund guaranteed

Get every dollar you deserve* when you file with this tax product, powered by Column Tax.

Taxes on Stocks: What and When You Have to Pay - NerdWallet (4)

Faster filing

File up to 2x faster than traditional options.* Get your refund, and get on with your life.

*guaranteed by Column Tax

Taxes on Stocks: What and When You Have to Pay - NerdWallet (5)

How are dividends taxed?

For tax purposes, there are two kinds of dividends: qualified and nonqualified. The tax rate on qualified dividends is 0%, 15% or 20%, depending on your taxable income and filing status. This is usually lower than the rate for nonqualified dividends. The tax rate on nonqualified dividends, sometimes called ordinary dividends, is the same as your regular income tax bracket.

  • In both cases, people in higher tax brackets pay more taxes on dividends.

  • How and when you own a dividend-paying investment can dramatically change the tax bill on the dividends.

  • There are many exceptions and unusual scenarios with special rules; see IRS Publication 550 for the details.

» MORE: Learn more about how dividend taxes work

What is net investment income tax?

Some high-income investors may also be subject to an additional 3.8% tax called the net investment income tax. The IRS imposes this tax on either your net investment income or the amount by which your modified adjusted gross income exceeds a certain threshold (below), whichever one ends up being less.

The income thresholds for the net investment income tax are $250,000 for those married filing jointly, $125,000 for those married filing separately, and $200,000 for single filers and heads of household.

Taxes on Stocks: What and When You Have to Pay - NerdWallet (6)

Simple tax filing with a $50 flat fee for every scenario

With NerdWallet Taxes powered by Column Tax, registered NerdWallet members pay one fee, regardless of your tax situation. Plus, you'll get free support from tax experts. Sign up for access today.

for a NerdWallet account

Taxes on Stocks: What and When You Have to Pay - NerdWallet (7)

How to avoid taxes or pay less when selling stocks

1. Think long term versus short term

  • Holding the shares long enough for the dividends to count as qualified might reduce your tax bill. Just be sure that doing so aligns with your other investment objectives.

  • Whenever possible, consider holding an asset for longer than a year, so you can qualify for the long-term capital gains tax rate when you sell. That tax rate is significantly lower than the short-term capital gains rate for most assets. But again, be sure that holding the investment for that long aligns with your investment goals.

2. Look into tax-loss harvesting

As a reminder, selling stock at a loss may come with tax advantages. The difference between your capital gains and your capital losses is called your “net capital gain.” If your losses exceed your gains, however, that's called a "net capital loss," and you can use it to offset your ordinary income by up to $3,000 ($1,500 for those married filing separately).

This can be helpful in years when the stock market is down or volatile. Any additional losses can be carried forward to future years to offset capital gains of up to $3,000 ($1,500 for those married filing separately) of ordinary income per year.

3. Hold the shares inside an IRA, a 401(k) or other tax-advantaged account

  • Dividends and capital gains on stock held inside a traditional IRA are tax-deferred, and tax-free if you have a Roth IRA. Dividends and capital gains on stocks in a regular brokerage account typically aren’t.

  • Once the money is in your 401(k), and as long as the money remains in the account, you pay no taxes on investment growth, interest, dividends or earnings. A Roth 401(k) has similar benefits as a Roth IRA: your investments grow tax-free and your money comes out tax-free in retirement.

  • You can convert a traditional IRA into a Roth IRA so that withdrawals in retirement are tax-free. But note, only post-tax dollars get to go into Roth IRAs. So if you deducted traditional IRA contributions on your taxes and then decide to convert your traditional IRA to a Roth, you’ll need to pay taxes on the money you contributed, just like everyone else who invests in a Roth IRA.

  • If you invest with a robo-advisor, many offer free tax-loss harvesting.

» Get started: Review our list of the best robo-advisors

4. Call in a pro

Your situation may be more complicated, so consider talking to a qualified tax preparer, tax-focused local CPA or financial advisor to help you make the right moves.

Taxes on Stocks: What and When You Have to Pay - NerdWallet (2024)

FAQs

Taxes on Stocks: What and When You Have to Pay - NerdWallet? ›

If you sell stocks for a profit, your earnings are known as capital gains and are subject to capital gains tax. Generally, any profit you make on the sale of an asset is taxable at either 0%, 15% or 20% if you held the shares for more than a year, or at your ordinary tax rate if you held the shares for a year or less.

What taxes do you have to pay on stocks? ›

Short-term capital gains are taxed at the same rate as your ordinary income. Meanwhile, long-term gains are taxed at either 0%, 15%, or 20%. The rate you pay is based on your taxable income. Just like with ordinary income tax rates, the higher your income, the higher your long-term capital gains tax rate.

How much tax will I pay on stocks? ›

The duration of holding an investment, known as the holding period, determines whether capital gains are short-term or long-term. Tax rates vary accordingly. For equity investments, a holding period under one year incurs a 15% tax rate (short-term), while over a year attracts a 10% tax rate (long-term).

Do I have to pay tax on stocks if I sell and reinvest? ›

Yes, since you are actually selling one fund and purchasing a new fund. You need to report the sale of the shares you sold on Form 8949, Sales and Dispositions of Capital Assets. Information you report on this form gets posted to Form 1040 Schedule D. You are liable for Capital Gains Tax on any profit from the sale.

When to pay taxes on investments? ›

In many cases, you won't owe taxes on earnings until you take the money out of the account—or, depending on the type of account, ever. But for general investing accounts, taxes are due at the time you earn the money. The tax rate you pay on your investment income depends on how you earn the money.

Do I have to pay capital gains tax immediately? ›

It is generally paid when your taxes are filed for the given tax year, not immediately upon selling an asset. Working with a financial advisor can help optimize your investment portfolio to minimize capital gains tax.

How long to hold stock to avoid tax? ›

If you hold a stock for one year or longer, your gain will be taxed at the long-term capital gains tax rate. But if you hold a stock for less than one year before selling it, your gain will typically be taxed at your ordinary income tax rate.

Are you taxed twice when you sell stock? ›

Double taxation refers to income tax being paid twice on the same source of income. This can occur when income is taxed at both the corporate level and the personal level, as in the case of stock dividends.

Do I pay taxes if I lost money on stocks? ›

Your claimed capital losses will come off your taxable income, reducing your tax bill. Your maximum net capital loss in any tax year is $3,000. The IRS limits your net loss to $3,000 (for individuals and married filing jointly) or $1,500 (for married filing separately).

Can you write off stock losses? ›

Realized capital losses from stocks can be used to reduce your tax bill. You can use capital losses to offset capital gains during a tax year, allowing you to remove some income from your tax return.

Do stocks count as income? ›

Shares of stock received or purchased through a stock plan are considered income and generally subject to ordinary income taxes. Additionally, when shares are sold, you'll need to report the capital gain or loss. Learn more about taxes, when they're paid, and how to file your tax return.

What if I forgot to report my stocks on my taxes? ›

If you have a form from your broker, for the sale or income, file an amended return. They will eventually catch the omission and send you a bill with interest.

At what age do you not pay capital gains? ›

Capital Gains Tax for People Over 65. For individuals over 65, capital gains tax applies at 0% for long-term gains on assets held over a year and 15% for short-term gains under a year. Despite age, the IRS determines tax based on asset sale profits, with no special breaks for those 65 and older.

Do you pay taxes on stock losses? ›

Your claimed capital losses will come off your taxable income, reducing your tax bill. Your maximum net capital loss in any tax year is $3,000. The IRS limits your net loss to $3,000 (for individuals and married filing jointly) or $1,500 (for married filing separately).

How do day traders pay taxes? ›

Day trading taxes can vary depending on your trading patterns and your overall income, but they generally range between 10% and 37% of your profits. Income from trading is subject to capital gains taxes.

Do I have to pay tax on stocks if I sell and reinvest Robinhood? ›

Yes. It's important to remember that even if you don't transfer your Robinhood income into a regular bank account — even if you reinvest that income — your initial sale still counts as a “taxable event.”

Do you have to pay taxes on money withdrawn from an investment account? ›

Unlike an IRA or a 401(k), you can withdraw your money at any time, for any reason, with no tax or penalty from a brokerage account. How the returns from these accounts are taxed depends on how long you have held an asset when you choose to sell it.

Top Articles
Latest Posts
Article information

Author: Foster Heidenreich CPA

Last Updated:

Views: 5427

Rating: 4.6 / 5 (76 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Foster Heidenreich CPA

Birthday: 1995-01-14

Address: 55021 Usha Garden, North Larisa, DE 19209

Phone: +6812240846623

Job: Corporate Healthcare Strategist

Hobby: Singing, Listening to music, Rafting, LARPing, Gardening, Quilting, Rappelling

Introduction: My name is Foster Heidenreich CPA, I am a delightful, quaint, glorious, quaint, faithful, enchanting, fine person who loves writing and wants to share my knowledge and understanding with you.