What happens when you sell a stock? What to know before filing your taxes (2024)

Published Nov. 23, 2022

There’s a lot to consider when selling stocks, including your tax bill.

People sell stocks for numerous reasons. But if you make a profit on the sale, you generally need to report it when you file your taxes the following year. (Different rules apply when selling stocks inside a retirement account.)

Before you hit that trade button, make sure you understand what happens when you sell a stock.

Here’s everything you need to know.

Know when to sell a stock

There’s no “perfect” time to sell a stock. The best time to sell depends on your personal investment strategy, risk tolerance and time horizon.

Stock prices rise and fall, so you don’t want to sell a good stock just because it experienced a temporary dip. On the flip side, you don’t want to cling to plummeting shares that have little hope of ever rebounding.

For most investors, holding stocks long-term is the best strategy. Avoid selling on impulse and during stock market downturns. As they say: Time in the market beats timing the market.

Still, sometimes it makes sense to sell. In general, selling a stock is a poor decision only when it’s driven by emotion instead of data and research.

Five times it makes sense to sell a stock

  1. You need the money and you can sell at a profit.
  2. The company performs poorly relative to its competitors and its outlook is bleak.
  3. The company commits fraud, files for bankruptcy or engages in crime.
  4. The company has undergone a major change (like a merger or acquisition) and you no longer agree with its ethics or leadership.
  5. You’ve done your research and believe your money can be put to better use invested elsewhere.

How to sell a stock: the right order type

Order types let you decide how you want to sell your stock. Picking the right order type can help you maximize returns and minimize losses.

There are three main order types:

  • Market
  • Limit order
  • Stop (or stop-loss)

Market order

A market order executes a trade quickly — but it doesn’t guarantee an exact stock price. It usually sells at or near the current market price but can fluctuate — especially if you execute a trade during non-trading hours.

As the U.S. Securities and Exchange Commission (SEC) puts it: “In fast-moving markets, the price at which a market order will execute often deviates from the last-traded price or ‘real time’ quote.”

Limit order

This type of order will only sell a stock at a specific price.

An example: A stock is currently worth $75. You put a sell limit order on it for $80. The stock won’t sell unless it hits $80 or better.

Stop order (or stop-loss order)

While a limit order executes a sale when a stock reaches a certain price, a stop order executes a sale when a stock drops to a certain price.

When the stop price is reached, a stop order becomes a market order.

You can use this type of order to limit your losses. For example, placing a stop-loss order of 10% below the price at which you purchased a stock limits your losses to 10%.

What happens when you sell a stock? What to know before filing your taxes (1)

Catch up on top stories before rush hour

Become a Times subscriber to get our afternoon newsletter, The Rundown

We’ll break down Tampa Bay’s biggest environment, politics, business, education and culture news every weekday.

Loading...

You’re all signedup!

Want more of our free, weekly newslettersinyourinbox? Let’sgetstarted.

Explore all your options

On the flip side, a temporary drop in price may trigger a stop-loss sale when you don’t really want it.

How does selling stocks impact your taxes?

Whether you owe taxes after selling a stock depends on where you sold it: in a retirement account or in a taxable brokerage account.

Selling stock in a retirement account

Retirement accounts are often called tax advantaged accounts, and for good reason.

If you sell assets, such as stocks, within a retirement account, you won’t owe taxes until you withdraw the money.

You can open up an individual retirement account (IRA) on your own, or you can open a 401(k) or a similar account (a 403(b) or a 457 plan) with your employer.

Once money is in your 401(k) or IRA, and as long as the money stays in the account, you won’t pay taxes on investment gains, interest or dividends.

If you own a Roth retirement account, you won’t owe any taxes when you withdraw money either, so long as you’re at least 59.5 years old.

Selling stock in a taxable brokerage account

The tax implications are very different if you sell stocks within a taxable brokerage account.

Even if you don’t take the money out, you’ll still owe taxes when you sell a stock for more than what you originally paid for it. When tax time rolls around, you’ll need to report those capital gains on your tax return.

How much you owe depends on how long you hold the stock and your income level.

If you sell stock at a loss within a taxable brokerage account, you won’t owe taxes. In fact, selling stocks at a loss can actually help lower your tax bill.

If you don’t sell any stocks, you don’t need to pay capital gains tax —- but you may still have to pay tax on dividends from stocks you own.

Selling stock for a profit

Your capital gain is the difference between how much you originally paid for the stock and how much you sold it for.

For example, if you bought $1,500 of Amazon stock then sold it a couple years later for $2,000, your capital gain is $500.

You’re taxed on the capital gain ($500), not the sale price ($2,000).

How much you owe in taxes depends on how long you owned the stock.

  • Less than a year: Your profit will be taxed at the short-term capital gain rate, which is basically your ordinary income tax rate. (Ordinary income tax rates are based on your tax bracket.) Rates range from 10% all the way up to 37% for tax year 2022.
  • More than a year: Your profit will be taxed at the long-term capital gain rate, which is either 0%, 15% or 20%, depending on your income.

Capital gains taxes aren’t limited to stock sales. They impact the sale of nearly all investment assets, including exchange traded funds (ETFs), mutual funds and cryptocurrency.

What happens when you sell a stock? What to know before filing your taxes (2)

Use when filing your taxes in 2023. Short-term capital gains are taxed at ordinary income tax rates.

Holding for at least a year has tax benefits

You’ll almost always pay a higher tax rate when you sell short-term investments (those held less than a year) than when you sell long-term investments.

Here’s an example.

Let’s say you make $40,000 a year.

  • If you sold shares of a stock you’ve owned for over a year, you don’t have to pay taxes on any profit you make.
  • If you sell shares of a stock you’ve owned for less than a year, you’d be subject to a 12% short-term capital gains tax rate (which is based on your tax bracket.)

Holding long-term is especially advantageous for high income earners.

Let’s say you make $300,000 a year.

  • You’ll be taxed at a 15% capital gains tax rate when you sell a long-term investment.
  • You’ll be taxed at your 35% ordinary income tax rate when you sell a short-term investment.

Selling stock at a loss

If you sell a stock for less than what you paid for it, you experience a capital loss.

A capital loss can be a good thing in the right situation. It can offset capital gains, limit your tax liability and even reduce your taxable income.

  • You can use capital losses to offset capital gains: Did you make a big profit earlier in the year? Selling stocks at a loss can reduce or even eliminate the taxes you owe on capital gains.
  • You might be able to use that loss to reduce your taxable income: Did you have more losses than gains this year? That excess loss can lower your taxable income (up to a $3,000 cap).
  • Or you can carry the loss forward to future tax years: Did you have more than $3,000 in capital losses this year? You can carry over those losses to help offset capital gains in any future years.

Be aware of the IRS wash sale rule if you’re trying to get a tax break by selling stocks at a loss.

The rule prohibits selling a security at a loss and then rebuying that same security within 30 days. The wash sale rule exists so that people don’t sell stocks at a loss solely to take advantage of a tax break.

The rule doesn’t prohibit the sale itself. You just won’t be able to claim the loss for tax purposes.

• • •

This story originally appeared in The Penny Hoarder.

What happens when you sell a stock? What to know before filing your taxes (2024)

FAQs

What happens when you sell a stock? What to know before filing your taxes? ›

Short-term and long-term capital gains taxes

Does selling stock hurt your tax return? ›

You may have to pay capital gains tax on stocks sold for a profit. Any profit you make from selling a stock is taxable at either 0%, 15% or 20% if you held the shares for more than a year.

Do I have to claim selling stocks on my taxes? ›

You must report all 1099-B transactions on Schedule D (Form 1040), Capital Gains and Losses and you may need to use Form 8949, Sales and Other Dispositions of Capital Assets. This is true even if there's no net capital gain subject to tax.

How do I avoid paying taxes when I sell stock? ›

9 Ways to Avoid Capital Gains Taxes on Stocks
  1. Invest for the Long Term. ...
  2. Contribute to Your Retirement Accounts. ...
  3. Pick Your Cost Basis. ...
  4. Lower Your Tax Bracket. ...
  5. Harvest Losses to Offset Gains. ...
  6. Move to a Tax-Friendly State. ...
  7. Donate Stock to Charity. ...
  8. Invest in an Opportunity Zone.
Mar 6, 2024

How much do you get taxed if you sell a stock before a year? ›

Gains you make from selling assets you've held for a year or less are called short-term capital gains, and they generally are taxed at the same rate as your ordinary income, anywhere from 10% to 37%.

Do I pay taxes if I sell stocks once? ›

In most cases, you must pay the capital gains tax after you sell an asset. It may become fully due in the subsequent year tax return. In some cases, the IRS may require quarterly estimated tax payments.

What happens if you don't report stocks on taxes? ›

If you don't report the cost basis, the IRS just assumes that the basis is $0 and so the stock's sale proceeds are fully taxable, maybe even at a higher short-term rate. The IRS may think you owe thousands or even tens of thousands more in taxes and wonder why you haven't paid up.

Can you write off 100% of stock losses? ›

If you own a stock where the company has declared bankruptcy and the stock has become worthless, you can generally deduct the full amount of your loss on that stock — up to annual IRS limits with the ability to carry excess losses forward to future years.

How to pay taxes after selling stock? ›

Using IRS Form 8949 to Pay Taxes on Your Stocks

This will identify the stock, the dates it was acquired and sold, the sale price and cost of the stock, the profit or loss, and any federal or state income taxes that were withheld. The IRS and state taxing authorities will also get a copy of the 1099-B.

Do I have to report stocks on taxes if I made less than $500? ›

Regardless of whether you got paid $5 or $500, income is income, and it should all be reported. Your tax preparer can help you to figure out how much of it is actually taxable. Do you have more questions about 1099 forms?

How much stock loss can you write off? ›

No capital gains? 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).

At what age do you not pay capital gains? ›

Since the tax break for over 55s selling property was dropped in 1997, there is no capital gains tax exemption for seniors. This means right now, the law doesn't allow for any exemptions based on your age. Whether you're 65 or 95, seniors must pay capital gains tax where it's due.

How do you calculate tax on a stock sale? ›

How to calculate capital gains tax — step-by-step
  1. Determine your basis. ...
  2. Determine your realized amount. ...
  3. Subtract your basis (what you paid) from the realized amount (how much you sold it for) to determine the difference. ...
  4. Review the descriptions in the section below to know which tax rate may apply to your capital gains.

Are you taxed twice when you sell stock? ›

Double taxation happens when income tax gets levied twice on the same income. So if you're a shareholder or owner of a corporation, then you may face double taxation because your income will come from corporate earnings that were already taxed, and you will also pay taxes on them.

Does selling stock count as income? ›

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.

Does selling stock get taxed twice? ›

The capital gains tax is a form of double taxation, which means after the profits from selling the asset are taxed once; a double tax is imposed on those same profits.

What happens if you sell a stock but don't withdraw money? ›

Even if you don't take the money out, you'll still owe taxes when you sell a stock for more than what you originally paid for it. When tax time rolls around, you'll need to report those capital gains on your tax return.

Does selling shares count as income? ›

Any money that you receive from your investments will be added to all your other types of income, including wages, personal pensions and rental income. Depending on all your earnings, you will then be taxed at the bracket that is applicable to you.

Can I sell stock and reinvest without paying capital gains? ›

With some investments, you can reinvest proceeds to avoid capital gains, but for stock owned in regular taxable accounts, no such provision applies, and you'll pay capital gains taxes according to how long you held your investment.

How much tax do I pay on stock gains? ›

Short-term capital gains taxes are paid at the same rate as you'd pay on your ordinary income, such as wages from a job. Long-term capital gains tax is a tax applied to assets held for more than a year. The long-term capital gains tax rates are 0 percent, 15 percent and 20 percent, depending on your income.

Top Articles
Latest Posts
Article information

Author: Laurine Ryan

Last Updated:

Views: 5819

Rating: 4.7 / 5 (57 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Laurine Ryan

Birthday: 1994-12-23

Address: Suite 751 871 Lissette Throughway, West Kittie, NH 41603

Phone: +2366831109631

Job: Sales Producer

Hobby: Creative writing, Motor sports, Do it yourself, Skateboarding, Coffee roasting, Calligraphy, Stand-up comedy

Introduction: My name is Laurine Ryan, I am a adorable, fair, graceful, spotless, gorgeous, homely, cooperative person who loves writing and wants to share my knowledge and understanding with you.