How Are Stocks Taxed?

Light bulb icon.

Quick Answer

You pay capital gains taxes on stocks you sell for a profit and on dividends you earn as a shareholder. Keep your tax bill down by holding stocks for at least a year and using tax-deferred retirement or college accounts.

Article image.

If you've made money on stocks or other investments, don't forget to set aside some of your profits to pay your tax bill. You'll pay capital gains taxes on money you make selling investments and on dividends you earn as a shareholder. How much tax you'll owe depends on a variety of factors, such as how long you hold a stock before selling it and your tax bracket.

Do You Pay Taxes on Stocks?

Money you make from owning or selling stocks is taxable. Whether you receive dividends or turn a profit from selling stocks and other investments, you'll generally pay short- or long-term capital gains tax on your earnings. Short-term capital gains (on assets you've owned for a year or less) are taxable as ordinary income; long-term capital gains (on assets held more than a year) are taxed at special capital gains tax rates: 0%, 15% or 20%.

Although the IRS says most income is taxable, there are provisions that can reduce the amount of tax you pay on stock gains. Investing in tax-advantaged accounts, donating shares to charity, deducting capital losses, and timing your investments to take advantage of lower long-term capital gains rates are a few ways to potentially lower your tax bill.

Here's more on how and when stocks are taxed, along with a few tips for keeping your tax liability to a minimum.

What Is Capital Gains Tax?

Profits from selling a stock are considered capital gains. These profits are subject to capital gains taxes. Stock profits are not taxable until a stock is sold and the gains are realized. If your stock increases in value but you don't sell it, your unrealized gain isn't taxable.

Capital gains are taxed differently depending on how long you own a stock before you sell it.

  • Long-term capital gains apply to stocks you've held for more than a year.
  • Short-term capital gains apply to stocks you sell after holding them for a year or less.

Of course, a stock sale is only considered a gain if you made a profit. If you sell a stock for less than you paid for it, you may be able to report the loss on your tax return and reduce your overall tax bill.

Compare tax preparation services

You could save time preparing your taxes, and get assistance maximizing your refund. Plus, many services provide audit assistance to give you confidence when you file.

Long-Term Capital Gains Tax Rates

Depending on your income, the current long-term capital gains tax rates are 0%, 15% or 20%. The dollar amounts at which different tax rates kick in are changed annually to account for inflation. Here's how rates break down by your taxable income and tax filing status in 2025 and 2026.

Long-Term Capital Gains Tax Rates

RateSingleMarried Filing JointlyMarried Filing SeparatelyHead of Household
0%Up to $48,350Up to $96,700Up to $48,350Up to $64,750
15%$48,351 - $533,400$96,701 - $600,050$48,351 - $300,000$64,751 - $566,700
20%Over $533,400Over $600,050Over $300,000Over $566,700
RateSingleMarried Filing JointlyMarried Filing SeparatelyHead of Household
0%Up to $49,450Up to $98,900Up to $49,450Up to $66,200
15%$49,451 - $545,500$98,901 - $613,700$49,450 - $306,850$66,201 - $579,600
20%Over $545,500Over $613,700Over $306,850Over $579,600

Source: IRS

Example: Suppose you're a single taxpayer making $85,000. If you buy 100 shares of stock X for $4,000 and sell for $6,700, your capital gain is $2,700. If you owned stock X for more than a year before selling it, you would owe $405 (or 15%) in federal long-term capital gains tax. If your income was $700,000, you would owe $540 (or 20%) in capital gains tax. And if your income was $45,000, you wouldn't owe capital gains tax at all.

Short-Term Capital Gains Tax Rates

Short-term capital gains on investments you've held for a year or less are taxed as ordinary income, using the same marginal tax rates and tax brackets used for your wages. Like other types of taxes, short-term capital gains tax rates are also adjusted annually. Here are the 2025 and 2026 short-term capital gains tax rates by income and filing status:

Short-Term Capital Gains Tax Rates

RateSingleMarried Filing JointlyMarried Filing SeparatelyHead of Household
10%Up to $11,925Up to $23,850Up to $11,925Up to $17,000
12%$11,926 - $48,475$23,851 - $96,950$11,926 - $48,475$17,001 - $64,850
22%$48,476 - $103,350$96,951 - $206,700$48,476 - $103,350$64,851 - $103,350
24%$103,351 - $197,300$206,701 - $394,600$103,351 - $197,300$103,351 - $197,300
32%$197,301 - $250,525$394,601 - $501,050$197,301 - $250,525$197,301 - $250,500
35%$250,526 - $626,350$501,051 - $751,600$250,526 - $375,800$250,501 - $626,350
37%Over $626,350Over $751,600Over $375,800Over $626,350
RateSingleMarried Filing JointlyMarried Filing SeparatelyHead of Household
10%Up to $12,400Up to $24,800Up to $12,400Up to $17,700
12%$12,401 - $50,400$24,801 - $100,800$12,401 - $50,400$17,701 - $67,450
22%$50,401 - $105,700$100,801 - $211,400$50,401 - $105,700$67,451 - $105,700
24%$105,701 - $201,775$211,401 - $403,550$105,701 - $201,775$105,701 - $201,750
32%$201,776 - $256,225$403,551 - $512,450$201,776 - $256,225$201,751 - $256,200
35%$256,226 - $640,600$512,451 - $768,700$256,226 - $384,350$256,201 - $640,600
37%Over $640,600Over $768,700Over $384,350Over $640,600

Source: IRS

Example: Say you turned the same $2,700 profit on Stock X, but this time with a two-week turnaround. Your short-term $2,700 profit would be taxed at the same rate as your regular income. If you're single and your income is $85,000, your short-term capital gain would be taxed at 22%. If you had a larger short-term capital gain of $27,000, some of your gain might be taxed (or partially taxed) at a higher rate, 24%. Using 2026 rates, the first $20,701 of a $27,000 gain would be taxed at 22% and the remaining $6,299 would be taxed at 24%.

How Are Dividends Taxed?

Dividends are taxed at either long-term or short-term capital gains rates. Dividends are income paid out to shareholders of a stock, mutual fund or other investment. They're typically paid quarterly or monthly, in cash or shares, and are taxable based on your income and the type of dividend paid.

  • Non-qualified or ordinary dividends, which include most dividends paid to shareholders, are taxed at short-term capital gains rates.
  • Qualified dividends come from investments in U.S. or qualifying foreign companies whose stock you've held for at least 61 days of a 121-day holding period. Qualified dividends are taxed at long-term capital gains rates.

IRS requirements for qualified dividends can be complicated. Fortunately, if you've earned dividends of $10 or more from any investment, you'll receive Form 1099-DIV or Schedule K. These forms report your dividend income as either qualified or ordinary dividends, so you don't have to make the distinction yourself.

Learn more: How Much Am I Taxed on Dividend Income?

Additional Tax for High-Income Taxpayers

High earners should also be prepared to pay an additional 3.8% net investment income tax (NIIT). Taxpayers who have a modified adjusted gross income that's higher than the following income thresholds will need to pay this additional tax:

Filing StatusIncome Threshold
Married filing jointly$250,000
Married filing separately$125,000
Single$200,000
Head of household$200,00
Qualifying widow(er)$250,000

Source: IRS

The tax itself is 3.8% of either your net investment income or your modified adjusted gross income minus the threshold amount, whichever is less.

How Are Stock Options Taxed?

Exercising stock options and selling your shares of stock are both taxable events. Stock options are taxed differently based on a variety of factors, which can make understanding your tax liability difficult. Here's a broad summary of how incentive stock options (ISOs) and non-qualified stock options (NSOs) are typically taxed.

How Stock Options Are Taxed
When You Exercise OptionsWhen You Sell Shares
Incentive stock options (ISOs)Exercising ISOs typically doesn't trigger income tax but you may be required to pay alternative minimum tax.Profits from the sale of shares are taxed either as ordinary income or as capital gains, if the stock is held according to special IRS holding requirements.
Non-statutory stock options (NSOs)

The difference between the exercise price and full market value may be taxed as ordinary income.

Additionally, you may be taxed on the value of your NSOs if the full market value is readily determinable at the time the options are granted.

Gains from the sale of stock shares are generally taxed as capital gains.

IRS Publication 525 includes more detail on incentive versus non-statutory stock options and how they're taxed. Then again, given the complexities involved in receiving, exercising and selling stock options, you may want to get advice from a tax pro. They can help you accurately estimate your tax liability at each step, so you can make sure you're withholding the correct amount of money at exercise or sale, and that you're reporting and paying tax on your gains appropriately.

Learn more: How to Exercise Your Stock Options

How to Avoid Taxes on on Stocks

You can't avoid taxes entirely, but you can minimize them. One way is to hold onto investments for more than a year before selling them so you can take advantage of favorable long-term capital gains rates. Your broker (or brokerage software) should track this information to help you avoid selling stocks before their time.

Even after taxes, short-term capital gains still put money in your pocket and are a net positive. Still, most of us prefer a lower tax bill to a higher one. A few more ideas for keeping your tax bill down:

  • Use tax-advantaged accounts. Money held in tax-advantaged retirement, health savings (HSA) and college savings accounts are typically tax-deferred or even tax-free. Earnings in traditional IRAs and 401(k)s generally aren't taxed until the money is withdrawn. For HSAs, 529 education accounts and Roth IRAs, your earnings aren't taxed at all if you follow IRS guidelines.
  • Try tax-loss harvesting. When your investments are down, consider selling some of your shares and "harvesting" the loss to offset capital gains and income on your tax return.
  • Donate stocks to charity. Giving stock that you've held for more than a year to a qualified charity could mean a tax deduction for the full market value of the stock. You'll also avoid long-term capital gains taxes.
  • Sell when your tax bracket is low. Realizing gains when your income is low can keep your capital gains rate to a minimum.

Learn more: How to Pay Less Taxes

Additional Tax Information to Consider

While you're thinking about how your stock investments impact your taxes, here are a few additional items to consider:

Quarterly Estimated Taxes

If dividends and capital gains will likely increase your tax liability by $1,000 or more, consider making quarterly estimated tax payments on any stock income you have throughout the year.

Quarterly estimated tax payments are due each year on the following dates. When a due date falls on a weekend or holiday, it's generally moved to the next business day.

  • April 15
  • June 15
  • September 15
  • January 15 (of the following year)

IRS Form 1040-ES can help you calculate your payment. Or, consult with your tax advisor for help figuring out how much to pay.

State Taxes

You may also be on the hook for state taxes on capital gains and dividend income. Check with your state tax board for more information.

Consulting a Tax Pro

If you're doing more than a few trades a year—or if you're even mildly confused about how these taxes apply to you—consulting with a tax professional may be wise. They can help you devise a tax strategy for your stock profits and keep you on track with any taxes you owe.

Learn more: How to Find a Tax Advisor

Frequently Asked Questions

Restricted stock awards and restricted stock units are taxed when they vest and again when they're sold. Restricted stock awards and restricted stock units are used as a form of employee compensation. They typically have a vesting (or waiting) period before they become fully yours.

Restricted stock is taxed as ordinary income when it vests. You're taxed on the value of the restricted stock, and may have the option of either selling shares to cover your tax withholding or paying the withholding directly using other funds or your paycheck. Any short- or long-term capital gains you receive from selling restricted stock are also taxable.

Vested stock is generally reported on your W-2 as supplemental wages. Capital gains are reported on Form 1099-B. Because the tax implications of restricted stock can be complicated, you may want to consult a tax advisor to make sure your bases are covered.

Yes, you can use the gift tax exclusion to transfer stock to another person without paying capital gains or gift taxes. The IRS allows you to make up to $19,000 in untaxed gifts per recipient, per year. If you keep stock transfers under the annual gift tax exclusion, you can avoid reporting the transfer to the IRS (and potentially paying gift or estate tax on it). You can also avoid realizing a capital gain. When the recipient sells the stock, they'll realize the gain (based on what you paid for the stock) and pay tax on it.

Learn more: Can You Give Stock as a Gift?

Yes, when you lose money on a stock sale, you can use your capital loss to offset capital gains and lower your taxable income by up to $3,000 ($1,500 if married filing separately). If you have leftover loss, you can carry it over to future years. Carryover losses can offset an unlimited amount of capital gain and up to $3,000 per year of regular income.

The Bottom Line

Calculating and paying taxes on capital gains and dividends is definitely not the fun part of winning in the stock market. But understanding long- and short-term capital gains and dividends―and planning ahead to minimize and pay for your tax bill—helps make the process manageable.

Save time—find the right tax prep service

Skip the guesswork with these top tax preparation services. Get help filing your taxes confidently and on time.

Get tax help now

On SuperMoney.com

Promo icon.

About the author

Gayle Sato writes about financial services and personal financial wellness, with a special focus on how digital transformation is changing our relationship with money. As a business and health writer for more than two decades, she has covered the shift from traditional money management to a world of instant, invisible payments and on-the-fly mobile security apps.

Read more from Gayle

Explore more topics

Share article

Experian app.

Download the free Experian appCarry trusted financial tools with you

Download from the Apple App Store.Get it on Google Play.
Experian's Diversity logo.

Experian’s Inclusion and BelongingLearn more how Experian is committed