
Selling Crypto: How Capital Gains and Losses Work
Fact Checked
FileTax.com content is reviewed for accuracy, timeliness, and completeness. It undergoes a structured editorial review process involving writers and expert reviewers.
More on our editorial standards Meet our editorial team
Karen Van ThournoutTax & Financial Content Specialist
Alistair HoehneTax Content Reviewer
Your Takeaways:
- Selling crypto for cash = taxable event (capital gain or loss).
- Short-term (≤1 year) taxed at ordinary rates; long-term (>1 year) at 0/15/20%. See Capital Gains Tax on Stocks for full brackets.
- Cost basis is tracked per wallet under Rev. Proc. 2024-28 — the exchange where you sell determines which basis pool applies.
- Wash sale rule does NOT apply to most crypto. You can sell at a loss and immediately rebuy the same coin — a unique advantage over stocks.
- Exception: Crypto ETFs (like spot Bitcoin ETFs) ARE securities subject to wash sale rules.
- Capital losses offset gains dollar-for-dollar, then up to $3,000 ordinary income, then carry forward indefinitely.
- 3.8% NIIT applies to the lesser of net investment income or MAGI above $200K for single filers / $250K for MFJ filers or $125K for married filing separately (MFS).
- Starting in 2025, brokers report your gross proceeds to the IRS via Form 1099-DA — the IRS now has matching data.
TL;DR: Selling crypto for cash is a taxable event. Proceeds minus cost basis equals your capital gain or loss. Short-term gains (held ≤1 year) are taxed at ordinary income rates; long-term gains (held >1 year) get preferential rates of 0%, 15%, or 20%. For full bracket detail, see our Capital Gains Tax on Stocks guide. Capital losses offset gains plus up to $3,000 of ordinary income per year. Key crypto advantages: the wash sale rule does not apply to most crypto sales (you can sell at a loss and immediately rebuy), and tax-loss harvesting is especially powerful. High earners may owe an additional 3.8% NIIT when MAGI exceeds 200K/250K. |
|---|
Selling crypto might feel like moving numbers on a screen. For tax purposes, it is treated very differently. Under U.S. federal income tax law, cryptocurrency is considered property. That means every sale can trigger tax consequences.
If you sold digital assets this tax year, here’s what you need to know about crypto capital gains and losses.
For a broader overview of crypto tax rules, visit the Bought or Sold Crypto Pillar Page.
When Selling Crypto Is a Taxable Event
The IRS treats virtual currency as property, not cash. Because of that classification, general tax principles that apply to property transactions also apply to cryptocurrency transactions.
A taxable event generally occurs when you sell cryptocurrency for U.S. dollars, exchange one cryptocurrency for another, or use crypto to purchase goods or services.
Source: IRS Notice 2014-21
What Counts as a Sale
A sale occurs when you dispose of crypto assets for cash. This includes:
- Selling Bitcoin on a crypto exchange for USD
- Converting crypto into cash and withdrawing to your bank
- Liquidating digital assets for fiat currency
If you receive proceeds from the transaction, the IRS generally considers that a taxable event.
Why It Is Taxable
Crypto is treated as a capital asset for most individuals. When you sell a capital asset, you must determine whether you have a capital gain or loss.
A capital gain occurs when the amount you receive exceeds your cost basis. A capital loss occurs when the amount you receive is less than your cost basis.
Although crypto feels modern, its tax treatment follows long-standing property rules under federal income tax law.
How to Calculate Crypto Capital Gains
Calculating crypto capital gains is straightforward. It comes down to one formula:
Proceeds − Cost Basis = Capital Gain or Loss
Let’s break that down.
Step 1: Determine Your Proceeds
Proceeds are the fair market value of the crypto you sold.
In most cases, that is the dollar amount credited to you by the crypto exchange at the time of sale. This amount represents your proceeds from digital assets.
The fair market value is generally the crypto's price at the time of sale.
Step 2: Identify Your Cost Basis
Your cost basis is generally what you paid for the cryptocurrency, including certain transaction fees. If you acquired multiple units at different prices, you must use a consistent accounting method such as specific identification or FIFO.
If you bought Bitcoin for $5,000 and later sold it for $8,000, your cost basis is $5,000.
Per-wallet tracking (2025+): Under Rev. Proc. 2024-28, cost basis is tracked separately for each wallet or exchange. Confirm whether you timely used the one‑time safe harbor to reallocate pre‑2025 pooled basis, because failure to complete that process affects how pre‑2025 lots are treated. The basis pool for the exchange where you sell determines your gain/loss — you cannot cherry-pick basis from a different exchange. See our Buying Crypto Taxes guide for full details on per-wallet tracking. |
|---|
Step 3: Calculate the Gain or Loss
Using the formula:
- $8,000 proceeds
- Minus $5,000 cost basis
- Equals $3,000 capital gain
If instead you sold it for $3,000, you would have a $2,000 capital loss.
That gain or loss becomes part of your total taxable income for the tax year.
Scenario | Cost Basis | Sale Price | Result |
|---|---|---|---|
Sold at a profit | $5,000 | $8,000 | $3,000 capital gain |
Sold at a loss | $10,000 | $6,000 | $4,000 capital loss |
Realized Capital Gains
A gain is not taxed until it is realized. That means the taxable event occurs when you sell the asset, not when its value increases on paper.
Unrealized crypto gains do not generally create current tax obligations. Once you sell, however, the gain or loss must be calculated and reported.
If you want more details about how holding periods affect classification, see our guide on Short vs Long Term Crypto Gains. That page explains timing differences without diving into rates here.
What Happens When You Sell Crypto at a Loss
Not every crypto sale results in a profit. If you sell cryptocurrency for less than your cost basis, you realize a capital loss.
What Is a Crypto Capital Loss
A crypto capital loss occurs when your proceeds are lower than what you originally paid.
Example:
- You purchased crypto assets for $10,000
- You later sold them for $6,000
- You realized a $4,000 capital loss
How Losses Are Treated
Capital losses may offset other capital gains in the same tax year. If you have other capital gains, those losses can reduce your overall tax burden.
If your capital losses exceed your capital gains, you can generally deduct up to $3,000 per year ($1,500 if Married Filing Separately) against other income. Any remaining loss carries forward to future tax years. The treatment depends on your total taxable income and overall tax situation.
The key takeaway is this: losses still matter. Even though you may not owe capital gains tax, the transaction must still be reported.
Accurate tracking of gains and losses is essential for proper reporting. Many taxpayers use crypto tax software or tax preparation software to calculate crypto gains and maintain records, especially when multiple cryptocurrency transactions are involved.
Source: IRS Pub. 550, Capital Losses
Crypto Tax-Loss Harvesting: No Wash Sale Rule
One of the biggest tax advantages of crypto over stocks: the wash sale rule (IRC §1091) does not currently apply to cryptocurrency.
The wash sale rule prevents stock investors from claiming a loss if they repurchase the same security within 30 days. But because the IRS classifies crypto as property (not stock or securities), this rule doesn't apply to most spot crypto transactions.
What this means: You can sell Bitcoin at a loss on Monday, buy it back on Tuesday, and still claim the full capital loss on your tax return. This makes crypto tax-loss harvesting significantly more flexible than stock tax-loss harvesting.
Exceptions and cautions:
- Spot Bitcoin/Ether ETFs (like BlackRock's IBIT or Fidelity's FBTC) ARE securities. Wash sale rules apply to ETF shares.
- Congress has repeatedly proposed extending wash sale rules to digital assets. No legislation has passed as of 2026, but the Form 1099-DA already includes a wash sale disallowed loss box (Box 1i) — the infrastructure is in place.
- Conservative approach: Some investors voluntarily wait 30 days before rebuying the same coin, or rotate into correlated tokens, to reduce future risk if rules change.
For full wash sale mechanics, see our Wash Sale Rule guide.
For the general tax-loss harvesting strategy, see our Tax-Loss Harvesting guide.
Why You Must Report Every Crypto Sale
Even if you did not realize a gain, you must still report the sale.
Cryptocurrency Tax Reporting Obligations
The IRS asks about virtual currency activity directly on Form 1040. If you sold crypto during the tax year, you generally must indicate that activity on your tax return.
Example: If you bought crypto in 2022 and sold it in 2025, you report the sale in the 2025 tax year.
Capital gains and losses from crypto sales are reported on Form 8949 and summarized on Schedule D (Form 1040). The 2025 Form 1040 also includes a digital asset question requiring disclosure of certain crypto activity.
Even if you did not receive a tax form from your crypto exchange, you are still responsible for accurate cryptocurrency tax reporting. Third-party reporting does not replace your own recordkeeping obligations.
Why Records Matter
You should keep:
- Purchase dates
- Purchase prices
- Sale dates
- Sale amounts
- Transaction fees
Without accurate records, it becomes difficult to calculate capital gains taxes correctly. That can increase your risk of reporting errors or unexpected tax consequences.
The IRS position is clear that cryptocurrency transactions are subject to federal income tax. Failing to report taxable gains may result in additional tax, penalties, or interest.
Good recordkeeping is not exciting. But it makes tax season far less stressful.

How Selling Crypto Affects Your Taxable Income
Selling crypto capital gains can affect your broader income tax situation.
Short-term capital gains are generally taxed at ordinary income tax rates. Long-term capital gains may qualify for preferential rates, depending on your taxable income.
If you have capital losses, they may offset other capital gains. In some cases, they may reduce taxable income more broadly, subject to IRS limitations.
The exact impact depends on your complete financial picture, including:
- Other capital gains
- Ordinary income
- Self-employment income
- Charitable contributions
- Filing status
Because cryptocurrency taxes can intersect with multiple parts of your return, some taxpayers consult a tax professional or tax advisor to ensure compliance.
The goal is clarity, not guesswork.
Source: IRS Pub. 550, Capital Gains and Losses
Net Investment Income Tax (NIIT) on Crypto Gains
High earners may owe an additional 3.8% Net Investment Income Tax on crypto capital gains when Modified Adjusted Gross Income (MAGI) exceeds:
- $200,000 (single, head of household)
- $250,000 (married filing jointly)
- $125,000 (married filing separately)
The 3.8% applies to the lesser of net investment income or the MAGI overage.
Example: You're single with 240,000 MAGI and 30,000 of crypto capital gains. NIIT applies to the lesser of 30,000 (NII) or 40,000 (MAGI overage) = 30,000 × 3.8% = 1,140 additional tax.
For complete NIIT mechanics and calculation examples, see our Capital Gains Tax on Stocks guide.
Final Thoughts on Selling Crypto Capital Gains
Selling crypto is not just a financial decision. It is a tax event.
If you sell digital assets for more than you paid, you may owe capital gains tax. If you sell for less than you paid, you may realize a capital loss. Either way, the transaction must be reported.
Understanding how cost basis, fair market value, and proceeds interact makes calculating crypto capital gains much less intimidating.
Crypto may be new. Property tax rules are not.
And when tax season rolls around, clarity beats confusion every time.
For a full overview of cryptocurrency taxes, explore the main Bought or Sold Crypto guide.
Other Categories
See what some of the hundreds of thousands of satisfied customers have to say about our services:
Levi C.
VERY FAST
I got approved within a couple of days for my tax extension filing through these guys, and they responded to my email the same day. Great customer service and fast results. Give them a shot.
LaMontica
Great Service!!
This is the second year that I have used this service. Each time, the process was quick, easy, and efficient. I will definitely be using this service in the future and will recommend it to friends and family.
Chezbie
Fantastic Site!!
The process was so easy. I processed this extension in a matter of minutes! For you last-minute filers out there, come here. It'll help you end your long day in peace!
Why Trust FileTax.com
• Written and reviewed by qualified tax professionals, including CPAs and tax law reviewers
• Reviewer and contributor profiles include credentials, expertise, and verification information
• Content is reviewed for tax accuracy, compliance, and clarity before publication
• Based on IRS guidance, state tax agencies, and current tax law updates
• Editorial standards and review processes are publicly documented
Links
Frequently Asked Questions
Yes. Selling digital assets for cash is a taxable event, and if your fair market value at sale exceeds your cost basis, a capital gain occurs and may increase your taxable income.




