Do I have to pay tax every time I sell a stock?

Asked by: Sandrine Prosacco  |  Last update: June 19, 2026
Score: 5/5 (64 votes)

Yes, you generally pay taxes on profits (capital gains) when you sell a stock for more than you paid for it, but not on unrealized gains (when the stock value goes up but you haven't sold). The tax rate depends on how long you held the stock: if held a year or less, it's a short-term gain taxed at your ordinary income rate; if held over a year, it's a long-term gain taxed at lower rates (0%, 15%, or 20%).

Do you have to pay taxes every time you sell a stock?

When you sell an investment for a profit, the amount earned is likely to be taxable. The amount that you pay in taxes is based on the capital gains tax rate. Typically, you'll either pay short-term or long-term capital gains tax rates depending on your holding period for the investment.

How long do I need to hold a stock to avoid capital gains tax?

To avoid the higher ordinary income tax rates on stock profits (short-term), you must hold the stock for more than one year, qualifying for the generally lower long-term capital gains tax rates; selling after one year or less results in short-term gains taxed at your regular income bracket, while holding over a year offers preferential rates, potentially saving you significantly on taxes.

Is tax automatically deducted when selling shares?

Securities Transaction Tax (STT)

STT is a tax levied on the purchase and sale of securities in the stock market. It is automatically deducted by brokers. STT rates vary depending on the type of transaction (buying or selling) and the security being traded.

How much tax will I pay if I sell shares?

The main rate of CGT is 18% for basic rate taxpayers. For higher or additional rate taxpayers, the rate is 24%. If you are normally a basic-rate taxpayer but when you add the gain to your taxable income you are pushed into the higher-rate band, then you will pay some CGT at both rates.

How to AVOID Taxes (Legally) When you SELL Stocks

36 related questions found

How do I avoid paying stock taxes?

10 Ways to Avoid Capital Gains Taxes on Stocks

  1. Invest for the Long Term. ...
  2. Contribute to Your Retirement Accounts. ...
  3. Use a 529 Plan to Sell Stocks and Fund Education. ...
  4. Pick Your Cost Basis. ...
  5. Lower Your Tax Bracket. ...
  6. Harvest Losses to Offset Gains. ...
  7. Move to a Tax-Friendly State. ...
  8. Donate Stock to Charity.

What is the 6 year rule for capital gains?

The "6-year rule" for Capital Gains Tax (CGT) in Australia allows you to treat a former main residence as tax-exempt for up to six years after you move out, even if you rent it out, enabling you to avoid CGT on any growth during that period. You qualify by moving out, choosing to treat it as your main home for tax, and can reset the rule by moving back in. If you rent it out for longer than six years, only the portion of the gain after the six-year mark becomes taxable.
 

What is the 20% rule for capital gains?

The 20% rule for capital gains refers to the highest federal tax rate for long-term capital gains, applying to higher income brackets when you sell investments (stocks, real estate) held for over a year, with lower rates of 0% and 15% for lower incomes, and even higher rates for special assets like collectibles. This rate kicks in for single filers earning over approximately $492,300 (2024) or $533,401 (2025), and higher for joint filers, making holding assets over a year a key tax strategy.

Do I have to pay capital gains tax immediately?

This tax is applied to the profit, or capital gain, made from selling assets like stocks, bonds, property and precious metals. It is generally paid when your taxes are filed for the given tax year, not immediately upon selling an asset.

How long do you have to keep shares to avoid capital gains tax?

To avoid the higher ordinary income tax rates on stock profits (short-term), you must hold the stock for more than one year, qualifying for the generally lower long-term capital gains tax rates; selling after one year or less results in short-term gains taxed at your regular income bracket, while holding over a year offers preferential rates, potentially saving you significantly on taxes.

How much capital gains do I pay on $100,000?

On a $100,000 capital gain, you'll likely pay 15% for long-term gains, resulting in about $15,000 in federal tax (plus potential state tax), but it could be 0% or 20% depending on your total taxable income and filing status, while short-term gains are taxed as ordinary income (potentially 22-24%). 

Does money from selling stocks count as income?

Your income or loss is the difference between the amount you paid for the stock (the purchase price) and the amount you receive when you sell it. You generally treat this amount as capital gain or loss, but you may also have ordinary income to report. You must account for and report this sale on your tax return.

What is the $600 rule in the IRS?

The IRS $600 rule refers to a change in reporting requirements for third-party payment apps (like Venmo, PayPal) for taxable income from goods and services, where platforms must send a Form 1099-K if you receive over $600 in a year, intended to capture gig economy/side hustle income, though delays and phased implementation have adjusted the timeline, with current rules for 2024 using a higher threshold ($5,000) before fully phasing to $600 for future years, but remember all taxable income, regardless of form, must always be reported.
 

Who qualifies for 0% capital gains?

To qualify for 0% capital gains tax, you must have long-term capital gains (assets held over a year) and your taxable income (after deductions) must fall below specific IRS thresholds, which change annually but are roughly <$48,350 for single filers and <$96,700 for married filing jointly for the 2025 tax year, allowing for higher total income when combined with deductions like the standard deduction. The key is keeping your adjusted gross income (AGI) low enough so that after subtracting deductions, your taxable income remains within these limits. 

How long do I have to keep a stock to avoid capital gains?

To correctly arrive at your net capital gain or loss, capital gains and losses are classified as long-term or short-term. Generally, if you hold the asset for more than one year before you dispose of it, your capital gain or loss is long-term.

Who is eligible for a 50% CGT discount?

The beneficiary claiming the discount must be an Australian resident for tax purposes. The trust must have held the asset for at least 12 months before the CGT event occurs.

How do the rich avoid paying capital gains tax?

How Wealthy Households Use a “Buy, Borrow, Die” Strategy to Avoid Taxes on Their Growing Fortunes

  1. Step 1: Buy Assets. Wealthy family buys stocks, bonds, real estate, art, or other high-value assets. ...
  2. Step 2: Borrow Against Assets. ...
  3. Step 3: Die and Pass Assets Tax Free to Heirs.

What is the 36 month rule for capital gains tax?

The "36-month rule" for capital gains tax (CGT) primarily refers to the UK's Principal Private Residence (PPR) Relief, where the final 36 months (or 9 months for most) of a property's ownership period are tax-exempt, even if not lived in, provided it was a main home at some point. In the US, the relevant rule for home sales is the "2-out-of-5-year rule" for the Section 121 exclusion, allowing up to $250k/$500k profit tax-free if owned and used as a main home for 2 of the 5 years before sale, with exceptions for unforeseen circumstances.

How much capital gain is tax free?

The amount of tax-free capital gain depends on the asset, but the most common exemption is for your primary home, allowing single filers to exclude up to $250,000 (or $500,000 for married couples) of profit if you've lived there 2 of the last 5 years. Additionally, certain long-term investments in qualified small businesses or Opportunity Funds, plus gains on inherited assets (due to stepped-up basis at death), can also be tax-free, while lower income levels may qualify for a 0% long-term capital gains tax rate. 

What is the 7% sell rule?

The 7% sell rule is a stock trading guideline to cut losses quickly, advising you to sell a stock if it drops 7-8% below your purchase price to protect capital, remove emotion, and prevent small losses from becoming catastrophic, a strategy popularized by William O'Neil's CAN SLIM method for growth investing. It assumes that truly strong stocks typically don't fall much below their buy point, so a dip signals something is wrong, requiring you to exit the trade to preserve funds for better opportunities.
 

What is the loophole for capital gains tax?

Second, capital gains taxes on accrued capital gains are forgiven if the asset holder dies—the so-called “Angel of Death” loophole. The basis of an asset left to an heir is “stepped up” to the asset's current value.