Bitget App
Trade smarter
Buy cryptoMarketsTradeFuturesEarnSquareMore
daily_trading_volume_value
market_share59.20%
Current ETH GAS: 0.1-1 gwei
Hot BTC ETF: IBIT
Bitcoin Rainbow Chart : Accumulate
Bitcoin halving: 4th in 2024, 5th in 2028
BTC/USDT$ (0.00%)
banner.title:0(index.bitcoin)
coin_price.total_bitcoin_net_flow_value0
new_userclaim_now
download_appdownload_now
daily_trading_volume_value
market_share59.20%
Current ETH GAS: 0.1-1 gwei
Hot BTC ETF: IBIT
Bitcoin Rainbow Chart : Accumulate
Bitcoin halving: 4th in 2024, 5th in 2028
BTC/USDT$ (0.00%)
banner.title:0(index.bitcoin)
coin_price.total_bitcoin_net_flow_value0
new_userclaim_now
download_appdownload_now
daily_trading_volume_value
market_share59.20%
Current ETH GAS: 0.1-1 gwei
Hot BTC ETF: IBIT
Bitcoin Rainbow Chart : Accumulate
Bitcoin halving: 4th in 2024, 5th in 2028
BTC/USDT$ (0.00%)
banner.title:0(index.bitcoin)
coin_price.total_bitcoin_net_flow_value0
new_userclaim_now
download_appdownload_now
does selling stock at a loss affect taxes

does selling stock at a loss affect taxes

Selling stock at a loss creates a realized capital loss that can lower your federal (and often state) tax bill by offsetting capital gains and up to $3,000 of ordinary income per year, subject to r...
2026-01-24 04:33:00
share
Article rating
4.5
116 ratings

does selling stock at a loss affect taxes

Selling securities raises an immediate question for many investors: does selling stock at a loss affect taxes? In short, yes — a sale that realizes a loss creates a capital loss for tax purposes that can reduce taxable capital gains and, within limits, ordinary income. This article explains how realized losses work, the difference between realized and unrealized losses, wash‑sale rules, reporting requirements (Form 8949 and Schedule D), lot identification, carryforwards, state considerations, special cases like retirement accounts and crypto, and practical year‑end tactics for tax‑loss harvesting.

As of June 2024, according to Vanguard and Charles Schwab guidance, tax‑loss harvesting remains a commonly used strategy to improve after‑tax returns when done within IRS rules. This guide is educational, not tax advice; consult a CPA or enrolled agent for personal guidance.

Key concepts and definitions

  • Realized loss vs unrealized loss: A loss is "realized" only when you sell the asset. A decline in market value that you haven’t sold is an "unrealized" or paper loss and does not affect your taxes until you dispose of the position. If you buy back or otherwise dispose of the asset, additional rules (like the wash‑sale rule) may apply.

  • Capital asset: Most investment holdings (stocks, ETFs, bonds) are capital assets. Gains and losses on capital assets are reported as capital gains or losses.

  • Cost basis / adjusted basis: Cost basis is typically what you paid for the asset plus transaction costs. Adjusted basis accounts for events that change basis (reinvested dividends, splits, adjustments). Accurate basis is essential for calculating gain or loss on sale.

  • Holding period: The time between acquisition and sale determines whether a gain or loss is short‑term (held 1 year or less) or long‑term (held more than 1 year). Holding period affects tax rates on gains and the order in which gains and losses are netted.

How capital losses affect taxes — basic mechanics

When you sell at a loss, the loss is a capital loss for the tax year in which you sold. The basic sequence for applying capital losses against taxable income is:

  1. Realized capital losses offset realized capital gains in the same tax year.
  2. If capital losses exceed capital gains, you may deduct up to $3,000 of the net capital loss against ordinary income in the tax year ($1,500 if married filing separately).
  3. Any unused net capital loss is carried forward to future years indefinitely until used.

Example headline numbers to remember: net capital loss offset limit $3,000 per year for most filers; married filing separately $1,500. These limits are statutory and widely cited by tax guidance from major brokerages and tax resources.

Netting order (short vs long)

The IRS requires a two‑step netting process:

  • Net short‑term gains and short‑term losses (short = holding period ≤ 1 year).
  • Net long‑term gains and long‑term losses (long = > 1 year).
  • Then net the short‑term net against the long‑term net. If the result is a net loss, that net loss is the capital loss available to offset ordinary income up to the $3,000 limit.

This order matters because short‑term gains are taxed at ordinary income rates (usually higher) and long‑term gains at preferential rates; matching losses to similar categories can be tax advantageous.

Short‑term vs long‑term treatment

  • Short‑term gains and losses: Acquisitions and dispositions with a holding period of one year or less are short‑term. Net short‑term gains are taxed at ordinary income tax rates.

  • Long‑term gains and losses: Holding more than one year produces long‑term classification, taxed at preferential long‑term capital gains rates (0%, 15%, 20% depending on taxable income and filing status).

  • Losses follow the same classification. A short‑term loss will first offset short‑term gains; a long‑term loss will first offset long‑term gains.

Practical point: If you have large short‑term gains that will be taxed at high marginal rates, realizing short‑term losses to offset those gains can be more valuable than long‑term losses for tax savings.

Tax‑loss harvesting

Tax‑loss harvesting is the deliberate sale of losing investments to realize capital losses for tax purposes. Typical goals:

  • Offset realized capital gains during the year so those gains are not taxed.
  • Reduce taxable ordinary income by up to $3,000 if losses exceed gains.
  • Rebalance a portfolio while capturing tax benefits.

Common tactics and considerations:

  • Identify positions with unrealized losses that you no longer want to hold or that you wish to replace with a similar but not "substantially identical" investment.
  • Harvest losses across lots using specific identification to choose cost basis lots that produce the desired treatment (short vs long term).
  • Avoid wash sales (see next section). Replacing a sold security with a substantially identical holding within 30 days before or after the sale disallows the current year deduction.
  • Balance tax benefits against transaction costs, bid/ask spreads, and investment objectives — tax reasons alone should not drive poor investment decisions.

Major brokerage and personal finance sources (Vanguard, Charles Schwab, NerdWallet) describe tax‑loss harvesting as a valid tool for tax efficiency when used properly.

Wash‑sale rule and timing constraints

The wash‑sale rule disallows a loss deduction if you purchase the same or a "substantially identical" security within 30 calendar days before or after realizing the loss. Key points:

  • The 61‑day window = 30 days before sale + day of sale + 30 days after sale.
  • If a wash sale occurs, the loss is not permanently disallowed; instead the disallowed loss is added to the basis of the replacement shares. That defers recognition until you sell the replacement shares.
  • The wash‑sale rule applies across accounts: purchases in an IRA, another brokerage account, or by a spouse (if filing jointly) can trigger a wash sale if the taxpayer controls those funds.

What counts as "substantially identical" can be straightforward for individual company stock (same ticker) and less clear for different funds. For example:

  • Selling shares of Company X and buying shares of the same Company X within the 61‑day window creates a wash sale.
  • Selling shares of an index mutual fund and buying an ETF that tracks the same index could be treated as substantially identical depending on facts and broker reporting rules; tax practitioners advise caution.

Avoiding wash sales:

  • Wait 31 days after sale to buy back the same security.
  • Replace the sold position with a different, not substantially identical security that maintains similar market exposure (e.g., different fund tracking similar but not identical indices or sector ETFs that are not substantially identical according to your tax advisor).
  • Use tax‑aware brokerage features (many brokerages provide wash‑sale reporting), and consider using a tax professional when harvesting large losses.

Crypto and the wash‑sale rule (uncertain areas)

As of available guidance through mid‑2024, the IRS codified wash‑sale rules apply explicitly to securities. The application of wash‑sale rules to cryptocurrencies is debated among tax professionals because crypto is often treated as property, not a security. No definitive IRS guidance had closed the question by June 2024; therefore:

  • Many tax advisors treat crypto trades as capital gains/losses but not subject to the wash‑sale rule, while others caution that the IRS could assert different treatment.
  • Because guidance may change, taxpayers with significant crypto activity should consult a tax professional and monitor IRS notices.

Bitget and Bitget Wallet users holding crypto should be particularly attentive to emerging IRS guidance and keep detailed records of buys, sells, and transfers.

Reporting requirements and tax forms

When you sell investments at a loss, you will generally report the transactions and resulting gains or losses on IRS forms:

  • Form 8949 — Sales and Other Dispositions of Capital Assets: Each transaction is reported here (unless you meet limited exceptions). Form 8949 distinguishes transactions based on whether basis was reported to the IRS by the broker and whether adjustments (like wash‑sale deferrals) apply.

  • Schedule D (Form 1040) — Capital Gains and Losses: Totals from Form 8949 flow to Schedule D, which computes net short‑term and long‑term gains/losses and applies the $3,000 ordinary income offset if applicable.

  • Broker 1099‑B: Brokerages send Form 1099‑B showing gross proceeds, cost basis (when available), and whether basis was reported to the IRS. Verify 1099‑B lines against your records for discrepancies, including wash‑sale adjustments.

Accurate reporting requires correct cost basis, matching of lots, and capturing wash‑sale adjustments. Many investors use tax software that ingests broker 1099‑B data; however, when brokers report basis inconsistently or adjustments exist, manual review is often necessary.

Cost basis methods and lot accounting

Different cost basis methods affect the gain/loss calculation and the short‑term vs long‑term character of the sale. Common methods:

  • FIFO (First In, First Out): Default at many brokerages; earliest purchased shares are matched to sales.
  • Specific Identification (SpecID): You explicitly identify which lot(s) you sold — useful for tax‑loss harvesting to select long‑term lots or lots with higher basis.
  • Average cost: Often used for mutual funds and some ETFs; basis is averaged across shares.

Why lot identification matters:

  • Using Specific Identification can allow you to harvest losses while preserving long‑term lots, or to realize short‑term losses against short‑term gains depending on strategy.
  • If you do not specify lots at sale, brokers will typically use FIFO, which may result in different tax outcomes.

Always confirm lot instructions with your brokerage and maintain records of lot elections.

Carryforwards and multi‑year planning

If your net capital losses exceed the $3,000 ordinary income deduction limit for the year, you carry forward the unused losses indefinitely. Carryforward rules:

  • The carried forward loss retains its character (short vs long) and is used on future tax returns to offset gains first, then up to $3,000 of ordinary income per year.
  • Keep careful records of the year‑end unused loss amount — it must be tracked across tax years, and Form 8949 and Schedule D entries should reflect any prior carryforwards used.

Example: If you have a $10,000 net capital loss in Year 1 and no capital gains, you can deduct $3,000 against ordinary income in Year 1; $7,000 carries forward to Year 2. If in Year 2 you realize $2,000 of capital gains, the carryforward first offsets those gains; then you may deduct up to $3,000 of the remaining loss vs ordinary income, and so on.

Special situations and exceptions

  • Retirement accounts (IRAs, 401(k)s): Losses in tax‑advantaged retirement accounts are generally not deductible. Selling at a loss inside a traditional IRA or Roth IRA does not create a deductible capital loss on your Form 1040. Converting assets or making prohibited transactions can have other tax consequences — consult a professional.

  • Short sales, options, and margin accounts: These positions have special tax rules and can complicate wash‑sale calculations and basis adjustments. Short‑term borrowing, option exercises, and margin calls may affect holding periods and basis.

  • Worthless or bankrupt securities: If a security is completely worthless during the tax year, taxpayers may be able to claim a loss as if it were sold on the last day of the tax year, but rules are technical and often require evidence of worthlessness.

  • Replacement purchases and corporate actions: Reorganizations, mergers, spin‑offs, and dividend reinvestment plans (DRIPs) can affect basis and holding periods — maintain documentation.

State tax considerations

Many U.S. states follow the federal treatment of capital gains and losses, but some states differ in netting rules, carryforward limits, or tax rates. Check state tax guidance or consult a tax advisor about differences that might affect the state income tax owed when you sell at a loss.

Practical considerations and common pitfalls

  • Year‑end timing: To realize a loss for a particular tax year, the sale must settle within that year (trade date vs settlement date rules generally mean the trade date is counted for tax purposes, but confirm with your broker). Generally, make trades by Dec 31 to affect that tax year.

  • Inadvertent wash sales: Automatic dividend reinvestments, reinvesting proceeds in the same fund family, or purchases in other accounts can trigger wash sales. Disable automatic dividend reinvestment or time purchases carefully if harvesting losses near year‑end.

  • Transaction costs and bid/ask spreads: Consider trading costs; small losses harvested purely for tax reasons may not be worth the expense.

  • Investment strategy vs tax strategy: Don’t sacrifice long‑term portfolio goals solely for short‑term tax benefits. Tax‑loss harvesting should be integrated with rebalancing and investment policy.

  • Broker reporting differences: Brokers may report cost basis and wash‑sale adjustments differently. Review your 1099‑B carefully and reconcile with your records before filing.

  • Automation & tools: Many platforms (including portfolio providers and tax software) offer tax‑lot tracking. Bitget users can pair transaction history with accounting tools for better tax reporting; consult Bitget Wallet records for crypto transactions.

Examples and numeric illustrations

Example 1 — Offsetting capital gains and using the $3,000 limit:

  • You realized a $10,000 long‑term capital gain earlier in the year.
  • You sell another position at a $12,000 realized long‑term loss.
  • The $12,000 loss first offsets the $10,000 gain, leaving a $2,000 net capital loss. You may deduct $2,000 against ordinary income in the same year (under the $3,000 limit). No carryforward remains.

Example 2 — Carryforward over multiple years:

  • Year 1: $20,000 net capital loss; no gains. Deduct $3,000 vs ordinary income; carry forward $17,000.
  • Year 2: $5,000 capital gains realized. $5,000 of the carryforward offsets Year 2 gains, leaving $12,000. Deduct $3,000 vs ordinary income in Year 2; carry forward $9,000 to Year 3.

Example 3 — Short‑term loss offsets short‑term gain:

  • You have $8,000 short‑term gains and $5,000 long‑term gains in the year.
  • You realize $9,000 of short‑term losses and $1,000 long‑term losses.
  • Net short‑term: $8,000 gain − $9,000 loss = $1,000 short‑term net loss.
  • Net long‑term: $5,000 gain − $1,000 loss = $4,000 long‑term net gain.
  • Net combined: $4,000 (long) − $1,000 (short loss) = $3,000 net long‑term gain. No capital loss deduction against ordinary income is required; your long‑term gains are reduced.

These examples demonstrate the netting order's effects and how losses flow through to ordinary income.

Recordkeeping and documentation

Keep organized records for each trade and adjustment:

  • Trade confirmations and monthly/annual brokerage statements.
  • Form 1099‑B and any broker cost‑basis worksheets.
  • Records of lot elections and Specific Identification confirmations.
  • Notes of replacement purchases and dates to document potential wash‑sale issues.
  • Documentation for DRIPs, corporate actions, and any corrections to broker reporting.

Retain records for several years; the IRS typically recommends keeping records that support basis and holding period until the period of limitations expires for the year in question (often 3–7 years depending on circumstances).

Frequently asked questions (FAQ)

Q: If I sell at a loss, do I get a refund immediately? A: No. Selling at a loss reduces taxable income for the year in which the loss is realized; any resulting lower tax liability will be reflected when you file your tax return. You will not receive an immediate cash refund from the broker for tax losses.

Q: Are paper losses deductible? A: No. Only realized losses (sold positions) can be used to claim a tax deduction. Paper losses (unrealized losses) do not affect your tax return until you sell.

Q: Does the wash‑sale rule apply to mutual funds and ETFs? A: The wash‑sale rule applies to "substantially identical" securities. For identical tickers, the rule clearly applies. For mutual funds vs ETFs tracking the same index, the determination can be nuanced. When in doubt, consult a tax professional.

Q: What about cryptocurrencies? A: As of mid‑2024, crypto is generally reported as property for capital gains/losses, and the application of the wash‑sale rule to crypto remains uncertain. Check the latest IRS guidance and consult a tax professional.

Q: Will my broker track wash sales for me? A: Many brokers report wash‑sale adjustments on Form 1099‑B when they have sufficient information, but responsibility ultimately lies with the taxpayer to ensure correct tax reporting across all accounts.

When to consult a tax professional

Consider professional advice if you:

  • Have large or complex capital gains/losses, carryforwards, or multiple taxable accounts.
  • Trade frequently or have positions involving options, margin, short sales, or international securities.
  • Have substantial cryptocurrency activity or conversions between wallets and exchanges.
  • Face audit risk or need help reconciling broker 1099‑B discrepancies.

A CPA or enrolled agent can help with lot identification strategies, wash‑sale complexities, and state tax differences.

See also

  • Capital gains tax basics
  • Schedule D (Form 1040) overview
  • Form 8949 explained
  • Tax‑loss harvesting strategies
  • Tax‑advantaged retirement accounts and taxes

References and further reading

  • Vanguard — Tax‑loss harvesting explained (guidance reviewed as of June 2024).
  • Charles Schwab — How to Cut Your Tax Bill with Tax‑Loss Harvesting (guidance reviewed as of June 2024).
  • Investopedia — How to Deduct Your Stock Losses and Increase Your Tax Savings; Capital Losses and Tax (general tax rules).
  • Bankrate — How To Deduct Stock Losses From Your Taxes; Tax‑loss harvesting guide.
  • NerdWallet — Tax‑Loss Harvesting: What It Is, How It Works.
  • Nolo — How to Claim a Stock Loss Tax Deduction.

(Reporting note: As of June 2024, the listed brokerages and personal finance publishers provide public guidance on capital losses, tax‑loss harvesting, and wash‑sale rules. Consult current IRS publications for the latest official rules.)

Notes and cautions

U.S. federal tax rules can change. This article summarizes widely used principles and public guidance as of mid‑2024 and is not individualized tax advice. For crypto specifics and any recent rule changes after June 2024, consult current IRS guidance or a tax professional.

Practical next steps

  • If you want to explore trading or custody options while maintaining good tax records, consider Bitget for trading activity and Bitget Wallet for self‑custody recordkeeping. Keep thorough records of buys, sells, transfers, and any reinvestments to support accurate tax reporting.

  • For year‑end tax‑loss harvesting, review positions with unrealized losses before December 31, identify lots you will sell using Specific Identification where helpful, and plan purchases to avoid wash‑sale issues.

Further action: consult a qualified tax professional for personalized tax planning tailored to your situation.

The content above has been sourced from the internet and generated using AI. For high-quality content, please visit Bitget Academy.
Buy crypto for $10
Buy now!

Trending assets

Assets with the largest change in unique page views on the Bitget website over the past 24 hours.

Popular cryptocurrencies

A selection of the top 12 cryptocurrencies by market cap.
© 2025 Bitget