If you are thinking about selling stocks or crypto in 2026, your tax result may depend more on when you sell than on what you sell. For federal tax purposes, the key questions are your holding period, your basis, whether you have gains or losses to net, and whether tax-loss harvesting triggers a wash sale problem. This guide explains the 2026 rules, rates, forms, and planning points you should check before you trade, so you are not surprised in the 2027 filing season. It is federal-only unless noted otherwise.
Quick Takeaways
- Long-term gains are usually better than short-term gains because assets held for more than one year can qualify for lower federal rates.
- For tax year 2026, long-term capital gains are generally taxed at 0%, 15%, or 20%, depending on taxable income.
- Short-term gains are taxed as ordinary income, which can be much higher at high income levels.
- Tax-loss harvesting can help, but wash sale rules can disallow a stock loss if you buy substantially identical stock or securities within 30 days before or after the sale.
- If you sell crypto or other digital assets, the IRS treats them as property, and you generally report capital gains or losses on Form 8949 and Schedule D.
Who This Applies To
This article is for individual investors who may sell stocks, ETFs, mutual funds, bonds, or crypto/digital assets in 2026. It is not for business asset sales or corporate returns. If you hold investments in a taxable brokerage account, a retirement account, a partnership, or an S corporation, the tax result can change based on the account type and the way the transaction is reported. If you have a state income tax return, your state may treat gains and losses differently from the federal rules.
Introduction
Capital gains tax planning is mostly about avoiding surprises. A sale that looks simple can create a very different tax result depending on whether the gain is short term or long term, whether you have offsetting losses, and whether the transaction creates estimated tax or net investment income tax exposure. The IRS says gains from selling assets, including stocks and other investments, are part of the estimated tax picture when withholding is not enough.
For 2026, the most important planning questions are: Is my gain long term or short term? Do I have losses I can use? Will the sale push me into a higher capital gains bracket or trigger NIIT? And if I am selling crypto, do I have complete basis and transaction records?
What Capital Gains Are
A capital asset is generally property you own for personal use or investment, including stocks, bonds, and similar investment property. When you sell a capital asset, your gain is the amount realized minus your adjusted basis, and your loss is the amount realized less than your adjusted basis. The IRS also says digital assets held for personal or investment purposes are taxed as capital gain or loss when sold or disposed of.
The holding period matters. The IRS says a gain or loss is generally long term if you hold the asset for more than one year. If you hold it for one year or less, it is short term. For digital assets, the IRS uses the same one-year rule for capital gain or loss treatment.
2026 Capital Gains Rates and Thresholds
For tax year 2026, the IRS says long-term capital gains rates are based on taxable income and are generally no higher than 15% for many individuals, with a 0% band at lower income levels and a 20% rate above the 15% thresholds. The 2026 thresholds are below.
| 2026 long-term capital gains rate | Single | Married filing separately | Married filing jointly / qualifying surviving spouse | Head of household |
|---|---|---|---|---|
| 0% up to taxable income | $49,450 | $49,450 | $98,900 | $66,200 |
| 15% up to taxable income | $545,500 | $306,850 | $613,700 | $579,600 |
| 20% applies above the 15% threshold | Above $545,500 | Above $306,850 | Above $613,700 | Above $579,600 |
The IRS also says short-term gains are taxed as ordinary income at graduated rates. For 2026, the top ordinary rate is 37% once taxable income goes over $640,600 for single or head of household filers, $768,700 for married filing jointly, and $384,350 for married filing separately.
What Changed for 2026
The main 2026 change for investors is that the IRS updated the annual income thresholds for long-term gains, ordinary brackets, and related planning items. The numbers are higher than before, but that does not mean capital gains are cheap for everyone. It just means the tax brackets shift with inflation and annual law changes.
Another 2026 issue for crypto investors is reporting. The IRS says digital-asset broker reporting phases in over time, with gross proceeds reporting beginning for transactions on or after January 1, 2025, and basis reporting on certain transactions beginning for transactions on or after January 1, 2026. That makes your own lot tracking more important, not less.
How to Plan Before You Sell
1) Check your holding period first
If you are close to the one-year mark, waiting a little longer can move a gain from short term to long term. That can make a large difference because long-term gains may qualify for 0%, 15%, or 20% rates, while short-term gains are taxed as ordinary income.
2) Know your basis before you click “sell”
Your basis is usually your cost, adjusted for certain items. For stocks and other securities, that means your purchase price plus or minus items that change basis. For digital assets, the IRS says basis is generally the cost in U.S. dollars, and you should keep the date, time, number of units, fair market value, and transaction details.
If you do not know your basis, you cannot reliably know your gain or loss. That is a recordkeeping problem, not just a tax problem.
3) Use losses carefully
If your losses exceed your gains, the IRS says you can generally deduct the lesser of $3,000 or your total net loss, with a smaller limit of $1,500 if married filing separately. Any extra loss carries forward to later years. That is the basic rule behind tax loss harvesting.
4) Watch for wash sale problems on stocks and securities
The IRS says a wash sale happens when you sell or trade stock or securities at a loss and buy substantially identical stock or securities within 30 days before or after the sale. If that happens, your loss is generally disallowed for now and added to the basis of the new shares. The rule also can apply if your spouse or a corporation you control buys substantially identical stock.
Myth vs. fact: Myth: “I can sell a losing stock on Friday and buy it back Monday to harvest the loss.” Fact: The IRS wash sale rule looks at a 30-day window before and after the sale, so that trade can disallow the loss.
5) Be careful with crypto tax-loss harvesting
The IRS treats digital assets as property, and the digital-asset pages direct you to report capital transactions on Form 8949 and Schedule D. The wash sale rules in Publication 550 are written for stock or securities, while the IRS also has separate guidance for digital assets and tokenized securities. If you plan to sell crypto at a loss and buy it back quickly, do not assume the stock wash-sale rule works exactly the same way for every token or platform; confirm the treatment for your specific asset and facts before you trade.
Forms and Reporting
Most stock and crypto sales are reported on Form 8949, Sales and Other Dispositions of Capital Assets, then summarized on Schedule D (Form 1040), Capital Gains and Losses. The IRS also says you may need to answer the digital-asset question on your return if you had digital asset transactions during the year.
For digital assets, the IRS says you must report transactions whether or not they produce taxable gain or loss. If you are paid as an employee or independent contractor in digital assets, or if you receive digital assets in a business context, the tax rules can shift from capital gain rules to ordinary income rules. That is one reason crypto records matter so much.
Deadlines, Estimated Tax, and NIIT
If you have a taxable capital gain, the IRS says you may need to make estimated tax payments. The general rule for 2026 is that you may need to pay estimated tax if you expect to owe at least $1,000 after withholding and credits and your withholding and credits are not enough to meet the IRS safe-harbor tests.
High-income investors should also watch NIIT, the Net Investment Income Tax. The IRS says NIIT is 3.8% of the lesser of net investment income or the excess of MAGI over $200,000 for single and head of household, $250,000 for married filing jointly or qualifying surviving spouse, and $125,000 for married filing separately. A big stock sale or crypto sale can push you into that range.
Practical Examples With Figures
These are simplified illustrations, not full tax computations.
Example 1: A long-term stock gain stays in the 0% band
Nina is single and has $44,000 of taxable income before a stock sale. She sells a stock she held for 18 months and realizes a $4,000 long-term capital gain. Her total taxable income becomes $48,000, which is still below the 2026 $49,450 long-term gain threshold for the 0% rate for single filers. In a simplified scenario like this, the long-term gain may be taxed at 0%.
Example 2: A short-term crypto gain is taxed like ordinary income
Jamal sells crypto after holding it for 8 months and realizes a $12,000 gain. Because the holding period is one year or less, the gain is short term. The IRS says short-term gains are taxed as ordinary income, so Jamal’s gain can be taxed at his regular rate rather than at long-term capital gains rates. If his taxable income is high enough, the gain can also interact with NIIT.
Example 3: A stock-loss harvest works, but only part of the loss is currently deductible
Elena has a $9,000 long-term gain from one stock sale and a $14,000 loss from another stock she held for investment. Her net result is a $5,000 capital loss. The IRS says she can generally deduct up to $3,000 of net capital loss in 2026, and the remaining $2,000 carries forward. If she bought substantially identical stock within the wash-sale window, the loss treatment could change.
Capital Gains Planning Checklist
| Planning question | Why it matters | IRS source |
|---|---|---|
| Did I hold the asset more than one year? | Determines short-term vs. long-term treatment. | Topic no. 409; Digital assets page. |
| Do I know my basis? | Basis is needed to compute gain or loss. | Topic no. 409; Digital assets page. |
| Am I selling at a loss and buying back soon? | Wash sale rules may disallow a stock or securities loss. | Publication 550. |
| Will my gain create estimated tax? | Large gains may require payments during the year. | Publication 505; Topic no. 409. |
| Could NIIT apply? | Investment income can be hit with a 3.8% tax above the thresholds. | Publication 505. |
| Am I selling crypto through a broker? | 1099-DA and basis reporting are phasing in for 2026 transactions. | Digital assets page. |
FAQ
Are all stock gains taxed the same way?
No. The IRS separates gains into short term and long term. Short-term gains are taxed as ordinary income, while long-term gains use the special capital gains rates.
What is the 2026 long-term capital gains rate for most investors?
For 2026, long-term gains can be taxed at 0%, 15%, or 20%, depending on taxable income and filing status. The exact thresholds are different for single, joint, head of household, and married filing separately filers.
Can I deduct all of my capital losses?
Usually not. The IRS says the annual deduction is generally limited to $3,000, or $1,500 if married filing separately, with the rest carried forward.
Does the wash sale rule apply to crypto?
The IRS wash-sale rule is written for stock or securities, and the IRS has separate digital-asset guidance. Because digital-asset reporting and tokenized-security rules are evolving, do not assume every crypto loss-harvesting trade is treated the same way as a stock wash sale. Check the facts before you repurchase.
What forms do I need for stock or crypto sales?
Most investors use Form 8949 and Schedule D. For digital assets, the IRS also says you may need to answer the digital-asset question on your return.
Do I need to make estimated tax payments after a big gain?
Maybe. The IRS says capital gains are part of the estimated-tax calculation, and you may need to pay estimated tax if withholding and credits are not enough.
Bottom Line
For capital gains tax 2026, the biggest planning wins usually come from timing, holding period, basis tracking, and loss harvesting done the right way. Stocks and crypto can both create capital gains, but the tax details are not identical. If you know the one-year rule, the 2026 rate thresholds, the wash-sale rules for stocks, and the reporting rules for digital assets, you can make better decisions before you sell.
What to Do Next
- Check whether your asset will be short term or long term before you sell.
- Pull your basis records and confirm your gain or loss.
- If you are tax-loss harvesting, review the wash-sale window before buying back stock.
- If you traded crypto, make sure your broker reporting and wallet records match.
- If your gains are large or your return is complex, ask a CPA, EA, or tax attorney to review your numbers before you file.
Source note: Sources consulted: IRS Topic no. 409, Capital gains and losses; IRS Publication 505 (2026); IRS Publication 550; IRS digital assets guidance; IRS Instructions for Schedule D; and related official IRS pages and notices on capital gains, estimated tax, NIIT, wash sales, and digital-asset reporting.