Educational Content Only: This article is for informational purposes only and does not constitute legal, tax, or financial advice. Cost basis methods and their tax treatment are complex and vary by situation. Consult a qualified CPA or tax attorney before changing your cost basis method.
What Is Cost Basis and Why It Matters
Cost basis is what you paid for your Bitcoin. Capital gain is the difference between what you sell it for and what you paid. Higher basis means lower gain means less tax. This is the most important equation in Bitcoin taxation, and it's deceptively simple.
Every time you buy Bitcoin — whether it's $100 on Coinbase or $500,000 through an OTC desk — you create a tax lot. That lot has two essential attributes: the date you acquired it and the price you paid (including any fees). When you later sell Bitcoin, the IRS needs to know which lot you're selling, because the gain calculation depends entirely on which lot's basis you use.
Here's a concrete example. Say you made three purchases over the years:
- Lot 1: 1 BTC purchased January 2018 at $8,000
- Lot 2: 1 BTC purchased March 2021 at $55,000
- Lot 3: 1 BTC purchased November 2024 at $85,000
You sell 1 BTC today at $90,000. Your capital gain could be:
- $82,000 if you sell Lot 1 (basis $8,000)
- $35,000 if you sell Lot 2 (basis $55,000)
- $5,000 if you sell Lot 3 (basis $85,000)
Same sale. Same proceeds. Three wildly different tax outcomes. At the top long-term capital gains rate of 23.8% (including the Net Investment Income Tax), that's the difference between $19,516 and $1,190 in federal tax. On a single transaction.
The cost basis method is the rule you use to determine which lot gets sold. It's not a minor bookkeeping detail. For anyone who has been accumulating Bitcoin across multiple price regimes — from $3,000 to $90,000 — your choice of method is a multi-thousand-dollar decision on every single sale. Over a lifetime of periodic sales, trust distributions, and estate transfers, the cumulative impact reaches six and seven figures for substantial holders.
And here's what most generic tax guides won't tell you: your cost basis method isn't just a tax decision. It's an estate planning decision. Which lots you sell during your lifetime determines which lots remain in your estate — and which lots your heirs inherit with a stepped-up basis that eliminates all embedded gains. Choose wrong, and you've handed the IRS money your family never needed to pay.
The Four Main Cost Basis Methods for Bitcoin
FIFO — First-In, First-Out
FIFO sells your oldest lots first. Every time you sell Bitcoin, the IRS calculates your gain using the cost basis of the Bitcoin you bought first — chronologically.
How it works: If you have lots from 2018, 2021, and 2024, FIFO forces you to sell the 2018 lot first. You can't skip it. You can't choose. The oldest lot goes first, period.
Why it's the IRS default: If you don't actively elect a different method, FIFO is what the IRS assumes. This is critical because most Bitcoin holders have never explicitly selected a method. They've been on FIFO without knowing it — which means they've been selling their oldest, cheapest lots first and generating the maximum possible capital gains on every transaction.
Example: You bought 1 BTC at $8,000 in 2018, 1 BTC at $55,000 in 2021, and 1 BTC at $85,000 in 2024. You sell 1 BTC today at $90,000. Under FIFO, your gain is $90,000 − $8,000 = $82,000. At the top long-term rate: $82,000 × 23.8% = $19,516 in tax.
When FIFO makes sense: Almost never for long-term Bitcoin holders in a rising market. FIFO works in your favor only in a declining market where your oldest lots have the highest basis — which is the opposite of Bitcoin's historical trajectory. For someone who accumulated during the early years at sub-$10,000 prices, FIFO is reliably the worst possible choice.
The estate planning trap: FIFO depletes your lowest-basis lots first. Those are the lots with the most embedded gain — and therefore the lots that benefit most from the stepped-up basis at death. Using FIFO, you pay tax on gains that would have been eliminated entirely if you'd held those lots until death. You've voluntarily paid tax your heirs never would have owed.
LIFO — Last-In, First-Out
LIFO sells your newest lots first. In a rising market, your newest Bitcoin was purchased at the highest price, so LIFO generates the smallest gain per sale.
How it works: The most recently acquired lot is the first one sold. If you bought Bitcoin yesterday at $89,000 and sell today at $90,000, LIFO uses that $89,000 basis regardless of what your older lots cost.
The short-term gain trade-off: LIFO's biggest risk is that your newest lots are often held less than one year. Short-term capital gains are taxed as ordinary income — up to 37% federal plus state taxes. So while LIFO minimizes the dollar amount of your gain, it may push that gain into the higher short-term bracket. A $5,000 short-term gain taxed at 37% ($1,850) can cost more than a $15,000 long-term gain taxed at 23.8% ($3,570). You have to run the numbers.
IRS status for Bitcoin: LIFO is not straightforwardly available as a standalone election for Bitcoin. The IRS hasn't explicitly approved LIFO for digital assets in the way it exists for certain inventory methods. In practice, if you want LIFO-like results, you implement it through Specific Identification — choosing your most recent lot for each sale. Most Bitcoin tax software supports a "LIFO" setting, but under the hood it's executing Specific Identification rules.
When LIFO makes sense: When your recent purchases are at prices close to current market value, you're generating minimal gain, and you explicitly want to preserve your oldest lots for long-term holding or estate planning. It's a decent approach — but Specific Identification gives you more control.
HIFO — Highest-In, First-Out
HIFO sells your highest-cost lots first, regardless of when you bought them. It's the mathematically optimal method for minimizing current-year capital gains.
How it works: When you sell 1 BTC, HIFO scans all your lots and picks the one with the highest basis. If you have lots at $8,000, $55,000, and $85,000, HIFO uses the $85,000 lot — generating only a $5,000 gain on a $90,000 sale.
Why HIFO often wins: HIFO doesn't care about chronology. It doesn't care whether the lot is six years old or six days old. It just picks the highest-cost lot every time. This makes it a reliable gain-minimizer for anyone with lots acquired across multiple price levels.
The mixed holding-period issue: Because HIFO ignores dates, it may select lots held less than one year (short-term) alongside lots held more than one year (long-term). This matters because short-term gains are taxed at ordinary income rates. If your highest-basis lot was purchased three months ago, HIFO will use it — but the gain is short-term. Depending on your tax bracket, this may or may not be optimal. For maximum optimization, you need Specific Identification's full flexibility.
IRS status: Like LIFO, HIFO is not a standalone IRS-approved method. It's implemented through Specific Identification. Your tax software's "HIFO" setting is automating the Spec ID process — selecting the highest-basis lot for each transaction and generating the documentation trail required by the IRS.
When HIFO is ideal: For holders who make regular sales and want automated gain minimization without manually selecting lots for each transaction. It's the set-and-forget option for tax efficiency. But it's not perfect — read the HIFO vs. Spec ID section below.
Specific Identification (Spec ID)
Specific Identification is the most powerful and flexible method. You choose exactly which lot to sell for each transaction. No defaults, no algorithms — you make the decision.
How it works: Before (or at the time of) each sale, you designate the specific lot you're selling. "I am selling 0.5 BTC from my March 15, 2021 purchase at $55,000 per BTC." That designation must be documented contemporaneously — you can't go back after the fact and pick a different lot.
Why Spec ID is the gold standard: Every other method is a subset of Spec ID. FIFO is Spec ID where you always pick the oldest lot. LIFO is Spec ID where you always pick the newest lot. HIFO is Spec ID where you always pick the highest-basis lot. But Spec ID gives you a degree of freedom the others don't: you can factor in holding period.
Here's why that matters. Suppose you have two lots:
- Lot A: Purchased 8 months ago at $87,000 (short-term, basis $87,000)
- Lot B: Purchased 3 years ago at $60,000 (long-term, basis $60,000)
You sell 1 BTC at $90,000. HIFO picks Lot A: gain = $3,000, but it's short-term. At 37% ordinary income rate: $1,110 tax.
With Spec ID, you choose Lot B instead: gain = $30,000, but it's long-term. At 23.8% (or even 15% for many brackets): $4,500–$7,140 tax.
In this case, HIFO actually wins. But reverse the numbers — make Lot A's basis $88,500 — and the short-term gain drops to $1,500 × 37% = $555, while Lot B's long-term gain is still $30,000 × 15% = $4,500. The point: the optimal choice depends on the specific lot characteristics, your marginal tax bracket, and whether the lot qualifies for long-term treatment. Only Spec ID gives you this level of control.
Documentation requirement: The IRS requires contemporaneous identification — you must designate the lot at or before the time of sale, not retroactively. Acceptable documentation includes: exchange lot selection (Coinbase provides this), a timestamped spreadsheet entry, an email to your CPA, or a tax software lot designation record. The key is proving you made the choice before the sale settled, not after tax season when you're optimizing.
When Spec ID is essential: When you need to optimize for both gain minimization and holding period. When you're making trust transfers and need to designate specific lots. When you're gifting Bitcoin and want to choose which basis the recipient inherits. When you're doing tax-loss harvesting and need to select specific losing lots. Spec ID is the tool for all of these.
Method Comparison: $90,000 Sale, 3 Lots Available
| Method | Lot Used | Basis | Gain | Tax (23.8% LT) | Lots Preserved |
|---|---|---|---|---|---|
| FIFO | 2018 lot | $8,000 | $82,000 | $19,516 | 2021 ($55K), 2024 ($85K) |
| LIFO | 2024 lot | $85,000 | $5,000 | $1,190 | 2018 ($8K), 2021 ($55K) |
| HIFO | 2024 lot | $85,000 | $5,000 | $1,190 | 2018 ($8K), 2021 ($55K) |
| Spec ID (optimal) | 2024 lot (LT check) | $85,000 | $5,000 | $1,190* | 2018 ($8K), 2021 ($55K) |
*Spec ID matches HIFO here but offers flexibility to choose differently based on holding period. Tax savings from HIFO/Spec ID vs. FIFO: $18,326 per transaction. Over a lifetime of periodic sales, this compounds into seven-figure differences for substantial holders.
IRS Rules for Bitcoin Cost Basis
The IRS treats Bitcoin as property — not currency, not a security — and has been refining its guidance since Notice 2014-21. Here's what you need to know about cost basis rules specifically:
Rev. Proc. 2024-28: Specific Identification Is Explicitly Allowed
Revenue Procedure 2024-28, issued in late 2024, clarified that Bitcoin holders can use Specific Identification for digital assets. This was significant because prior guidance was ambiguous — some practitioners worried the IRS might restrict digital assets to FIFO only. Rev. Proc. 2024-28 settled this: you can use Spec ID, and by extension, HIFO and LIFO (which are implemented through Spec ID).
The procedure also established that the identification must be made at or before the time of the transaction, and that adequate records must be maintained. This codified what tax professionals had already been advising, but having it in writing from the IRS removes uncertainty.
Default Method: FIFO
If you don't affirmatively elect a cost basis method, the IRS defaults to FIFO. This is not optional — it's the fallback position. Many Bitcoin holders who have never configured their exchange or tax software settings have been running on FIFO for years, potentially overpaying on every sale. The default is the most expensive option for anyone with appreciated early-year lots.
Consistency Requirement
You must apply your chosen method consistently. You can't use HIFO on Monday's sale and FIFO on Tuesday's sale to cherry-pick the optimal outcome for each individual transaction. However, you can use Specific Identification for all transactions — because Spec ID, by definition, involves selecting specific lots each time. The consistency requirement is met by consistently applying Spec ID methodology with proper documentation for each sale.
You can also change methods prospectively. If you've been using FIFO and want to switch to Spec ID, you can — but only for future sales. Already-sold lots remain reported under whatever method was used at the time.
1099-DA (Starting 2026): Exchanges Must Report Your Method
Beginning in 2026, custodial exchanges are required to issue Form 1099-DA, which reports your Bitcoin sales — including cost basis when available. This means your exchange will report to the IRS which cost basis method you've selected and what basis was used for each sale. If you haven't set a method on your exchange, they'll report using their default (typically FIFO). Getting your method configured correctly before making any 2026 sales is now critical — because the exchange's report to the IRS needs to match your tax return.
Self-Custody: No 1099-DA, Full Burden on You
Self-custody Bitcoin — held in hardware wallets, multisig, or other non-custodial solutions — does not generate a 1099-DA. No exchange has your transaction data. The entire burden of basis tracking, method documentation, and reporting falls on you. This is both a privacy advantage and a record-keeping responsibility. You'll report your self-custody sales on Form 8949, and you must be able to substantiate your basis claims if audited.
How to Select a Cost Basis Method on Major Exchanges
Setting your cost basis method on an exchange takes about sixty seconds — and it's one of the highest-ROI sixty seconds of your financial life. Here's where to find it on the major platforms:
Coinbase
Navigate to Settings → Tax → Cost Basis Method. Coinbase offers FIFO, LIFO, HIFO, and Specific Identification. Select HIFO or Specific Identification for most situations. Coinbase also allows per-transaction lot selection for Spec ID — when you initiate a sale, you can choose which lot to sell. This is the best exchange-native implementation of Spec ID currently available.
Kraken
Navigate to Settings → Tax. Kraken supports FIFO, LIFO, and HIFO. Lot-level selection is available through their advanced trading interface and tax reporting tools.
Gemini
Gemini supports cost basis method configuration in account settings. Like Coinbase, it generates tax reports using your selected method. Check Account → Tax Documents to verify which method is applied.
Critical Timing: Set BEFORE Any Sales
This cannot be overstated: set your cost basis method before making any sales on the exchange. Once a sale executes under FIFO (the default), you cannot retroactively reclassify those lots under a different method. The lots are sold, the gain is calculated, the 1099-DA is filed. Set your method first, then sell.
For Self-Custody Holdings
If you hold Bitcoin in self-custody (hardware wallets, multisig, paper wallets), exchanges can't track your basis. You need to track it manually or with dedicated tax software:
- Spreadsheet: A simple but effective approach — record every purchase with date, amount, price, fee, and wallet address. When selling, document which lot you're designating before executing the sale.
- Koinly: Import wallet addresses and exchange API data; Koinly reconstructs your lot history and supports FIFO, LIFO, HIFO, and Spec ID.
- CoinTracker: Similar to Koinly with strong CPA collaboration features.
- TaxBit: Enterprise-grade, used by major custodians, handles complex multi-entity structures.
Whatever tool you use, the method must be documented and consistent. The IRS doesn't care whether you use a $49 app or a custom spreadsheet — they care that you applied a defensible method, documented your lot selections, and reported correctly on Form 8949.
Specific Identification: Step-by-Step
Specific Identification is the most powerful method available, but it requires deliberate action for each sale. Here's exactly how to implement it:
Step 1: Identify the Lots Before Selling
Before initiating any sale, review your available lots. Know the acquisition date, cost basis, and holding period for each lot. Decide which lot optimizes your current situation — considering both the gain amount and whether it qualifies for long-term treatment.
Questions to ask before each sale:
- Which lot produces the smallest gain? (HIFO logic)
- Is that lot held more than one year? (Long-term vs. short-term rate)
- Is there a long-term lot with a reasonably high basis that gives me both a small gain AND the lower long-term rate?
- Am I preserving my lowest-basis lots for the stepped-up basis at death?
Step 2: Designate the Lot at or Before the Sale
For exchange sales: If your exchange supports per-lot selection (Coinbase does), select the specific lot in the exchange interface when initiating the sale. The exchange's confirmation record serves as your contemporaneous documentation.
For self-custody sales (transferring to an exchange to sell): Document your lot selection in writing before executing the transfer. Options include:
- Email to yourself or your CPA: "Selling 0.5 BTC from Lot purchased 2021-03-15 at $55,000/BTC"
- Timestamped spreadsheet entry with lot details and intended sale
- Tax software lot designation (Koinly and CoinTracker allow pre-sale lot tagging)
The timestamp matters. The IRS requires the identification to be contemporaneous — meaning at or before the time of sale. An email sent three months later during tax prep doesn't count.
Step 3: Execute the Sale
Sell the designated amount on your exchange or through your preferred execution method. The lot you designated is now the lot being sold — its basis is used for the gain calculation.
Step 4: Maintain Records
For each sale using Specific Identification, retain:
- The lot designation record (email, spreadsheet entry, exchange selection confirmation)
- The original purchase record for that lot (exchange confirmation, payment receipt)
- The sale confirmation (exchange trade confirmation, proceeds amount)
- Your Form 8949 entry for the transaction
Keep these records for a minimum of seven years from the date of sale — longer for large or unusual positions.
Step 5: Report on Form 8949
Each Bitcoin sale is reported as a separate line item on Form 8949. For each line, you need: description of property ("1.0 BTC"), date acquired, date sold, proceeds, cost basis, and gain/loss. If using Specific Identification and the lots were reported on 1099-DA, ensure your Form 8949 matches the exchange's reported basis. If the exchange reported a different basis (because they defaulted to FIFO), you'll need to adjust and attach documentation supporting your Spec ID election.
HIFO vs. Specific Identification: Which Is Better?
This is the question sophisticated Bitcoin holders ask once they've moved past FIFO. Both HIFO and full Spec ID dramatically outperform the default — but they're not identical.
HIFO: Automated Gain Minimization
HIFO always picks the highest-cost lot, minimizing the dollar amount of gain on every sale. It's simple, automatic, and requires no per-transaction decision-making. For someone making dozens of sales per year — DCA-out strategies, regular distributions, or lifestyle spending — HIFO is practical and effective.
The limitation: HIFO doesn't consider holding period. It will happily sell a lot you purchased yesterday (short-term, taxed at up to 37%) over a lot you purchased two years ago (long-term, taxed at up to 23.8%) — even if the long-term lot would produce a slightly larger gain but at a much lower rate.
Spec ID: Full Optimization
Spec ID lets you weigh gain amount against holding period against estate planning goals. It's more work — you're making a decision for each sale — but the payoff is real.
The Optimal Hybrid: HIFO Among Long-Term Lots First
The most sophisticated approach combines both: for each sale, first look at your long-term lots (held >1 year) and pick the one with the highest basis. Only if you have no long-term lots — or the gain difference is dramatic enough to justify the rate difference — do you dip into short-term lots.
This approach gives you:
- The gain minimization of HIFO
- The favorable rate treatment of long-term holdings
- Preservation of your lowest-basis lots for estate step-up
Some tax software (Koinly, CoinTracker) can be configured to approximate this — "HIFO, long-term preferred." If your software doesn't offer this, manual Spec ID achieves the same result with slightly more effort per transaction.
Cost Basis in Estate Planning
Here's where cost basis strategy gets genuinely sophisticated — and where most generic Bitcoin tax guides stop. The estate planning question isn't just "which method minimizes current tax." It's "which lots should I sell now, and which should I hold to death for the step-up?"
At death, your heirs receive a stepped-up basis — their cost basis resets to the Bitcoin price on your date of death. If you hold a lot with a $5,000 basis until death when Bitcoin is worth $200,000, your heir's basis becomes $200,000 — eliminating $195,000 of embedded gain permanently. No tax on decades of appreciation. Gone.
This means your cost basis method only matters while you're alive and making taxable sales. At death, all embedded gain is erased regardless of method. But which lots survive to receive that step-up depends entirely on which method you used during your lifetime.
This creates a clear optimization framework:
The Bitcoin Lot Hierarchy for Estate Planning
- Sell first: Short-term lots (held <1 year) — taxed as ordinary income anyway, no long-term rate benefit, no estate planning upside from holding
- Sell next: High-basis lots near break-even — minimal gain, minimal step-up value at death
- Hold for life: Low-basis lots (purchased in early years at $1K–$30K) — maximum step-up value at death; selling them during life triggers the highest gains for the least estate planning benefit
- Donate to charity: Any appreciated lot — charity pays no capital gains, you get a deduction at full FMV. Best for your highest-appreciation lots if charitable giving is part of your plan.
Spec ID / HIFO accomplishes this naturally: it depletes high-basis lots first (minimizing current tax) while preserving low-basis lots intact (maximizing future step-up value). FIFO does the opposite — it depletes your most valuable estate planning lots first.
Worked Example: $5M Bitcoin Family, 10-Year Horizon
Assume a family with 50 BTC purchased across multiple years:
- 10 BTC at average $3,000 (2018–2019) = $30,000 total basis
- 15 BTC at average $15,000 (2020–2021) = $225,000 total basis
- 25 BTC at average $50,000 (2022–2024) = $1,250,000 total basis
Current price: $90,000. Total portfolio: $4,500,000.
Family needs to sell 10 BTC over the next 3 years for distributions and lifestyle.
Scenario A: FIFO — Sell the 2018–2019 lots first (basis $3,000 avg). Gain = (10 × $90,000) − $30,000 = $870,000. Tax at 23.8% = $207,060. The family has permanently depleted their lowest-basis lots — the ones worth the most for stepped-up basis at death. At death, heirs inherit only the $15K and $50K lots.
Scenario B: Spec ID / HIFO — Sell the 2022–2024 lots first (basis $50,000 avg). Gain = (10 × $90,000) − $500,000 = $400,000. Tax at 23.8% = $95,200. Tax savings vs. FIFO: $111,860. The family preserves all their low-basis 2018–2021 lots for stepped-up basis at death — where they eliminate potentially millions in embedded gains.
The Spec ID strategy saves $111,860 in current tax and preserves dramatically more value for heirs. Over a lifetime, the compounded benefit easily reaches seven figures.
Irrevocable Trusts: The Permanent Basis Decision
When Bitcoin is transferred to a revocable trust, the basis carries over — and at death, the assets receive a stepped-up basis. Standard estate planning step-up.
When Bitcoin is transferred to an irrevocable trust — a dynasty trust, SLAT, or irrevocable asset protection trust — the basis carries over and stays there permanently. Irrevocable trusts generally do not receive a stepped-up basis at the grantor's death.
This creates a critical planning question: which lots do you transfer to an irrevocable trust?
| Lot Type | Transfer to Irrevocable Trust? | Why |
|---|---|---|
| Low basis (e.g., $3,000/BTC) | ⚠️ Only if structure is compelling | Locks in low basis forever; loses step-up opportunity. But estate tax savings may outweigh basis loss for very large estates. |
| High basis (e.g., $80,000/BTC) | ✅ Generally preferred | Minimal embedded gain; step-up on high-basis lots provides less benefit anyway; trust captures future appreciation outside estate. |
| Recently purchased (high basis, short-term) | ✅ Ideal for irrevocable trusts | Minimal gain if trust ever sells; removes future appreciation from estate; grantor trust swap power allows basis arbitrage later. |
The grantor trust swap power offers a partial solution: in a properly drafted irrevocable grantor trust (like an IDGT), the grantor retains the power to substitute assets. This lets the grantor swap a low-basis lot inside the trust for a high-basis asset of equivalent value — moving the low-basis lot back into the personal estate (for step-up at death) while keeping the trust funded. This swap is a non-taxable event if assets of equal value are exchanged.
Gifting Bitcoin and Cost Basis
When you gift Bitcoin, the recipient takes your original cost basis — the carryover basis rule. This means your choice of which lots to gift directly affects how much tax the recipient will eventually owe.
The Carryover Basis Rule
If you purchased 1 BTC at $8,000 and gift it when it's worth $90,000, the recipient's basis is $8,000. When they sell, they owe capital gains tax on up to $82,000 of appreciation — gain that accrued while you held the asset, but that they pay tax on.
There's one exception: if the recipient sells at a price below your original basis, and the fair market value at the date of gift was also below your basis, the recipient's basis for calculating a loss is the FMV at the date of the gift — not your original basis. This "dual basis" rule prevents manufactured losses through gifting.
Gift Planning with Specific Identification
Use Spec ID to designate which lots you're gifting. The strategy:
- Gift high-basis lots — smaller future gain for the recipient. If you purchased 1 BTC at $80,000 and gift it when it's worth $90,000, the recipient's future gain is only $10,000+ (from the $80,000 basis forward).
- Keep low-basis lots — hold these in your estate for stepped-up basis at death. If you purchased 1 BTC at $3,000, holding it until death eliminates $87,000+ of embedded gain for your heirs. Gifting it during life transfers that entire $87,000+ gain to the recipient.
- Gift to charity — for charitable giving, basis is irrelevant because the charity is tax-exempt. Donate your most appreciated lots: you get a deduction for the full FMV, and the charity pays zero capital gains. This is one of the most powerful charitable strategies available for Bitcoin holders.
Annual Gift Tax Exclusion
You can gift up to $19,000 per recipient per year (2026) without using your lifetime exemption. For Bitcoin, value is determined at the date of the gift. Gifting appreciated Bitcoin annually to family members — using high-basis lots via Spec ID — is a steady estate reduction strategy that also minimizes the recipients' future tax exposure.
Mining Income and Cost Basis
Mined Bitcoin follows different basis rules than purchased Bitcoin, and those differences create unique planning opportunities — especially when combined with Specific Identification.
How Mining Creates Cost Basis
When you mine Bitcoin (or receive mining pool payouts), each payout creates a new tax lot with a basis equal to the fair market value (FMV) on the day received. That same amount is reported as ordinary income on your tax return.
Example: You receive a mining payout of 0.01 BTC on March 15, 2026, when Bitcoin is trading at $88,000. Your cost basis for that lot is $880 (0.01 × $88,000), and you report $880 of ordinary income.
If you later sell that 0.01 BTC when Bitcoin is at $95,000, your proceeds are $950 and your gain is $950 − $880 = $70. If you've held the lot more than one year, that $70 is a long-term capital gain.
Why Miners Accumulate Complex Lot Structures
Active miners receive payouts frequently — daily or even multiple times per day. Each payout is a separate lot with its own basis and acquisition date. A miner operating for three years might have over 1,000 individual lots, each at a different basis corresponding to the Bitcoin price on the day received.
This creates a highly variable basis profile: lots received during bear markets have low basis (say $16,000–$25,000 in 2022), lots received during bull markets have high basis ($80,000+ in late 2024 and 2025). When a miner sells, the choice of which lots to use makes an enormous difference.
HIFO and Spec ID for Miners
For miners deciding which lots to sell, HIFO is especially powerful. By automatically selecting the highest-basis lots (those received when prices were highest), miners minimize capital gains on sales while preserving low-basis lots from bear-market mining for eventual step-up or long-term holding.
Spec ID takes this further — a miner can specifically designate long-term, high-basis lots for each sale, ensuring both the smallest gain and the most favorable tax rate. Given the volume of lots miners accumulate, tax software with robust HIFO/Spec ID support isn't optional — it's essential.
Bitcoin Mining: The Most Powerful Tax Strategy Available
Mining doesn't just create new lots with fresh basis — it generates depreciation deductions, bonus depreciation, and operational expense deductions that offset mining income and other income sources. For families building Bitcoin positions, mining is often the most powerful tax strategy on the table. Each mining payout creates a lot at current market value, and miners who use HIFO or Specific Identification properly can dramatically reduce their tax burden when selling mined BTC. The math is compelling — and most advisors don't know how to implement it.
Read the Bitcoin Mining Tax Strategy Guide →1099-DA and Cost Basis Reporting (2026)
2026 is the first year custodial exchanges are required to issue Form 1099-DA — and this changes the cost basis landscape significantly for Bitcoin holders.
What 1099-DA Reports
Form 1099-DA reports your digital asset sales to the IRS, including: gross proceeds, cost basis (when available), gain or loss, and whether the asset is "covered" or "noncovered." It's the crypto equivalent of Form 1099-B that stock brokers have issued for decades.
Covered vs. Noncovered: The Critical Distinction
Covered securities: Bitcoin acquired on the exchange after the exchange began tracking cost basis. The exchange has your purchase date and price, and reports both proceeds and basis to the IRS. If you bought and sold entirely on one exchange, 1099-DA should be accurate.
Noncovered securities: Bitcoin transferred into the exchange from self-custody, another exchange, or any source where the exchange doesn't have your basis information. The 1099-DA reports full proceeds but no basis. The IRS sees $90,000 in proceeds with a blank basis field — and their default assumption is $0 basis, making your entire proceeds a taxable gain.
This is where most long-term holders run into trouble. If you've ever moved Bitcoin between wallets, used self-custody, or transferred between exchanges, some or all of your Bitcoin will be "noncovered." The exchange literally cannot report your basis because they don't have it.
What Happens When Basis Doesn't Match
The IRS will match your tax return (Form 8949) against the 1099-DA from your exchange. If the exchange reports $90,000 proceeds with no basis, and your Form 8949 shows $90,000 proceeds with an $85,000 basis and a $5,000 gain, the IRS may send a CP2000 notice — an automated "we think you owe more" letter.
You can respond with documentation supporting your basis claim: original purchase records, blockchain transaction records linking the Bitcoin from your purchase to your current wallet, and your Spec ID documentation. This is defensible — but only if you have the records. Without contemporaneous documentation, you're fighting the IRS's assumption with nothing but your word.
Self-Custody: No 1099-DA at All
Bitcoin held in self-custody that you sell peer-to-peer or through a decentralized exchange generates no 1099-DA. The IRS receives nothing. You're still legally required to report the sale on your tax return, and your basis documentation must support whatever you report. But there's no automatic matching against an exchange-issued form — the audit risk is different, not absent.
Action Items for 2026
- Set your cost basis method on every exchange before making any 2026 sales
- Review 1099-DA forms when issued (early 2027 for 2026 tax year) and verify basis accuracy
- Prepare documentation for noncovered Bitcoin — original purchase records, blockchain explorer links, transfer histories
- Reconcile your tax software (Koinly, CoinTracker, TaxBit) output against the 1099-DA to catch discrepancies before filing
- Work with a Bitcoin-specialized CPA who understands the covered/noncovered distinction — a generalist may not catch the reporting gap
Tax Software Comparison for Bitcoin Cost Basis
Manual tracking works for simple portfolios — a few buys and sells on one exchange. But for anyone with multiple exchanges, self-custody wallets, mining income, DeFi activity, or more than about 20 transactions per year, dedicated crypto tax software pays for itself many times over.
What to Look For
- Cost basis methods supported: At minimum FIFO, HIFO, and Spec ID. LIFO is a bonus.
- Self-custody support: Can it import wallet addresses and reconstruct transaction history from the blockchain?
- Exchange integrations: API connections to Coinbase, Kraken, Gemini, and other exchanges you use
- Form 8949 generation: Does it produce IRS-ready output you can attach to your tax return?
- 1099-DA compatibility: Can it reconcile against the new 1099-DA forms?
- CPA collaboration: Can your accountant access the data directly?
- Mining support: Can it track mining income and create per-payout lots?
Platform Comparison
| Platform | Methods | Self-Custody | Mining | Price Range | Best For |
|---|---|---|---|---|---|
| Koinly | FIFO, LIFO, HIFO, Spec ID | ✅ Wallet import | ✅ | $49–$279/yr | Self-custody heavy, international |
| CoinTracker | FIFO, HIFO, Spec ID | ✅ Wallet import | ✅ | $59–$299/yr | CPA collaboration, Coinbase users |
| TaxBit | FIFO, HIFO, Spec ID | ✅ | ✅ | $0–$175/yr | Enterprise, multi-entity, trusts |
| ZenLedger | FIFO, LIFO, HIFO | ✅ | ✅ | $49–$399/yr | DeFi-heavy portfolios |
| TokenTax | FIFO, LIFO, HIFO, Spec ID | ✅ | ✅ | $65–$3,499/yr | Full-service with CPA filing option |
For families with significant holdings, the software cost ($50–$300/year) is trivial compared to the tax savings from proper HIFO/Spec ID implementation. A single optimized sale can save more than a decade of software subscription costs. Worth every dollar for anyone with more than 20 transactions per year.
Cost Basis Record-Keeping Checklist
Proper records are the foundation of every cost basis strategy. Without documentation, you can't defend your basis claims if audited, your Spec ID elections are unsubstantiated, and your estate plan has a documentation gap your heirs will struggle to fill. Here's what to track:
For Every Bitcoin Purchase
- Date of purchase
- Amount of BTC purchased
- Exchange or wallet where purchased
- USD price per BTC at time of purchase
- Transaction fee (included in basis)
- Exchange confirmation or receipt
For Every Bitcoin Sale
- Date of sale
- Amount of BTC sold
- Which lot(s) were designated (Spec ID documentation)
- Sale price per BTC
- Transaction fee (reduces proceeds)
- Exchange confirmation or trade receipt
- Holding period (short-term or long-term)
For Gifts Given
- Date of gift
- Fair market value at date of gift
- Your original cost basis for the gifted lot(s)
- Recipient's name and relationship
- Lot designation (which specific lots were gifted)
- Form 709 (Gift Tax Return) if applicable
For Mining Income
- Date of each mining payout
- Amount of BTC received
- Fair market value at time of receipt (= your basis)
- Mining pool or source
- Wallet address received to
For Inherited Bitcoin
- Date of death of the decedent
- Fair market value on the date of death (= stepped-up basis)
- Alternate valuation date FMV if elected (6 months after death)
- Estate tax return (Form 706) documentation
Retention Period
The IRS statute of limitations is generally three years from filing, or six years if gross income is understated by more than 25%. However, for significant Bitcoin positions that may be held for decades, retain records indefinitely. The cost of keeping digital records is essentially zero. The cost of missing records when your heirs need them is potentially catastrophic. Export exchange CSV files annually, save them redundantly, and ensure your executor knows where they are.
Choosing a Method: The Decision Framework
If You Plan to Hold Most Bitcoin Until Death
Your primary goal is to preserve low-basis lots for the stepped-up basis reset at death while selling only when necessary at minimum tax cost.
Best method: Specific Identification (or HIFO) — sell high-basis lots first, preserve low-basis lots for heirs. Pair with a revocable trust for clean stepped-up basis at death.
If You Make Regular Distributions or Sales
If you're selling Bitcoin regularly — for trust distributions, lifestyle spending, or portfolio rebalancing — manual Spec ID for each transaction is impractical. HIFO configured in your tax software automates the optimal lot selection.
Best method: HIFO (via Specific Identification settings in Koinly, CoinTracker, or TaxBit) — minimizes gain automatically on each sale while preserving your lowest-basis lots.
If You're Funding an Irrevocable Trust This Year
The basis you transfer is permanent — no future step-up.
Best approach: Use Spec ID to identify which lots you're transferring. Prefer high-basis lots. Keep low-basis early lots in your personal revocable trust or estate where they can receive a step-up at death. Consider the grantor trust swap power for future basis management.
If You're Doing Tax-Loss Harvesting
Tax-loss harvesting requires selling specific lots that are currently at a loss. Spec ID is mandatory — you need to designate the underwater lot, sell it to realize the loss, and document the selection. FIFO or HIFO won't let you target specific losing lots.
If You Have a Complex Multi-Wallet History
Multiple exchanges, hardware wallets, and years of purchase history with inconsistent records. In this situation, basis reconstruction becomes critical before you make any more sales.
Best approach: Engage a Bitcoin-specialized CPA to do a full basis reconstruction using exchange APIs, blockchain analytics, and payment records. This should be done before your next significant sale — and certainly before transferring to any trust structure.
Frequently Asked Questions
What is the best cost basis method for Bitcoin?
For most long-term Bitcoin holders, Specific Identification configured as HIFO is optimal — sell highest-basis lots first, preserve lowest-basis lots for the stepped-up basis at death. This minimizes current-year tax while maximizing estate planning value. FIFO is the IRS default but is typically the worst option for anyone with appreciated early-year lots.
What is the difference between FIFO, LIFO, HIFO, and Specific Identification?
FIFO sells your oldest lots first (IRS default). LIFO sells your newest lots first. HIFO sells your highest-cost lots first, minimizing current gains. Specific Identification lets you choose exactly which lot to sell for each transaction. HIFO and LIFO are technically implemented through Spec ID under IRS rules. For long-term holders in a rising market, FIFO typically generates the largest gains while HIFO generates the smallest.
Does cost basis carry over when Bitcoin is transferred to a trust?
It depends on the trust type. Revocable trusts: basis carries over, and heirs receive a stepped-up basis at death. Irrevocable trusts (dynasty trust, SLAT, IDGT): basis carries over permanently, no step-up at death. The trust holds your original cost basis until it sells. This makes lot selection critical for irrevocable trust funding — prefer high-basis lots, keep low-basis lots in your estate for step-up.
Is HIFO IRS-approved for Bitcoin?
HIFO is not a standalone IRS-approved method — it's implemented through Specific Identification, which IS IRS-approved per Rev. Proc. 2024-28. To use HIFO legitimately, you must follow Spec ID rules: identify each lot at the time of sale, maintain contemporaneous records showing acquisition date, cost basis, and sale price. Tax software that offers "HIFO" as a setting is applying Specific Identification behind the scenes.
What happens to my Bitcoin cost basis when I gift Bitcoin?
Gift recipients take your original cost basis (carryover basis rule). If your Bitcoin has a $5,000 basis and is worth $90,000, the recipient's basis is $5,000 — they owe tax on $85,000 of gain when they sell. For family gifts, use Spec ID to give high-basis lots (smaller future gain). For charitable giving, the charity pays no capital gains, making high-appreciation Bitcoin an ideal charitable gift.
How does Form 1099-DA affect Bitcoin cost basis tracking?
Form 1099-DA (first issued 2026) reports Bitcoin sales to the IRS — but only includes basis information for "covered" securities. Self-custody Bitcoin or Bitcoin transferred between exchanges may be reported as "noncovered" with no basis. If you don't provide your own basis documentation, the IRS may assume zero basis, making your entire proceeds taxable. Contemporaneous records — exchange statements, blockchain records, purchase receipts — are essential.
What is the cost basis for mined Bitcoin?
Mined Bitcoin has a basis equal to the fair market value on the day received. That same amount is reported as ordinary income. Each mining payout creates a new tax lot. Miners who accumulate hundreds or thousands of lots over time benefit enormously from HIFO or Spec ID — selling high-basis lots (received during price peaks) while holding low-basis lots (received during bear markets) for long-term appreciation or estate step-up. Learn more about mining tax strategy →
Can I change my cost basis method after previous years?
You can change your cost basis method going forward, but you cannot retroactively change the method for lots already sold. If you've been using FIFO and switch to Spec ID, the change applies to future sales only. This makes early method selection important — every year you remain on FIFO is a year of potentially overpaying. Switch now for future sales and document the method change with your CPA.
How do I set my cost basis method on Coinbase?
On Coinbase: Settings → Tax → Cost Basis Method. Select HIFO or Specific Identification. Set this before making any sales — once a sale executes under FIFO (the default), you cannot retroactively reclassify those lots. Similar settings exist on Kraken and Gemini. If you use tax software like Koinly or CoinTracker, set the method there as well to ensure consistent reporting.
The Bottom Line: Default Is Expensive
The IRS default for Bitcoin is FIFO. FIFO sells your oldest, lowest-basis lots first — exactly the opposite of what a long-term estate plan requires. For a family with $3–5M in Bitcoin purchased over 5–10 years, defaulting to FIFO is a reliable way to pay hundreds of thousands of dollars more in tax over a lifetime, while simultaneously destroying the estate planning value of your most appreciated lots.
Switching to Specific Identification (or HIFO) requires nothing more than configuring your exchange settings and having your CPA document the method change. It can be done immediately for future sales. The lots you've already sold under FIFO are gone — but every future sale from today forward can benefit.
If you haven't reviewed your cost basis method, that review is overdue. Pair it with a conversation about which lots are earmarked for irrevocable trust transfers, which are reserved for stepped-up basis, which are appropriate for tax-loss harvesting, and which are candidates for charitable giving. Those decisions, made deliberately using Specific Identification, are where the real value of sophisticated Bitcoin tax and estate planning is created.
Bitcoin Mining Creates Fresh Cost Basis at Market Value
Every mining payout creates a new tax lot with a basis equal to the current Bitcoin price. Miners who use HIFO or Specific Identification can dramatically reduce capital gains tax when selling mined BTC — selling high-basis lots first while preserving low-basis lots for long-term appreciation. Combined with depreciation deductions on mining equipment, mining is one of the most powerful Bitcoin tax strategies available.
Explore the Bitcoin Mining Tax Strategy →