Contents

  1. What Is Cost Basis and Why Does It Matter?
  2. The Five Lot Selection Methods Explained
  3. Why Average Cost Doesn't Work for Bitcoin
  4. Side-by-Side: Same Sale, Five Different Tax Bills
  5. Extended Example: DCA Investor Selling Over Multiple Years
  6. IRS Rules and Legal Basis for Each Method
  7. Executing Specific Identification Correctly
  8. Holding Period, Short-Term vs. Long-Term, and Lot Selection
  9. Which Method to Use in Each Scenario
  10. Cost Basis Methods and Tax-Loss Harvesting
  11. Cost Basis, Estate Planning, and the §1014 Step-Up
  12. How the One Big Beautiful Bill Act Affects Basis Strategy
  13. Crypto Tax Software Comparison
  14. Tracking Requirements and Record-Keeping
  15. 12-Item Cost Basis Checklist
  16. Frequently Asked Questions

Every Bitcoin investor who has ever made more than one purchase faces a question that sounds simple but has enormous financial consequences: when you sell a portion of your holdings, which Bitcoin are you selling? This isn't philosophical — the IRS requires you to track Bitcoin as property with discrete acquisition lots, each carrying its own cost basis and acquisition date. The method you use to identify which lots are sold on any given transaction is called your cost basis method, and it is the single most impactful tax decision most Bitcoin investors never think carefully about.

The IRS currently recognizes four permissible approaches for Bitcoin lot identification: FIFO (First In, First Out), LIFO (Last In, First Out), HIFO (Highest In, First Out as a form of Specific Identification), and Specific Identification. A fifth approach — Average Cost — is commonly used for mutual funds but is not permitted for Bitcoin under current IRS guidance. Understanding where each method is legal, how it performs mathematically, and when each is strategically appropriate is the foundation of professional-grade Bitcoin tax management.

Educational Disclaimer: This article is for educational purposes only and does not constitute legal or tax advice. IRS guidance on cryptocurrency taxation continues to evolve. Consult a qualified crypto tax professional before making lot selection elections for significant positions, especially in the context of estate planning, charitable giving, or complex transaction histories.

What Is Cost Basis and Why Does It Matter?

Your cost basis in Bitcoin is the amount you originally paid to acquire it — the purchase price plus any fees paid at the time of acquisition. When you sell, exchange, or otherwise dispose of Bitcoin, your taxable gain (or loss) is calculated as proceeds minus basis. The formula is simple; the complexity arises when you have purchased Bitcoin at many different prices over many different dates.

Consider a straightforward scenario: you bought 1 BTC in 2020 at $10,000, 1 BTC in 2022 at $42,000, and 1 BTC in 2024 at $60,000. Today you sell 1 BTC at $95,000. Which purchase are you selling? If you sell the 2020 lot, your gain is $85,000. If you sell the 2024 lot, your gain is $35,000. That's a $50,000 difference in taxable income — representing roughly $10,000–$17,000 in federal tax depending on your bracket — from a single decision about record-keeping and documentation that takes minutes to make correctly.

Multiply this across a decade of dollar-cost averaging, multiple exchanges, self-custody wallets, and several selling events per year, and the cumulative impact of your cost basis method can represent hundreds of thousands of dollars over your Bitcoin investment lifetime. This is not a minor administrative detail — it is a core component of Bitcoin wealth strategy.

$50K+ Potential tax difference per sale from wrong method
4 IRS-approved methods for Bitcoin
0% Retroactive lot changes allowed after sale

What Counts as a "Taxable Disposition"?

Any of the following triggers a taxable event that requires cost basis calculation:

Importantly, transferring Bitcoin between your own wallets or accounts is NOT a taxable event — as long as you maintain accurate records confirming the transfer is between accounts you own. The lot's basis and acquisition date carry over unchanged to the new wallet.

How Fees Factor Into Basis

Transaction fees paid at the time of purchase are added to your cost basis. If you bought 0.5 BTC at $50,000 and paid $50 in fees, your basis is $50,050, not $50,000. Fees paid on the sale side reduce your net proceeds. Most crypto tax software handles this automatically when you import exchange transaction data, but it's worth verifying — particularly for large purchases or OTC desk trades where fees may be significant.

The Five Lot Selection Methods Explained

1. FIFO — First In, First Out (IRS Default)

Under FIFO, the oldest Bitcoin you purchased is treated as the first sold when you make a disposition. Your lots are consumed in strict chronological order from earliest acquisition date to most recent.

How it works mechanically: Every purchase creates a lot. When you sell, you exhaust lots from the oldest forward. If your 2019 purchase is fully consumed, you move to 2020, then 2021, and so on. Partial lots are permitted — you can partially consume a lot if the sale size is smaller than the lot size.

Tax impact in a bull market: Devastating. Your oldest lots typically have the lowest basis (bought at lower prices early in the adoption curve), which means FIFO maximizes the reported gain on every sale. An investor who DCA'd from 2018 through 2024 and then sells in a 2026 bull market will have FIFO triggering sales of their $8,000 and $10,000 lots first — generating enormous gains when current prices are $90,000+.

Tax impact in a bear market: Sometimes advantageous. If prices have fallen significantly, your oldest lots (accumulated at lower prices) may still be below current market value, producing smaller gains. But your newest lots (accumulated at higher prices) would produce larger losses — which HIFO or Specific ID could harvest more efficiently.

The one scenario where FIFO is legitimately optimal: Estate planning for long-term holders. If you intend to hold your lowest-basis lots until death to receive the §1014 step-up, FIFO naturally processes your older high-basis lots first, leaving your lowest-basis (often oldest) lots intact for the estate. However, Specific Identification can replicate this outcome with more precision.

Documentation required: None beyond standard purchase records. FIFO applies automatically as the IRS default if you make no election.

2. LIFO — Last In, First Out

Under LIFO, your most recently acquired Bitcoin is treated as sold first. The logic mirrors inventory accounting used in traditional commodity businesses, where you sell the newest inventory first.

How it works mechanically: The most recent purchase lot is fully consumed before moving to the next most recent. In a rising market, LIFO tends to produce smaller gains because recent purchases have higher bases (bought at higher prices). However, if your most recent purchases were made within the last 12 months, LIFO triggers short-term capital gains treatment — taxed as ordinary income at rates up to 37% rather than the 20% maximum for long-term gains.

The short-term trap: This is LIFO's critical weakness for Bitcoin investors. A DCA investor who buys monthly and then sells during a rally will have LIFO selecting their most recent purchases — which are almost certainly short-term lots. The tax savings from higher basis can easily be overwhelmed by the jump from 20% long-term rates to 37% ordinary income rates.

When LIFO makes sense: In narrow circumstances where (a) your most recent purchases have meaningfully higher basis than older lots, AND (b) those recent lots have been held longer than 12 months — ensuring long-term treatment. In practice, this scenario is uncommon for active DCA investors but can arise for investors who paused accumulation for 12+ months before a sale event.

Documentation required: LIFO is a form of specific identification — you must document which lots are being sold at or before the time of sale.

3. HIFO — Highest In, First Out

HIFO selects the lots with the highest cost basis first, regardless of acquisition date. If you bought Bitcoin at $10,000, $42,000, $60,000, and $85,000, and you sell 1 BTC today, HIFO sells the $85,000 lot first — minimizing your recognized gain to the maximum possible extent.

Why HIFO is usually the tax-optimal default for active sellers: It systematically minimizes taxable gain on every sale by applying maximum available basis. Over a portfolio with lots at many price levels, HIFO functions as a continuous gain minimization engine. Even if some HIFO lots are short-term, HIFO still tends to outperform FIFO in most rising markets because the basis differential overwhelms the rate differential — though this should be verified on each sale.

The short-term consideration: HIFO selects by basis only, not by holding period. If your highest-basis lot is also your most recent purchase (short-term), HIFO will select it — potentially converting a long-term gain into a short-term one. For this reason, sophisticated investors often use Specific Identification rather than pure HIFO, ensuring they can select the optimal combination of high basis AND long-term holding period.

IRS status: HIFO is explicitly permitted as a form of specific identification. It is not named as a method in the Internal Revenue Code directly, but IRS Notice 2014-21 confirmed that specific identification applies to virtual currency, and Rev. Rul. 2023-14 reaffirmed the property treatment. HIFO satisfies the specific identification requirements as long as contemporaneous documentation is maintained.

Documentation required: Same as Specific Identification — lot-level records and contemporaneous designation at time of sale. Most crypto tax software automates this when HIFO is set as the default method.

4. Specific Identification (SpecID)

Specific Identification gives you complete manual control over which exact lots are selected for each disposition. Rather than applying a formula (oldest, newest, highest basis), you choose the specific lots being sold from your inventory — potentially selecting a different combination for every sale.

Why SpecID is the most powerful method: It lets you optimize each sale individually. On one sale you might select high-basis lots to minimize gain. On the next, you might select a specific low-basis lot to realize a modest long-term gain that fills a 0% LTCG bracket. Before year-end, you select underwater lots to harvest losses. No formula-based method can replicate this flexibility.

Practical use cases: (a) Selecting exactly which lots to sell during a large liquidity event, (b) harvesting specific losses while maintaining broad Bitcoin exposure by rebying immediately (no wash sale rule applies to Bitcoin), (c) filling the 0% long-term capital gains bracket in low-income years, (d) ensuring you never accidentally trigger short-term treatment by carefully selecting only lots held >12 months.

What makes SpecID superior to pure HIFO: HIFO selects the highest-basis lot regardless of holding period. SpecID lets you choose the highest-basis lot that is also long-term — or any other combination that optimizes your specific tax situation. This distinction matters most when your highest-basis lots are also your most recently acquired (short-term) lots.

Documentation required: The most rigorous of all methods. You must maintain adequate records for each lot and contemporaneously identify which lots are being sold at or before the time of sale. See the dedicated section below for how to execute this correctly.

Why Average Cost Doesn't Work for Bitcoin

Average Cost is the most common method used for mutual funds — it simply divides your total acquisition cost by the number of shares to get a uniform basis per unit. For many investors accustomed to fund investing, it seems intuitive to apply the same approach to Bitcoin. Don't.

The IRS has never authorized average cost for property, and Bitcoin is explicitly classified as property under Notice 2014-21. Average cost is specifically permitted only for regulated investment company shares (mutual funds) under IRC §1012(c) — a provision that does not extend to virtual currency. Several crypto exchanges (most notably Coinbase at various points) have internally calculated average cost for display purposes, creating the false impression that this is an accepted method. It is not.

Using average cost on your tax return creates several problems:

Bottom line on Average Cost: Don't use it for Bitcoin. It's legally dubious, computationally unnecessary (HIFO achieves better outcomes anyway), and creates potential compliance exposure. If you've seen it in your exchange's tax forms or interface, understand that the exchange is providing a display tool, not a tax election. Your actual tax election is made when you complete your Form 8949.

Side-by-Side: Same Sale, Five Different Tax Bills

Consider an investor who has accumulated Bitcoin over four years and needs to sell 1 BTC at the current price of $90,000. Their purchase history:

Lot Purchase Date Price Paid Holding Period (Today) Status
Lot AJanuary 2021$33,0005+ yearsLong-term
Lot BJune 2022$22,0003.5+ yearsLong-term
Lot CNovember 2023$37,0002.3+ yearsLong-term
Lot DMarch 2025$84,00012 monthsLong-term (just crossed)
Lot EDecember 2025$96,0003 monthsShort-term

The investor is in the 37% ordinary income bracket, 20% long-term capital gains bracket (plus 3.8% NIIT = 23.8% effective LTCG rate for high earners).

Method Lot Selected Basis Gain / (Loss) Character Federal Tax
FIFO Lot A (oldest) $33,000 $57,000 gain Long-term ~$13,566
LIFO Lot E (newest) $96,000 ($6,000) loss Short-term loss $0 + $2,220 loss benefit
HIFO Lot E (highest basis) $96,000 ($6,000) loss Short-term loss $0 + $2,220 loss benefit
SpecID (optimal LT) Lot D (high basis, LT) $84,000 $6,000 gain Long-term ~$1,428
Average Cost Blended ($54,400 avg) $54,400 $35,600 gain Mixed (not IRS-approved) ~$8,473 (if long-term)

The spread between the worst permissible method (FIFO, $13,566) and the optimal approach (SpecID selecting Lot D for a $6,000 LT gain, $1,428) is over $12,000 on a single sale. Note that LIFO and HIFO both produce a loss in this scenario by selecting the underwater Lot E — which is valuable if you have other gains to offset, but less valuable if you have no gains to absorb the loss. That's why SpecID remains superior: it lets you choose the long-term Lot D to realize a small, long-term gain if a loss isn't useful to you that year.

Extended Example: DCA Investor Selling Over Multiple Years

Understanding cost basis methods on a single sale is relatively straightforward. The real complexity — and the real value of getting this right — emerges when you're a consistent DCA investor making multiple sales across multiple years. Let's walk through a realistic scenario.

The Setup: Five Years of DCA

An investor begins DCA in January 2021, buying approximately $10,000 in Bitcoin every quarter. By late 2025, they have 15 lots with various purchase prices ranging from $32,000 to $97,000. They decide to sell 2 BTC in December 2025 to cover a real estate down payment, with Bitcoin currently trading at $92,000.

Representative Lot Summary (selected lots shown)

• Q1 2021: 0.31 BTC at $32,000/BTC — basis $9,920

• Q3 2021: 0.21 BTC at $47,000/BTC — basis $9,870

• Q1 2022: 0.24 BTC at $42,000/BTC — basis $10,080

• Q3 2022: 0.52 BTC at $19,000/BTC — basis $9,880

• Q1 2023: 0.38 BTC at $26,000/BTC — basis $9,880

• Q2 2024: 0.16 BTC at $62,000/BTC — basis $9,920

• Q4 2024: 0.11 BTC at $92,000/BTC — basis $10,120

• Q2 2025: 0.12 BTC at $82,000/BTC — basis $9,840

• Q4 2025: 0.10 BTC at $97,000/BTC — basis $9,700 (short-term)

...plus 6 additional lots. Total: ~3.1 BTC, blended average basis ~$52,000

Selling 2 BTC at $92,000 = $184,000 proceeds.

Under FIFO, the 2021 and 2022 lots are consumed first — lots with bases around $32,000–$47,000. The 2 BTC sale recognizes approximately $100,000–$115,000 in long-term capital gains. At the 23.8% effective LTCG rate, federal tax is roughly $23,800–$27,370.

Under HIFO/SpecID, the investor selects their highest-basis lots: the Q4 2025 short-term lot (basis ~$97,000) and the Q4 2024 long-term lot (basis ~$92,000). This produces approximately $3,000 in net losses — essentially the $184,000 proceeds minus the ~$187,000 combined basis. Tax: zero. Plus a small loss carryforward.

Under optimal SpecID (if the investor doesn't want a loss — perhaps they have no gains to offset it and prefer modest long-term gains): select the two highest-basis long-term lots. The Q2 2024 lot (basis $62,000/BTC) and Q4 2024 lot (basis $92,000/BTC) generate approximately $38,000 in total long-term gains. Tax: approximately $9,044 at 23.8%. This still saves over $18,000 versus FIFO.

This is the practical power of lot selection: on a $184,000 sale, choosing the right lots can mean the difference between a $27,000 tax bill and a $0 tax bill with a small loss carryforward — or a $9,000 tax bill with strategic long-term gain recognition. None of this requires tax avoidance or aggressive positions. It's simply a matter of selecting the right lots and documenting the selection.

Bitcoin Mining: The Permanent Basis Reset Strategy

For investors burdened by large low-basis lots, Bitcoin mining offers a unique tax advantage: mined Bitcoin always enters your lot inventory at fair market value on the date of mining — creating fresh, current-price basis rather than old, low-price basis. Mining income is taxed as ordinary income at acquisition, but future appreciation is then taxed only on gains above that current basis, enabling more efficient lot management over time.

Explore the Bitcoin Mining Tax Strategy →

IRS Rules and Legal Basis for Each Method

The legal framework for Bitcoin cost basis methods rests on a small number of IRS pronouncements that treat cryptocurrency as property. Understanding the source documents clarifies both what is permitted and where the rules have gaps.

The Core Guidance Documents

IRS Notice 2014-21 established that virtual currency is property for federal tax purposes. This has sweeping implications: it means general tax principles applicable to property transactions apply — including the ability to use specific identification for lot selection, which is the legal foundation for HIFO and SpecID. This notice also established that mined Bitcoin is ordinary income at fair market value on the date of receipt.

Rev. Rul. 2023-14 addressed the tax treatment of cryptocurrency staking rewards, but more broadly reaffirmed the property treatment framework from Notice 2014-21. It confirmed that the acquisition date for tax purposes is the date the taxpayer receives the cryptocurrency and has dominion and control over it.

IRS FAQ on Virtual Currency (updated periodically on IRS.gov) explicitly states that specific identification is available for virtual currency, and that FIFO applies as the default if no specific identification is made. This FAQ language is where HIFO's permissibility is most directly implied — HIFO is simply specific identification that consistently selects the highest-basis lots.

Form 1099-DA (Digital Asset Broker Reporting, effective 2025): Beginning with 2025 transactions, many exchanges must report proceeds and cost basis to both the IRS and taxpayers on Form 1099-DA — similar to the 1099-B forms used for securities. This creates a new layer of complexity: the exchange's cost basis calculation may use FIFO by default, which may differ from your own HIFO/SpecID calculation. When there is a discrepancy, your method prevails if you have adequate documentation — but you must reconcile the numbers on your return.

Method IRS Status Documentation Required Retroactive? Default?
FIFO ✅ Explicitly permitted Standard purchase records Yes (it's the default) ✅ Yes
LIFO ✅ Permitted (as SpecID) Contemporaneous lot designation No No
HIFO ✅ Permitted (as SpecID) Contemporaneous lot designation No No
Specific ID ✅ Explicitly permitted Contemporaneous lot designation + adequate records No No
Average Cost ❌ Not permitted for property N/A N/A No

The retroactivity prohibition matters: You cannot complete December sales in April, look at all your lots, and retroactively assign the most favorable basis after the fact. The IRS requires that specific identification be made at or before the time of sale. In practice, this means your lot selection must be recorded in your crypto tax software, a written log, or a trade confirmation document contemporaneously with each sale — not retrospectively at tax preparation time.

Executing Specific Identification Correctly

Specific Identification is the most powerful cost basis method, but it requires the most disciplined execution. Two elements must be present: adequate records and contemporaneous designation.

Element 1: Adequate Records for Every Lot

For each Bitcoin purchase, you need to be able to establish:

Exchange transaction histories, email confirmations, and crypto tax software import files all serve as source documents. The IRS does not specify a particular format for these records — you just need to be able to produce them if asked. Keep records for at least three years from the date of filing the return on which the disposition was reported (six years is safer for large positions).

Element 2: Contemporaneous Designation

This is where most investors fail. You must be able to demonstrate that the lot selection for each sale was made at or before the time of sale — not weeks or months later. The cleanest ways to achieve this:

Use crypto tax software that records lot selection at transaction import time. When you import or confirm a sale in Koinly, TaxBit, CoinLedger, or TokenTax, and the software applies HIFO or lets you manually select lots, the software's timestamped transaction record serves as your contemporaneous documentation. The lot selection is locked at the time you process the transaction in the software. Run this workflow throughout the year, not just at tax time.

For large OTC or off-exchange transactions: Prepare a written lot designation document before or at the time of sale. A simple written record works: "On [date], I am selling [X] BTC, specifically from Lot [ID] acquired on [acquisition date] at [price], with cost basis of [amount]. Exchange/wallet: [source]." Sign and date the document. Keep it with your trade confirmations.

For exchange trades where you can select lots in the exchange UI: Some exchanges (notably Coinbase Pro in prior versions, and select institutional platforms) allow lot selection at the time of placing the sell order. Take a screenshot confirming the lot selection if this feature is available.

Common SpecID Execution Mistakes

Holding Period, Short-Term vs. Long-Term, and Lot Selection

The interaction between cost basis method and holding period is one of the most underappreciated dimensions of Bitcoin tax planning. The tax rate differential between short-term and long-term gains is enormous — potentially the difference between 37% and 20% on the same dollar of gain. Getting basis right while accidentally triggering short-term treatment can easily erase the benefit.

The Rules on Holding Period

Bitcoin held for more than 12 months qualifies for long-term capital gains treatment. The holding period begins the day after acquisition and ends on the date of sale. A lot purchased on January 15, 2024 qualifies for long-term treatment on sales occurring on January 16, 2025 or later.

Short-term gains — from lots held 12 months or less — are taxed as ordinary income. For top-bracket investors, this means paying 37% federal plus applicable state taxes, versus 23.8% (20% + 3.8% NIIT) for long-term gains. The practical implication: a $100,000 short-term gain costs $13,200 more in federal tax than the same $100,000 recognized as a long-term gain (at top rates).

How HIFO Can Accidentally Create Short-Term Gains

Pure HIFO selects by basis alone. In a market where prices have recently surged, your highest-basis lots may be your most recent purchases — which are also short-term. HIFO will select those lots first, potentially converting what would have been a long-term gain into a short-term one.

Illustrative Scenario: HIFO's Short-Term Trap

You own: Lot A (Jan 2022, basis $40,000 — long-term) and Lot B (Oct 2025, basis $88,000 — short-term). Bitcoin is at $92,000.

Pure HIFO selects Lot B: $4,000 short-term gain. Tax at 37%: ~$1,480.

Manual SpecID selects Lot A: $52,000 long-term gain. Tax at 23.8%: ~$12,376.

In this case, HIFO saves tax! But if you have no other gains/losses, the $1,480 on Lot B is far better. However, if you have $52,000 in other long-term losses to offset, SpecID selecting Lot A produces a net $0 gain, while HIFO still produces a $4,000 short-term gain. SpecID is strictly more powerful because it lets you consider all variables simultaneously.

The broader lesson: use HIFO as a reasonable default, but for any sale over $50,000, take a few minutes to run a SpecID analysis in your crypto tax software, comparing the tax outcome of your top two or three lot options against your full-year gain/loss picture.

Which Method to Use in Each Scenario

Your Situation Recommended Approach Rationale
Active seller, want to minimize all current-year gains HIFO or SpecID (highest-basis long-term lots) Maximizes basis applied to sale; check holding period to avoid short-term conversion
Year-end tax-loss harvesting SpecID (specifically underwater lots) Select the exact lots below current market; realize the loss, immediately rebuy to maintain exposure (no wash sale for Bitcoin)
Filling the 0% LTCG bracket in a low-income year SpecID (select long-term, low-basis lots to fill bracket exactly) Realize gains at 0% by selecting specific LT lots; eliminates embedded gains tax-free within bracket limits
Large one-time liquidity event (real estate, business, divorce) SpecID with full-year tax projection Model the full-year gain/loss picture; select lots that minimize total annual tax, not just this sale's tax
Planning to hold most Bitcoin until death (§1014 step-up) SpecID (sell highest-basis lots; preserve lowest-basis lots for estate) Basis optimization only matters on lots you sell; for death-transfer lots, any basis is erased by step-up anyway
Long-term HODLer, no sales planned, simplicity preferred FIFO (default) or HIFO via software default If you're not selling, method doesn't matter. Set HIFO in your software so you're ready when you do sell
Donating Bitcoin to charity SpecID (select long-term, lowest-basis lots) Charitable contributions of LT appreciated property: deduct FMV, pay zero capital gains tax on any amount of appreciation. Select your lowest-basis LT lot to maximize the tax-free appreciation eliminated
Converting Bitcoin to a Bitcoin IRA or trust structure Consult tax counsel; structure determines recognition Certain conversions are taxable dispositions; others are not. Method selection matters only if the transaction is a recognition event
Gifting Bitcoin to a lower-bracket family member SpecID (select lots based on recipient's bracket) Carryover basis — you carry your basis to the recipient. If you gift a low-basis lot to a 0% LTCG bracket recipient, they can sell it tax-free. Coordinate lot selection with gift strategy.

Cost Basis Methods and Tax-Loss Harvesting

Bitcoin's unique legal status — property, not a security — eliminates the wash sale rule that applies to stocks and bonds. Under the wash sale rule (IRC §1091), investors cannot deduct losses from selling a security if they purchase the "substantially identical" security within 30 days before or after the sale. Because Bitcoin is classified as property rather than a security, this restriction does not currently apply.

The practical implication: you can sell Bitcoin lots at a loss and immediately rebuy the same amount of Bitcoin, locking in the tax loss while maintaining your full economic position. This strategy — which is illegal for stock investors — is a legitimate and powerful tax tool for Bitcoin holders. The interaction with cost basis methods is direct:

How to Execute Bitcoin Tax-Loss Harvesting Correctly

Step 1: Identify lots currently below their purchase price. This is where SpecID is essential — you need to know exactly which lots are underwater and by how much.

Step 2: Sell the underwater lots. Using SpecID, specifically designate these lots in your crypto tax software at the time of sale. The sale must be at a price below your basis to generate a deductible loss.

Step 3: Immediately repurchase the same amount of Bitcoin at the current market price. Your new purchase creates a fresh lot at the current price as your new basis. You've locked in the loss for tax purposes while maintaining identical Bitcoin exposure.

Step 4: The harvested loss offsets other capital gains (up to 3,000 per year in net losses can offset ordinary income; excess carries forward indefinitely).

Legislative risk note: Congress has periodically introduced legislation that would apply the wash sale rule to cryptocurrency. As of the current legislative environment, the wash sale rule does not apply to Bitcoin — but this could change. Monitor tax legislation closely if you are deploying systematic loss harvesting as a core portfolio strategy.

The optimal time for loss harvesting is during periods of short-term price decline within a longer-term uptrend — common in Bitcoin's cyclical price structure. A lot purchased at $65,000 that declines to $58,000 during a market consolidation phase can generate a $7,000 loss that offsets other gains. Immediately rebuying at $58,000 sets a new basis, so if Bitcoin subsequently rises to $100,000, you owe gains from $58,000 — but you've already extracted the $7,000 loss benefit from the prior basis.

Cost Basis, Estate Planning, and the §1014 Step-Up

The §1014 basis step-up is one of the most valuable provisions in the entire tax code for long-term Bitcoin investors: when you die, your heirs receive a stepped-up cost basis equal to the fair market value of your Bitcoin on your date of death. All embedded capital gains that accumulated during your lifetime are permanently eliminated — never taxed, neither by you nor by your estate.

This provision has profound strategic implications for how you think about cost basis optimization during your lifetime. The key insight is that basis optimization only matters for Bitcoin you plan to sell while alive. For Bitcoin you intend to hold until death, the original basis is completely irrelevant — the step-up replaces it with FMV at death regardless of whether you paid $1,000 or $90,000 per coin.

This creates a powerful bifurcated strategy for large Bitcoin holders:

For a thorough treatment of Bitcoin in estate planning — including trust structures, beneficiary designations, and strategies for passing Bitcoin to heirs — see our comprehensive Bitcoin Estate Planning Guide, which covers the full spectrum from simple beneficiary designations through dynasty trust structures and multi-generational Bitcoin preservation strategies.

Basis step-up under the One Big Beautiful Bill Act (OBBBA): The OBBBA enacted a permanent increase to $15 million per individual and $30 million per couple in estate and gift tax exemptions. This means the overwhelming majority of Bitcoin holders will pass their estates without incurring federal estate tax — but the basis step-up benefit applies regardless of estate tax exposure. Even families well below the $15M threshold receive the full step-up on all appreciated assets, including Bitcoin, making long-term holding and step-up planning accessible to a broad range of investors, not just the ultra-wealthy.

How the One Big Beautiful Bill Act Affects Basis Strategy

The One Big Beautiful Bill Act permanently increased the federal estate and gift tax exemption to $15 million per individual and $30 million per couple. For Bitcoin investors, this change affects cost basis planning in several meaningful ways.

More Bitcoin Can Be Transferred Tax-Free at Death

With a $15M individual exemption, a large majority of Bitcoin portfolios fall entirely below the estate tax threshold. For these estates, the priority is maximizing the §1014 basis step-up — ensuring as many appreciated lots as possible are held until death rather than sold during the owner's lifetime. The higher exemption makes this strategy accessible to investors with substantial (but sub-$15M) Bitcoin positions who previously had to worry about estate tax exposure eating into any step-up benefit.

Lifetime Gifting Strategy Shifts

With a permanent $15M exemption, annual exclusion gifting ($18,000 per recipient in 2026) becomes less urgent as an estate reduction tool. This affects cost basis planning because gifting Bitcoin transfers your carryover basis to the recipient — triggering no immediate tax but removing the future step-up at death. Under prior law with lower exemptions, aggressive gifting to reduce taxable estate size was common. Under the OBBBA's permanent $15M exemption, more families may prefer to hold Bitcoin until death and let the step-up eliminate embedded gains, rather than gifting low-basis lots that carry over basis to recipients.

Charitable Giving With Appreciated Bitcoin

The interplay of the OBBBA's higher exemptions with charitable deduction limits makes Donor Advised Funds (DAFs) and Charitable Remainder Trusts (CRTs) increasingly attractive vehicles for disposing of large, low-basis Bitcoin lots. When you contribute long-term appreciated Bitcoin to a DAF, you receive a fair market value deduction equal to the entire Bitcoin value — and you pay zero capital gains tax on the embedded appreciation, regardless of basis. Under a higher estate tax exemption environment, this strategy is primarily about income tax efficiency rather than estate reduction.

Crypto Tax Software Comparison

Manual lot tracking is feasible for investors with fewer than a few dozen transactions per year. For anyone with a significant DCA history, multiple exchanges, self-custody wallets, or any DeFi activity, dedicated crypto tax software is not optional — it is required infrastructure for defensible lot selection and compliant Form 8949 filing.

What to Look for in Crypto Tax Software

The core functionality requirements for serious Bitcoin tax management:

Platform FIFO LIFO HIFO Specific ID 1099-DA Reconciliation Form 8949 Strength
Koinly Best overall for complex portfolios; strong DeFi support
TaxBit Enterprise-grade; preferred by institutional and HNW clients; integrates with major custodians
CoinLedger User-friendly; strong Bitcoin-specific workflow; good TurboTax integration
TokenTax CPA-in-the-loop option; good for investors who want professional oversight on lot selection
ZenLedger Strong exchange connectivity; good for investors using many platforms
CoinTracker Limited Good for lower-complexity portfolios; SpecID capability less robust than others

The 1099-DA Reconciliation Challenge

Beginning with 2025 tax year reporting, many cryptocurrency exchanges are required to provide Form 1099-DA to both the IRS and taxpayers. This form reports gross proceeds and cost basis — but the exchange's basis calculation may use FIFO by default, which will differ from your HIFO or SpecID calculation. When you file Form 8949 using HIFO and the exchange reports FIFO basis to the IRS, the numbers will not match.

This is not automatically a problem — you are entitled to use your own permissible method. But you should expect the IRS to notice discrepancies and potentially send a CP2000 notice asking for explanation. Your crypto tax software's gain/loss report, with timestamped lot selection records, is your documentation response. The IRS is asking "why does your reported gain differ from what the exchange reported?" — your answer is "I used HIFO/Specific Identification as permitted; here is my lot-level documentation."

Tracking Requirements and Record-Keeping

The backbone of any cost basis strategy is the quality of your records. The IRS can assess additional tax within three years of filing, or six years if gross income is understated by more than 25%. For Bitcoin investors with large positions, keeping records indefinitely is prudent — particularly for lots acquired many years ago that haven't been sold yet.

What to Keep

Handling Transfers Between Your Own Wallets

Moving Bitcoin from one wallet you own to another is not a taxable event — but it is a record-keeping event. You must maintain the lot identity and cost basis as the Bitcoin moves. If you move Bitcoin from Coinbase to a Ledger hardware wallet, the lots don't disappear — they transfer. Your crypto tax software should have a "transfer" category that handles this correctly. If it marks the send as a "sale" and the receive as a new purchase, you will artificially create a taxable event and incorrectly reset your basis. Verify transfer handling in your software before year-end.

Custody Infrastructure and Institutional Bitcoin Operations

Investors managing significant Bitcoin positions — where lot selection, custody architecture, and operational security become interdependent decisions — face a set of infrastructure choices that go well beyond picking an exchange. Abundant Mines' 36-question institutional due diligence framework covers the full spectrum of considerations for serious Bitcoin infrastructure decisions.

Download the 36-Question Due Diligence Checklist →

12-Item Cost Basis Checklist

  1. Import all transactions into crypto tax software before January 31. Don't wait until April. Load your full transaction history in January so your gain/loss position is visible in real time throughout the year. Verify all lots are correctly identified with accurate acquisition dates and prices.
  2. Set HIFO as your software's default method from the beginning of the year. Most platforms default to FIFO. Change this to HIFO in your account settings. This ensures all automated calculations throughout the year use the tax-optimal basis, and that your software's lot selection records serve as contemporaneous documentation from day one.
  3. Verify the holding period of every lot before any sale. Run a lot inventory report in your software. Know which lots are short-term (less than 12 months) and which are long-term. Never complete a large sale without knowing the holding period of the lots being selected — the short-term vs. long-term rate differential can easily exceed the basis benefit from HIFO.
  4. For sales over $25,000, run a SpecID analysis before executing. Open your software's lot selection tool. Compare the top three lot options (highest basis, highest-basis long-term only, and the lot that produces a targeted gain amount). Factor in your full-year gain/loss picture before selecting. The few minutes this takes is worth thousands of dollars.
  5. Document lot selections for large sales in writing at time of execution. For six-figure or larger transactions, create a written lot designation: date, lot ID, acquisition date, quantity, basis. Sign and date it. Keep with trade confirmations. Your software's export report also serves this function if you generate it contemporaneously.
  6. Run a year-end gain/loss projection in October. Don't wait for December. Run your tax projection in October so you have time to act. Identify opportunities: losses to harvest before year-end, long-term gains to realize while in a low bracket, short-term lots that will cross the 12-month threshold by December. Calendar any lot holding period crossovers.
  7. Harvest losses before December 31 if you have offsetting gains elsewhere. Using SpecID, identify your highest-loss lots. Sell them before year-end to realize the deduction. Immediately rebuy the same quantity (no wash sale rule applies). Your new lots have a current-price basis, eliminating the embedded loss while maintaining full exposure.
  8. Identify your death-transfer lots and separate them from your sell-during-lifetime lots. This is purely a mental accounting exercise — you don't need to hold them in separate wallets. But knowing which lots you plan to hold until death (and which you plan to sell during your lifetime) clarifies where to apply cost basis optimization and where it's irrelevant.
  9. Reconcile your software's output against all 1099-DA forms received. If exchange proceeds or basis figures on 1099-DA differ from your records, identify the discrepancy before filing. Common sources: transfers incorrectly treated as sales, fees calculated differently, or the exchange using FIFO while you used HIFO. Your method is legitimate — but you need documentation supporting the discrepancy.
  10. Export and archive your year-end lot reports before closing the tax year in your software. Software updates, account migrations, or plan changes can occasionally disrupt historical data. Keep offline copies of your annual gain/loss reports, lot selection records, and Form 8949 alongside your filed tax return.
  11. Update your estate plan if your Bitcoin holdings change significantly. Large increases in your Bitcoin position may affect whether your estate stays below the OBBBA's $15M/person exemption threshold, how you've structured beneficiary designations, and whether any lots should be re-routed into trust structures. Review annually with your estate planning counsel — see our Bitcoin Estate Planning Guide for the complete framework.
  12. Keep all transaction records for at least six years; for unrealized lots, indefinitely. The general IRS statute of limitations is three years, but extends to six years if income is understated by 25%. For Bitcoin lots that haven't been sold yet, you may be holding records for a decade or more — that's appropriate. The records you kept in 2019 about a lot you still haven't sold in 2026 are just as important as records from last year.

Frequently Asked Questions

What is the best cost basis method for Bitcoin?

For most investors actively selling Bitcoin, HIFO (Highest In, First Out) minimizes current-year capital gains tax by systematically applying the highest available basis. For investors making large, strategic sales — liquidity events, charitable contributions, estate planning maneuvers — Specific Identification provides more precise control by letting you optimize each sale individually. FIFO, the IRS default, is rarely the best choice for tax minimization but requires no documentation effort and may be appropriate for investors who have no near-term sale plans.

Does the IRS allow HIFO for Bitcoin?

Yes. HIFO is permitted as a form of Specific Identification under IRS guidance rooted in Notice 2014-21's property classification of virtual currency. You must maintain contemporaneous documentation identifying which lots are sold at or before the time of sale. Most crypto tax software (Koinly, TaxBit, CoinLedger) supports HIFO and generates compliant audit trails automatically when the method is set as the default.

Can I change my Bitcoin cost basis method from year to year?

Yes. Unlike mutual fund shares, where switching from average cost back to specific identification requires special procedures, Bitcoin investors are not permanently locked into a method. You can use FIFO in one year and HIFO in the next. However, you cannot retroactively change the lot selection for completed transactions. Going forward from any point, you apply your chosen method — but completed sales remain as reported.

What documentation do I need for Specific Identification?

The IRS requires adequate records for each lot (acquisition date, quantity, price paid, fees, source account) and contemporaneous designation — identification of which specific lots are being sold at or before the time of sale. A written record specifying the lot ID, acquisition date, and cost basis satisfies this requirement. Crypto tax software that records lot selection at the time you import or confirm transactions also serves as contemporaneous documentation, as long as you're processing transactions throughout the year rather than only at tax time.

Does Average Cost work for Bitcoin taxes?

No. Average Cost is not an IRS-approved method for Bitcoin. It is specifically authorized only for regulated investment company shares (mutual funds) under IRC §1012(c) — a provision that does not apply to virtual currency, which is classified as property. Some exchanges display average cost as a reference tool; this does not constitute a tax election. Using average cost on your Bitcoin tax return creates compliance risk and voluntarily surrenders the tax optimization benefit that HIFO/SpecID provide.

How does Bitcoin cost basis interact with estate planning?

Bitcoin held until death receives a stepped-up basis equal to fair market value on the date of death under §1014, eliminating all embedded capital gains regardless of original basis. Cost basis optimization is therefore only relevant for Bitcoin you plan to sell during your lifetime. For lots earmarked for estate transfer, the most tax-efficient strategy is often to hold them untouched (applying SpecID to ensure you sell higher-basis lots first for any lifetime sales) and let the step-up eliminate the embedded gains tax-free at death.

How does the 1099-DA affect my cost basis reporting?

Beginning with the 2025 tax year, exchanges are required to report proceeds and cost basis on Form 1099-DA. Exchanges typically default to FIFO for their internal calculations, which may differ from your HIFO or SpecID results. This discrepancy is legitimate — you are entitled to use your own permissible method — but you may receive a CP2000 notice asking for explanation. Your crypto tax software's gain/loss report and lot selection records serve as documentation. Reconcile 1099-DA forms against your own records before filing.

Which crypto tax software is best for HIFO and Specific Identification?

Koinly, TaxBit, CoinLedger, TokenTax, and ZenLedger all support HIFO and full Specific Identification with Form 8949 export. TaxBit is generally preferred for institutional and high-net-worth clients due to its enterprise features and custodian integrations. Koinly has the strongest DeFi transaction handling. CoinLedger offers the best user experience for Bitcoin-focused investors with straightforward exchange and wallet histories. For portfolios above $5M in Bitcoin value, consider platforms that offer CPA-assisted review alongside software functionality.

Disclaimer: This article is for educational purposes only and does not constitute legal, tax, or financial advice. IRS guidance on cryptocurrency taxation continues to evolve — consult a qualified crypto tax professional or attorney before making lot selection elections for significant positions, particularly in the context of estate planning, charitable giving, or complex transaction histories. Software recommendations reflect general capabilities as of early 2026; verify current feature sets directly with each provider. The One Big Beautiful Bill Act information reflects enacted law as understood at time of writing; consult qualified counsel for current legislative status and applicability to your situation.