Cost Basis Method (Crypto Tax)

The accounting order used to match disposals with purchases, such as FIFO, LIFO or highest-cost-first.

Basically

Cost basis methods decide which crypto units you sold for your tax return. FIFO sells the oldest units first, LIFO the newest and HIFO the most expensive.

Key Takeaways

  • A cost basis method determines which units of a crypto asset count as sold when you dispose of part of your holdings. This directly affects how much capital gains tax you owe.
  • The IRS recognises two approaches for digital assets: FIFO (first in, first out) as the default, and specific identification. Specific identification enables strategies such as HIFO (highest in, first out) and LIFO (last in, first out) when you keep proper records.
  • Starting with tax year 2025, Rev. Proc. 2024-28 requires per-wallet cost basis tracking instead of pooling across all wallets. Brokers also began issuing Form 1099-DA for gross proceeds reporting.

What Is a Cost Basis Method?

A cost basis method is the accounting rule that determines which specific units of a cryptocurrency count as sold when you dispose of part of your holdings. Most investors buy the same asset at different prices over time, so your chosen method determines which purchase price, or cost basis, is matched against the sale price to calculate your capital gain or loss.

An example shows the difference: you bought 1 BTC at $30,000 in January and another 1 BTC at $60,000 in June. If you sell 1 BTC in December for $65,000, your taxable gain depends entirely on which unit the IRS considers sold. Under FIFO, you sold the $30,000 unit for a $35,000 gain; under HIFO through specific identification, you sold the $60,000 unit for only a $5,000 gain.

Your chosen method directly affects how much tax you pay, whether gains qualify as short-term or long-term, and how your remaining cost basis is distributed across your portfolio. Active traders handling hundreds or thousands of transactions can face a substantial cumulative impact across a tax year.

How It Works

A sale, exchange or other disposal of cryptocurrency requires you to identify which lot is being sold. A lot is a specific purchase at a specific price and date, and the IRS recognises two primary approaches for digital assets.

FIFO (First In, First Out)

FIFO assumes you sell your oldest units first. FIFO is the IRS default method and applies automatically if you do not actively choose another approach; in a market that has generally risen over time, it tends to produce the largest capital gains because your earliest and often cheapest units are sold first.

Specific Identification

Specific identification lets you choose exactly which lots to sell. You can use it for several lot-selection strategies.

The IRS treats HIFO and LIFO as lot-selection strategies executed through specific identification, not as standalone methods. Selecting HIFO in tax software is not sufficient; you must maintain adequate records that identify each lot before the trade is executed.

Record-Keeping Requirements

Specific identification requires adequate records that demonstrate your lot selection. Your records must support each choice.

Retroactive selection of which lots were sold after the fact does not satisfy IRS requirements. You must document the lot selection at or before the time of the transaction, and many crypto accounting platforms now support a standing instruction, such as always selling highest-cost lots first, to automate the process in a compliant way.

The 2025 Per-Wallet Rule

Rev. Proc. 2024-28, effective January 1, 2025, introduced a significant change to cost basis tracking for digital assets. Many taxpayers previously used a universal method that pooled cost basis across all wallets and exchanges, but the new rule requires separate tracking for each wallet or account.

The same token held across multiple wallets now has an independent cost basis pool in each wallet. FIFO or specific identification applies within each wallet, not across all wallets combined; the change prevents taxpayers from cherry-picking favourable lots across different platforms while making it easier for brokers to report accurate basis information.

Transition Mechanics

The switch from universal to per-wallet tracking required existing cost basis to be reallocated across wallets, so the IRS provided two allocation methods and a safe harbor for the transition as of December 31, 2024. Taxpayers who followed the prescribed allocation steps receive protection that their historical calculations will not be retroactively challenged in an audit. An allocation snapshot generally cannot be modified once recorded without losing that safe harbor protection.

Form 1099-DA Reporting

Centralised brokers and exchanges must report digital asset sales to the IRS on Form 1099-DA starting with tax year 2025. Brokers are required to report gross proceeds only for the 2025 tax year. Beginning with tax year 2026, brokers must also report cost basis for assets acquired on their platform after 2025 and held there until sale.

Assets purchased before 2026 or transferred in from an external wallet are treated as noncovered securities, so the broker is not required to report their cost basis. You remain responsible for calculating and reporting your own basis for these assets on Form 8949.

Tax Optimisation in Rising Markets

HIFO through specific identification minimises taxable gains in a market where prices have generally increased over time by selling the highest-cost lots first. Active investors most commonly use this approach to defer tax liability, and the savings can be significant: in the example above, HIFO reduced the taxable gain by nearly 64% compared to FIFO.

Tax-Loss Harvesting

Specific identification also enables tax-loss harvesting, where you deliberately sell lots currently below their purchase price to realise capital losses. These losses can offset gains from other sales and reduce your overall tax bill, making the strategy particularly useful during market downturns or for rebalancing portfolios.

Long-Term vs. Short-Term Gain Management

Long-term capital gains on assets held longer than one year are taxed at lower rates than short-term gains. Specific identification lets you prioritise selling lots that qualify for long-term treatment, which is especially relevant for crypto tax planning because holding periods reset with each taxable event.

Stablecoin and High-Frequency Transactions

Frequent stablecoin transactions make cost basis tracking operationally complex. Even small fluctuations in a stablecoin's price create micro-gains or micro-losses on each transaction, so automated crypto accounting software that applies a consistent cost basis method across thousands of transactions is needed for accurate stablecoin tax reporting.

Why It Matters

Your choice of cost basis method is one of the most impactful tax-efficiency decisions you can make as a crypto investor. The difference between FIFO and HIFO can mean thousands or tens of thousands of dollars in tax liability for a single tax year. As IRS enforcement around digital assets intensifies and broker reporting matures through Form 1099-DA, accurate per-wallet basis records are now a compliance requirement.

Bitcoin Layer 2 solutions like Spark add another layer of complexity to cost basis tracking. Transferring bitcoin between on-chain wallets, Lightning channels and Layer 2 protocols like Spark does not constitute a taxable event, but each wallet or account must track its own basis independently under the new per-wallet rules. You need to know how your cost basis method interacts with your wallet structure for accurate crypto tax reporting.

Audit Risk with Inadequate Records

Specific identification without proper documentation is the most common compliance failure. If the IRS audits your return and you cannot demonstrate that lot selections were made before or at the time of each trade, it may default your entire portfolio to FIFO or, in extreme cases, treat your cost basis as zero. Accuracy-related penalties of 20% may apply to any resulting underpayment.

Per-Wallet Complexity

The per-wallet rule significantly increases the bookkeeping burden if you hold assets across multiple exchanges, hardware wallets and self-custodial wallets. Transfers between wallets require careful tracking to ensure basis follows the transferred units correctly. Failing to allocate basis properly during the 2024-2025 transition could create discrepancies that are difficult to resolve later.

Noncovered Securities Gap

A significant gap exists between what Form 1099-DA reports and what taxpayers actually owe because brokers are not required to report cost basis for assets acquired before 2026 or transferred in from external wallets. A 1099-DA showing $0 cost basis means the broker lacks the information to report it, not that you have no basis. You must maintain your own records and report accurate basis on Form 8949.

Method Consistency

Different cost basis methods can be used for different assets or wallets, but frequently switching methods for the same asset within the same account may raise audit flags. The IRS expects consistency, so you need a clear record of which method applies to which wallet for crypto compliance.

Cross-Border Considerations

Cost basis methods vary by jurisdiction. The rules described here apply to U.S. taxpayers under IRS guidelines, while other countries may require different methods, such as average cost, which pools all purchases and divides by total units rather than using lot-based methods. Taxpayers with obligations in multiple jurisdictions should consult qualified tax professionals.

The glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.

0

← All 1876 glossary terms