Crypto Cost Basis Methods in 2026: How HIFO vs. FIFO Saves $15,000 Tax on a $100,000 Bitcoin Partial Sale
A Portland investor bought Bitcoin three times: 0.5 BTC at $20,000 in March 2020, 0.5 BTC at $45,000 in January 2021, and 0.5 BTC at $65,000 in November 2021. In May 2026, with BTC at $100,000, she sells 1 BTC — $100,000 worth. Under FIFO, the IRS assumes she sold the two oldest lots first, producing a $55,000 taxable gain. Under HIFO, she selects the two highest-cost lots first, and the gain drops to $35,000. At the 22% federal bracket, that’s a $4,400 difference in tax on a single sale. Scale that across a portfolio with dozens of lots accumulated over multiple years, and the method election alone can swing the bill by $10,000–$15,000. Here’s how each method works, how to elect one, and why the crypto wash sale exemption makes HIFO even more powerful.
The cost basis method you pick determines the tax bill — not the sale price
When you sell crypto, the IRS taxes the gain: sale proceeds minus cost basis. If you bought Bitcoin once at one price, the math is straightforward. But most investors accumulated across multiple purchases — DCA buys, dip-buying during the 2022 crash, lump sums during the 2020–2021 run-up. Each purchase is a separate tax lot with its own basis and holding period.
When you sell part of your holdings, which lots did you sell? That’s the cost basis method question. And the IRS gives you a choice that can swing your tax bill by thousands of dollars on a single transaction.
The four IRS-recognized methods for crypto
The IRS recognizes digital assets as property (IRS Notice 2014-21), and the same lot-identification rules that apply to property sales apply here. Four methods are available:
| Method | Which lots get sold first | Best when |
|---|---|---|
| FIFO (First-In, First-Out) | Oldest lots first | Oldest lots have the highest basis (you bought high early, prices dropped) |
| LIFO (Last-In, First-Out) | Newest lots first | Recent purchases are near current market price (minimal gain) |
| HIFO (Highest-In, First-Out) | Highest-cost lots first | You have high-basis lots from buying near peaks (2021 highs) |
| Specific Identification | You choose exactly which lots | Maximum control — pick lots strategically by basis AND holding period |
The part most people miss: HIFO and LIFO are technically subsets of Specific Identification. You’re not choosing a “HIFO method” on a form — you’re electing Specific Identification and then identifying the highest-cost lots as the ones being sold. The IRS default when you don’t specify? FIFO. And starting with the 2025 tax year, brokers issuing Form 1099-DA will report FIFO unless you’ve elected otherwise.
Worked example: $100,000 Bitcoin sale, three lots, $20,000 tax swing
A Portland investor accumulated 1.5 BTC across three purchases:
| Lot | Date | Amount | Price per BTC | Cost basis |
|---|---|---|---|---|
| Lot A | March 2020 | 0.5 BTC | $20,000 | $10,000 |
| Lot B | January 2021 | 0.5 BTC | $45,000 | $22,500 |
| Lot C | November 2021 | 0.5 BTC | $65,000 | $32,500 |
In May 2026, BTC is at $100,000. She sells 1 BTC ($100,000 in proceeds). She needs to sell two of her three 0.5 BTC lots. Here’s how the method changes the outcome:
FIFO: sell the oldest lots first (A + B)
| Lot sold | Proceeds | Basis | Gain | Holding period |
|---|---|---|---|---|
| Lot A (March 2020) | $50,000 | $10,000 | $40,000 | Long-term (>1 year) |
| Lot B (January 2021) | $50,000 | $22,500 | $27,500 | Long-term |
| Total | $100,000 | $32,500 | $67,500 |
HIFO: sell the highest-cost lots first (C + B)
| Lot sold | Proceeds | Basis | Gain | Holding period |
|---|---|---|---|---|
| Lot C (November 2021) | $50,000 | $32,500 | $17,500 | Long-term |
| Lot B (January 2021) | $50,000 | $22,500 | $27,500 | Long-term |
| Total | $100,000 | $55,000 | $45,000 |
The tax difference
| Method | Taxable gain | Federal LTCG at 15% | NIIT (3.8% if MAGI > $200K/$250K) | Total federal tax |
|---|---|---|---|---|
| FIFO | $67,500 | $10,125 | Up to $2,565 | Up to $12,690 |
| HIFO | $45,000 | $6,750 | Up to $1,710 | Up to $8,460 |
| Savings from HIFO | $22,500 less gain | $3,375 | Up to $855 | Up to $4,230 |
On this single $100,000 sale, HIFO saves $3,375–$4,230 in federal tax. For an investor in the 22% ordinary income bracket selling short-term lots, or someone with a larger portfolio selling $300K+ across the year, the method election easily swings the bill by $10,000–$15,000. The 3.8% NIIT under IRC §1411 multiplies the impact for anyone above the $200K/$250K MAGI threshold.
Why HIFO is especially powerful for 2020–2021 accumulators
If you dollar-cost-averaged into Bitcoin or Ethereum during the 2020–2021 bull run, you likely hold lots at $40K–$69K per BTC or $3K–$4.8K per ETH. Those lots have high basis relative to current prices. Under FIFO, those expensive lots sit at the back of the queue while your cheap 2018–2019 lots (basis: $3K–$10K per BTC) get sold first — maximizing your gain.
HIFO flips the queue. Your peak-priced 2021 lots get sold first. The gain is smaller (or even a loss, if you bought near the November 2021 top and prices haven’t fully recovered for that coin). Your cheap early lots stay in the portfolio, continuing to benefit from long-term holding.
Here’s where the math breaks for FIFO loyalists: FIFO isn’t just the default — it’s what happens when you don’t choose. Every investor who sold crypto in 2023–2025 without electing Specific Identification was forced into FIFO by default, selling their cheapest lots first and paying the maximum gain. The IRS doesn’t let you retroactively reclassify which lots you sold.
Form 1099-DA and the 2025 broker reporting change
Starting with the 2025 tax year, crypto brokers and exchanges are required to issue Form 1099-DA for digital asset sales. The key rules:
- Per-wallet, per-exchange tracking: each exchange or hosted wallet is treated as a separate account. Lot tracking happens within each platform, not across your entire portfolio.
- Default method is FIFO: if you haven’t elected a specific method with your broker, the 1099-DA will report proceeds and basis using FIFO.
- You can override: if your broker supports Specific Identification, you elect your method at the account level. If they don’t, you can still use HIFO — but you’ll need to adjust the broker-reported basis on Form 8949 using column (f) adjustment codes and maintain your own lot-level documentation.
- Self-custody wallets: for assets held in hardware wallets or non-custodial wallets, there’s no broker to issue a 1099-DA. You’re responsible for your own lot tracking and reporting on Form 8949 + Schedule D.
This is the part that catches people: the 1099-DA your exchange sends to the IRS says FIFO. If you used HIFO and report a different (lower) gain on your return without supporting documentation, the IRS matching system flags the discrepancy. You need records — transaction IDs, timestamps, lot assignments — to survive a notice.
How to elect HIFO: the practical workflow
There’s no IRS form that says “I elect HIFO.” The election happens through Specific Identification — you identify which lots you’re selling at the time of the transaction. Here’s the workflow:
- Connect your wallets and exchanges to crypto tax software. Koinly, CoinTracker, and CoinLedger all support HIFO as a method setting. Set it as your default before generating reports.
- Set the cost basis method to HIFO in the software settings. The tool will automatically sort your lots by cost basis (highest first) and assign the highest-cost lots to each sale.
- Export the Form 8949 CSV. This is your lot-level record showing each disposition, the specific lot matched, basis, proceeds, gain/loss, and holding period (short-term vs. long-term).
- Import into your tax filing software. TurboTax, TaxAct, and H&R Block all accept Form 8949 CSV imports. The pre-sorted HIFO data flows through as your reported basis.
- If broker 1099-DA differs: on Form 8949, use column (f) adjustment code “B” (basis reported to IRS is incorrect) and enter the corrected basis. Attach a statement if the adjustment is material.
The documentation standard: the IRS requires that lot identification be made “at the time of transfer” (Treas. Reg. §1.1012-1(c)). For crypto, this means your tax software must assign lots at the time of the transaction, not retroactively. Most crypto tax platforms do this automatically when you set the method before importing transactions. If you’re doing manual tracking, document each sale with: date, amount sold, which specific lot(s), cost basis of those lots, and proceeds.
The wash sale asymmetry: crypto’s unique advantage in 2026
Here’s the strategy most crypto tax articles mention but don’t quantify: crypto is not subject to the wash sale rule under IRC §1091. The wash sale rule prevents stock investors from selling at a loss and repurchasing the same or “substantially identical” security within 30 days. As of 2026, this rule has not been extended to digital assets.
What this means in practice:
- You sell 0.5 BTC (Lot C, basis $32,500) at $50,000 for a $17,500 gain using HIFO.
- You also hold 1 ETH with a basis of $4,000, currently worth $2,800 — a $1,200 unrealized loss.
- You sell the ETH, claim the $1,200 loss, and immediately repurchase 1 ETH at $2,800.
- Net gain: $17,500 − $1,200 = $16,300. The loss is fully deductible even though you bought back the identical asset seconds later.
With stocks, that repurchase would disallow the $1,200 loss entirely. With crypto, it’s fully legal in 2026. This makes HIFO + immediate-repurchase loss harvesting a combined strategy that has no equivalent in traditional equity investing.
The expiration risk: several Congressional bills have proposed extending wash sale rules to crypto. None have passed through 2025, and the OBBBA did not include this provision. But the window won’t last forever. Investors who can harvest losses now should consider doing so while the exemption holds.
When FIFO actually beats HIFO
HIFO isn’t always optimal. Three scenarios where FIFO wins:
- Your oldest lots have the highest basis. If you bought most of your crypto near the 2021 peak and only added small amounts at lower prices later, FIFO sells the expensive lots first anyway — and it’s simpler because it’s the default.
- You want long-term capital gains treatment. HIFO picks the highest-cost lots regardless of holding period. If your highest-basis lot is only 8 months old, HIFO forces a short-term gain taxed at ordinary income rates (up to 37% in the top bracket). FIFO, by selling oldest lots, guarantees long-term treatment (>12 months) and the 0%/15%/20% LTCG rates. The LTCG rate advantage can outweigh the basis advantage.
- You’re in the 0% LTCG bracket. Single filers with taxable income under $48,350 or MFJ under $96,700 (2026) pay 0% federal LTCG tax. If your gain is entirely covered by the 0% bracket, the basis doesn’t matter — and FIFO with its automatic documentation is simpler.
The optimal strategy often isn’t pure HIFO or pure FIFO — it’s Specific Identification with strategic lot selection. Pick lots that are (a) long-term, (b) high-basis, and (c) leave your remaining portfolio with the best future tax profile. That’s the real power of the Specific Identification election.
Per-exchange isolation: the lot-tracking trap
Under the 2024 broker reporting regulations (effective for 2025 tax year), each exchange is treated as a separate account. If you hold 0.5 BTC on Coinbase (basis: $10,000) and 0.5 BTC on Kraken (basis: $32,500), you can’t sell on Coinbase and claim Kraken’s higher basis.
This per-exchange isolation changes the HIFO calculus:
- Before the rule, you could pool all lots across wallets and select the highest-basis lot globally.
- After the rule, you select from the lots held at the exchange where the sale occurs.
- If your highest-basis lots are on an exchange you don’t want to sell from, you need to transfer them first — and wallet-to-wallet transfers are not taxable events, but they do require careful basis tracking to maintain lot integrity.
The practical implication: consolidate lots you plan to sell onto one exchange before selling, or use crypto tax software that tracks lots across all platforms and generates the correct Form 8949 regardless of where the sale happens.
The combined strategy: HIFO + loss harvesting + rapid re-entry
Put it all together for a Portland investor with a diversified crypto portfolio:
- Set HIFO as default method in your crypto tax software before any 2026 sales.
- Sell winning positions using HIFO lot selection — minimize the taxable gain by burning through high-basis lots first.
- Identify positions with unrealized losses — coins bought at 2021–2022 highs that haven’t recovered.
- Harvest those losses by selling the losing positions. Offset gains from step 2.
- Immediately repurchase the same coins. No 30-day wait. No wash sale restriction. Your new lots have a fresh, lower basis — which means future HIFO selections will use these new low-basis lots last.
- Report on Form 8949 + Schedule D. Gains from the HIFO sales, losses from the harvesting, net result on Schedule D. If net losses exceed gains, deduct up to $3,000 against ordinary income (IRC §1211(b)); carry the rest forward.
This three-part strategy — HIFO for sales, loss harvesting for offsets, immediate repurchase for position continuity — is available exclusively to crypto investors in 2026. Stock investors can do steps 1–4 but must wait 30 days on step 5, creating market exposure risk. Crypto investors keep full exposure throughout.
Reporting mechanics: Form 8949 and Schedule D
All crypto dispositions are reported on Form 8949 (Sales and Other Dispositions of Capital Assets), feeding into Schedule D (Capital Gains and Losses). The form requires:
| Column | What to enter |
|---|---|
| (a) Description | 0.5 BTC (Bitcoin) |
| (b) Date acquired | 11/15/2021 (the specific lot’s purchase date) |
| (c) Date sold | 05/15/2026 |
| (d) Proceeds | $50,000 |
| (e) Cost basis | $32,500 |
| (f) Adjustment code | “B” if overriding broker-reported basis |
| (g) Adjustment amount | Difference between broker FIFO basis and your HIFO basis |
| (h) Gain or loss | $17,500 |
Separate Form 8949 entries are required for short-term (held ≤12 months) and long-term (held >12 months) dispositions. Staking rewards and airdrops have their own basis rules — typically FMV at the time of receipt — that feed into this same reporting structure.
The bottom line on method election
Choosing your cost basis method isn’t a minor bookkeeping detail — it’s a tax planning decision worth thousands of dollars per year for active crypto investors. The election is free, reversible year-to-year, and requires nothing more than proper lot documentation and a one-time setting change in your crypto tax software.
The decision framework: if you accumulated crypto across multiple price points and are now selling into higher prices, start with HIFO as your default. Then review whether any specific lots would benefit from a different selection — long-term lots to capture 0%/15%/20% LTCG rates instead of short-term ordinary income rates, or loss lots to harvest against gains. Pair every sale with a scan for harvestable losses across your portfolio, and repurchase immediately if you want to maintain position. That combination — HIFO + loss harvest + instant re-entry — is the most tax-efficient disposal strategy available to any asset class in 2026.
Join the 2026 tax newsletter
Decision checklists + key 2026 federal/state numbers. Free, one click.
Frequently asked
Yes. Unlike equity brokerage accounts where a method election is often locked at the account level, crypto cost basis methods can be elected per-asset, per-year, as long as you use Specific Identification and maintain adequate records. The IRS requires that you identify the specific units being disposed of at the time of sale — not after the fact. If you don’t identify specific lots, the IRS defaults to FIFO. You can use HIFO in 2026 and switch to FIFO in 2027 if your cost basis profile changes. The key is contemporaneous documentation: you must record which lots you’re selling before or at the time of the transaction.
No. You can use different methods for different assets — HIFO for Bitcoin and FIFO for Ethereum, for example — as long as each disposition uses Specific Identification with proper documentation. However, starting with the 2025 tax year under the Form 1099-DA broker reporting rules, each exchange or wallet is treated as a separate account for lot tracking purposes. If you hold the same coin across multiple exchanges, you select lots per-exchange, not across your entire portfolio. This per-wallet isolation means you need to track basis separately for each platform.
The IRS expects contemporaneous records showing: (1) the date and time of each acquisition, (2) the cost basis in USD at the time of purchase including any fees, (3) the amount of cryptocurrency acquired, (4) the date and time of each disposition, (5) the proceeds in USD, and (6) which specific lots were selected for the disposition. ‘Contemporaneous’ means the identification must happen at or before the time of sale — not retroactively at tax filing time. Crypto tax software like Koinly, CoinTracker, or CoinLedger generates these records automatically. If you’re doing it manually, a spreadsheet with transaction IDs, wallet addresses, and lot tags is the minimum defensible standard.
Not exactly. Starting with the 2025 tax year, crypto brokers must issue Form 1099-DA and default to FIFO if the customer hasn’t elected a method. But brokers that support Specific Identification — and many major exchanges are building this functionality — will let you elect HIFO or other methods at the account level. If your broker only reports FIFO on the 1099-DA but you used HIFO with proper Specific Identification records, you can override the broker’s reported basis on Form 8949 using column (f) adjustment codes. You’ll need your own lot-level documentation to support the adjustment.
No. As of 2026, IRC §1091 (the wash sale rule) applies only to stocks and securities. The IRS has not extended it to digital assets, and no legislation passed through 2025 has changed this. This means you can sell Bitcoin at a loss, immediately repurchase the same Bitcoin, and still claim the capital loss on your tax return. This asymmetry makes crypto uniquely flexible for tax-loss harvesting compared to stocks, where you must wait 30 days or buy a ‘not substantially identical’ security. Several proposed bills have sought to extend wash sale rules to crypto, so this exemption may not last indefinitely — but it’s fully available for 2026 dispositions.
In TurboTax, you import your crypto transactions via CSV or direct integration with exchanges. When entering Form 8949 data, you select the specific lots being sold — TurboTax doesn’t have a one-click ‘HIFO’ toggle, so you either import pre-sorted HIFO transactions from crypto tax software (Koinly, CoinTracker, CoinLedger) or manually select the highest-basis lots. In TaxAct, the process is similar: import Form 8949 lines with the correct lot-level basis. The practical workflow for most investors is: (1) connect your wallets and exchanges to a crypto tax tool, (2) set the method to HIFO in that tool’s settings, (3) export the Form 8949 CSV, and (4) import into your tax filing software.
Related guides
Crypto Tax-Loss Harvesting in 2026: No Wash Sale Rule
The wash sale exemption for crypto — how to harvest losses and immediately repurchase the same asset, a strategy that pairs directly with HIFO lot selection.
Crypto Wash Sale Loophole: Harvesting a $50,000 Bitcoin Loss Without the 30-Day Wait
Worked example showing the mechanics of selling at a loss and repurchasing immediately — and why HIFO maximizes this strategy’s tax impact.
Form 1099-DA: What Brokers Will Report Starting 2026
The new broker reporting requirement that defaults to FIFO unless you elect otherwise — and how to override the default with Specific Identification.
Crypto Tax Software Comparison: CoinTracker vs. Koinly vs. ZenLedger
Which platforms support HIFO, Specific Identification, and automatic lot matching — the tools that make a non-FIFO election practical.
NIIT in 2026: When $100,000 in Capital Gains Adds a $3,800 Surcharge
How the 3.8% Net Investment Income Tax stacks on top of LTCG rates — and why reducing your gain via HIFO also reduces your NIIT exposure.
Join the Life Money USA newsletter
Decision checklists, 2026 federal + state numbers, and our glossary. One click, free.
Join the newsletter