Taxes on Stocks: What You Have to Pay, How to Pay Less - NerdWallet (2024)

MORE LIKE THISTaxes

The stock market climbing to record highs might have some people thinking, "Is it time to start investing in stocks?" That's up to you.

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

Capital gains tax on stocks: Do you have to pay?

Yes. If you sell stocks for a profit, you'll likely have to pay capital gains taxes.

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.

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, you'll have to pay the capital gains tax. Note that you will, however, pay taxes on dividends whenever you receive them.

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.

File your taxes with confidence

Register for a free NerdWallet account or sign in to gain access to an exclusive one-hour, previously recorded webinar about tax filing and tax planning strategies. Watch on demand!

Get started

Taxes on Stocks: What You Have to Pay, How to Pay Less - NerdWallet (1)

How are stocks taxed?

There are two types of capital gains taxes on realized stock gains:

Short-term capital gains tax

Short-term capital gains tax is a tax on profits from the sale of an asset held for a year or less. Short-term capital gains tax rates are the same as your income tax bracket. » MORE: Not sure what tax bracket you’re in? Learn about federal tax brackets.

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.

Long-term capital gains tax rates are usually lower than those on short-term capital gains. That can mean paying lower taxes on stock sales.

» MORE: See the capital gains tax rates

Taxes on Stocks: What You Have to Pay, How to Pay Less - NerdWallet (2)

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 You Have to Pay, How to Pay Less - NerdWallet (3)

Transparent pricing

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

Taxes on Stocks: What You Have to Pay, How to Pay Less - NerdWallet (4)

Maximum refund guaranteed

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

Taxes on Stocks: What You Have to Pay, How to Pay Less - NerdWallet (5)

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 You Have to Pay, How to Pay Less - NerdWallet (6)

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

When do you have to pay taxes on stocks?

Taxes on stocks and dividends are incurred in the tax year when 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 2023, you’ll receive a1099-B, which will detail your transactions. You’ll use that information for your2023 tax return,filed in April 2024.

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.

What is net investment income tax?

Some high-income investors also may 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 You Have to Pay, How to Pay Less - NerdWallet (7)

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 You Have to Pay, How to Pay Less - NerdWallet (8)

How to pay lower taxes when selling stocks

1. Think long term versus short term

  • You might pay less tax on your dividends by holding the shares long enough for the dividends to count as qualified. 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 investment gains. 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 CPA or financial advisor to help you make the right moves.

Taxes on Stocks: What You Have to Pay, How to Pay Less - NerdWallet (2024)

FAQs

Taxes on Stocks: What You Have to Pay, How to Pay Less - NerdWallet? ›

An easy and impactful way to reduce your capital gains taxes is to use tax-advantaged accounts. Retirement accounts such as 401(k) plans, and individual retirement accounts offer tax-deferred investment. You don't pay income or capital gains taxes at all on the assets in the account.

How do I pay less taxes on stocks? ›

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

What is a simple trick for avoiding capital gains tax? ›

An easy and impactful way to reduce your capital gains taxes is to use tax-advantaged accounts. Retirement accounts such as 401(k) plans, and individual retirement accounts offer tax-deferred investment. You don't pay income or capital gains taxes at all on the assets in the account.

How to avoid NIIT tax? ›

Invest in tax-exempt municipal and state bonds.

The interest and dividends from these investments are not subject to the NIIT, and the interest is excluded from MAGI for NIIT purposes.

How much taxes do you need to pay for stocks? ›

If you've owned the stock for less than a year before selling it at a profit, you'll owe taxes on it at your regular income tax rate. If you owned the stock for more than a year, the long-term capital gains tax rates will apply. These rates are dependent on your overall income, but may be 0%, 15% or 20%.

How to pay 0 capital gains tax? ›

Capital gains tax rates

A capital gains rate of 0% applies if your taxable income is less than or equal to: $44,625 for single and married filing separately; $89,250 for married filing jointly and qualifying surviving spouse; and.

Do you pay less taxes if you lose money on stocks? ›

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.

How do rich avoid taxes on investments? ›

Billionaires (usually) don't sell valuable stock. So how do they afford the daily expenses of life, whether it's a new pleasure boat or a social media company? They borrow against their stock. This revolving door of credit allows them to buy what they want without incurring a capital gains tax.

How can I reduce my investment taxes? ›

Here are 6 of my favorite strategies for lowering investment taxes.
  1. Consider tax-efficient investments. ...
  2. Reduce your taxable income with a health savings account (HSA) ...
  3. Divide assets among accounts with asset location. ...
  4. Look for opportunities to offset gains. ...
  5. Take a tax-efficient approach to withdrawals.
Mar 5, 2024

How do investors pay no taxes? ›

A Roth IRA isn't an investment itself, but a retirement account for tax-free investing. With a Roth IRA, you contribute after-tax dollars to your account, up to the annual limit. For 2024, the limit is $7,000 (up from $6,500 in 2023), plus an additional $1,000 catch-up contribution if you're 50 or older.

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.

How long to hold stock to avoid tax? ›

If you hold the asset for less than one year before you sell, it is a short-term investment for capital gains tax purposes. This means your profits are taxed as ordinary income just like a paycheck. The 2023 short-term capital gains rates for those income tax brackets are as follows according to the IRS.

How much stock can I sell without paying tax? ›

Capital Gains Tax
Long-Term Capital Gains Tax RateSingle Filers (Taxable Income)Head of Household
0%Up to $44,625Up to $59,750
15%$44,626-$492,300$59,751-$523,050
20%Over $492,300Over $523,050

How can I exchange stocks without paying taxes? ›

You and other investors who want to avoid paying tax on stocks that have appreciated, will “sell” (in actuality contribute) and reinvest, through a swap. This process involves swapping your appreciated shares for a diversified portfolio of stocks of equivalent value, effectively deferring capital gains tax.

How do traders pay less taxes? ›

Holding an investment for more than a year usually allows traders to take advantage of lower long-term capital gains tax rates. Capital gains distributions and dividend distributions—the money you make on your investments—require you to pay taxes in the year you take these distributions.

How do you take tax losses on stocks? ›

How Do I Deduct Stock Losses on My Tax Return? You must fill out IRS Form 8949 and Schedule D to deduct stock losses on your taxes. Short-term capital losses are calculated against short-term capital gains to arrive at the net short-term capital gain or loss on Part I of the form.

Top Articles
Latest Posts
Article information

Author: Barbera Armstrong

Last Updated:

Views: 6417

Rating: 4.9 / 5 (59 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Barbera Armstrong

Birthday: 1992-09-12

Address: Suite 993 99852 Daugherty Causeway, Ritchiehaven, VT 49630

Phone: +5026838435397

Job: National Engineer

Hobby: Listening to music, Board games, Photography, Ice skating, LARPing, Kite flying, Rugby

Introduction: My name is Barbera Armstrong, I am a lovely, delightful, cooperative, funny, enchanting, vivacious, tender person who loves writing and wants to share my knowledge and understanding with you.