Wallet-Level Cost Basis Tracking: FIFO vs Specific-ID
The IRS default for crypto is FIFO. Specific-ID can save five or six figures on a concentrated crypto position — if you document it correctly before you sell.
The IRS default method for computing gain on crypto dispositions is FIFO (first-in, first-out). For a taxpayer with 48 months of token vests at steadily-rising FMVs, FIFO produces the highest possible gain on the first units sold because those units have the lowest basis. A taxpayer sitting on four years of token vests, with the first vest at $2 per token and the most recent vest at $180 per token, who sells 10,000 tokens at $220 under FIFO, recognizes gain against a $2 basis: $218 per token, $2,180,000 of ordinary-plus-long-term-capital-gain.
Specific identification, available to crypto since a 2014 Notice position and clarified in 2023 revenue rulings, allows the taxpayer to select which units are being sold. The same 10,000-token sale identifying the most recent vests at $180 basis produces $40 per token of gain: $400,000 of capital gain, all likely short-term if recently vested but still far smaller than the FIFO version.
The catch: specific-ID requires documentation at the time of sale, not reconstructed afterward. The IRS has rejected specific-ID reconstruction in audit when documentation was not contemporaneous. This article walks through how to set up specific-ID correctly, when FIFO is actually preferable, and what to do when you have lost the lot-level records.
What the IRS Actually Requires
Notice 2014-21 Q&A 13 directs taxpayers to the general property rules for computing gain and loss. The generally applicable basis method for property is specific identification if the taxpayer can “adequately identify” the units being sold. If specific identification fails the adequate-identification test, FIFO applies by default (Treasury Regulation §1.1012-1(c)).
For securities, adequate identification is satisfied by a broker’s confirmation of the specific lot sold. For crypto, the IRS clarified in Rev. Proc. 2024-28 that adequate identification requires:
- Records at the time of the transaction showing which specific units are being sold, identified by date acquired, cost basis, and a unique identifier (transaction hash or wallet segregation).
- Consistent application across all dispositions of the same asset.
- Books and records adequate to reconstruct the specific-ID election for each disposition.
A taxpayer who has maintained contemporaneous records with CoinTracker, Koinly, TaxBit, or equivalent software generally meets this standard, provided the software was configured for specific-ID before the sale and the lot selection was made at the time of sale.
A taxpayer who has 47 wallet addresses, no tracking software, and runs the analysis in April trying to reconstruct which tokens were sold when, fails the contemporaneous-records requirement.
Setting Up Specific-ID Before You Need It
The tactical move is to establish specific-ID from the start. This requires four steps:
-
Segregate wallets by vest tranche. Each vest goes to a separate wallet address (or a separate account in a single-wallet multi-account structure). This makes specific-ID trivial: a sale from Wallet 12 sells units from the 12th vest.
-
Use tracking software from day one. CoinTracker, Koinly, TaxBit, and Awaken Tax all support specific-ID if configured before the first sale. Enable HIFO (highest-in, first-out) or specific-ID as the default method, not FIFO.
-
Document the election on each sale. The tracking software records which lot was sold. Export the sale record at the time of the transaction. Do not rely on the software’s ability to reconstruct this later if data is lost.
-
Apply the method consistently. The IRS takes a dim view of taxpayers who use specific-ID selectively to maximize benefits on some sales and FIFO on others. Pick a method (typically HIFO, which is the most tax-efficient specific-ID variant) and apply it across the year.
FIFO vs HIFO vs Average Cost
FIFO: Sells the oldest lots first. Maximizes gain on appreciating positions. Minimizes gain on depreciating positions. Simplest to execute.
LIFO: Sells the newest lots first. Not a recognized method for crypto specific-ID; the IRS has not blessed LIFO for non-inventory property. Do not use.
HIFO: Sells the highest-basis lots first. Minimizes current-period gain on appreciating positions. Requires specific-ID qualifications.
Average cost: Weighted average basis across all lots. Allowed for mutual funds; not allowed for crypto. Do not use.
For a crypto employee with 48 months of vests on a rising token, HIFO saves the most tax at the first several sales. Over the long run (assuming full liquidation), total gain is the same under FIFO and HIFO; HIFO only defers gain recognition to future periods. The deferral benefit is equal to the time-value of the deferred tax, which is meaningful at 5% cost of capital over 3-5 years.
For a crypto employee with vests on a flat or declining token, FIFO may produce slightly better outcomes because the older lots have higher basis. In this case, FIFO is self-optimizing. Do not switch to HIFO mid-year.
Wallet Segregation Strategy
The clean approach: each vesting tranche receives tokens in a dedicated address derived from the same master seed via BIP44 account separation. This gives specific-ID as the natural state.
The realistic approach: tokens vest into a single address, and you track them through software. This works as long as the software is maintained contemporaneously.
The failed approach: tokens vest into a single address, you move them to Coinbase, stake some, unstake some, bridge to Optimism, bridge back, deposit to a cold wallet, and eight months later you try to reconstruct which units of which vests were involved in which transaction.
For large-balance crypto holdings, the clean approach is worth the operational friction. A $5M token position with 48 vest lots of $105K each, sold incrementally over two years, saves roughly $300,000-$600,000 in taxes via HIFO vs FIFO on a typical appreciation path. Wallet segregation is cheap insurance.
Form 1099-DA Impact
Starting January 2025 (delayed from January 2024 in Treasury regulations published in June 2024), centralized crypto exchanges subject to the broker definition must issue Form 1099-DA for digital-asset dispositions. The form reports gross proceeds for 2025 transactions and is scheduled to add cost basis reporting for 2026 transactions.
Form 1099-DA uses the exchange’s cost basis records, which are typically FIFO. If you have been maintaining specific-ID records privately and the exchange reports on FIFO, you have a reconciliation problem: the 1099-DA says one number, your Schedule D says a different number. The IRS’s automated matching will flag the discrepancy.
The fix: attach Form 8949 with code “B” (basis as reported to IRS is incorrect) and the corrected basis. This is legal, but it’s a manual process that auditors scrutinize. Keep extensive documentation.
For now (2025), Form 1099-DA does not report basis. Exchanges are not required to issue basis information until 2026. You have until the 2026 filing season to get your records in order.
Broker Transfers and Basis Preservation
When you move crypto from one exchange to another, basis should transfer with it. In practice, basis transfer works poorly. The receiving exchange often does not have the basis information and reports on Form 1099-DA as if the basis were the FMV at the time of deposit.
For a token received on Coinbase at $200 (basis $200) and transferred to Kraken and sold at $250, Kraken will issue a 1099-DA showing $250 proceeds with basis possibly zero (if no transfer-in data is provided) or $200 (if you provided documentation). If Kraken reports basis zero, your $50 gain is overstated to $250.
The defensive moves:
- Sell on the exchange where basis is known (the one where you received or bought the tokens originally).
- If you must transfer, maintain your own records with exchange trade confirmations and transfer transaction hashes.
- At year-end, reconcile the 1099-DA against your own records and correct discrepancies on Form 8949.
Frequently Asked
Can I change cost basis methods from one year to the next? Not easily. Treasury Regulation §1.1012-1(e) allows specific-ID per disposition, but the IRS expects a consistent approach year over year. A taxpayer who used FIFO in 2024 and switches to HIFO in 2025 should document the reason for the change and be prepared to explain it.
Does cost basis step up at my death? Yes. Under IRC §1014, the basis of property acquired from a decedent is the FMV at the date of death. Crypto held until death receives a full basis step-up, eliminating pre-death gain. This is a meaningful estate-planning move for concentrated crypto positions.
What if I lost access to an old wallet and cannot substantiate basis? The IRS expects documentation. Without records, the default is zero basis. Lost-wallet basis reconstruction requires on-chain analysis and transaction-history retrieval, which is feasible for public-chain tokens but impossible for privacy coins or lost seed phrases.
Do wash-sale rules apply to crypto specific-ID? No. IRC §1091 applies only to securities. Crypto is property. You can realize a loss and immediately rebuy, preserving the loss for current-period use. Proposed legislation to extend wash-sale to crypto has not been enacted.
How does specific-ID interact with QSBS §1202? Crypto is not §1202-eligible regardless of method. QSBS applies only to C-corp stock issued to an original holder. Specific-ID affects crypto gain only. Equity QSBS tracking is a separate system.
Computer scientist turned strategist advising employees at crypto and web3 companies on token comp mechanics. Reviews VestedGrant's crypto-in-equity-comp content.
Find a fiduciary advisor who understands equity compensation
Short form. We match you with up to three fee-only advisors who routinely work with RSUs, ISOs, and pre-IPO equity.
- equity compCross-Border Crypto Compensation: US + Foreign Country Stacking
A US employee receiving crypto from a foreign employer faces double-taxation risk under Section 901, tax-treaty rules, and the crypto-specific reporting frameworks in each jurisdiction.
Read more - equity compCrypto Gifts and Charitable Giving: The 30% AGI Limit
Gifting appreciated crypto to charity avoids capital gain and captures a fair-market-value deduction — limited to 30% of AGI and dependent on qualified-appraisal mechanics under Section 170.
Read more - equity compCrypto Options at Crypto-Native Firms: Coinbase, OpenSea, Solana Labs
Crypto-native firms grant options and RSUs on equity, tokens, or both. The combinations create tax scenarios that traditional ISO and NSO playbooks don't cover.
Read more - equity compDeFi Protocol Treasury Equity Stakes: Tax Treatment
A DeFi protocol's treasury is held by a DAO, a foundation, or an LLC. How that entity issues equity-style stakes determines whether you get Section 83, Section 721, or partnership tax treatment.
Read more - equity compPrivacy Coins and the Equity-Comp Boundary
Privacy coins create compliance problems at the employment-income boundary that don't exist with transparent chains. The IRS, FinCEN, and your employer's tax counsel all want different things.
Read more - equity compToken Compensation vs RSU: How the Taxation Differs at Vesting
Token grants and RSUs both create ordinary income at vesting, but the Section 83 mechanics, withholding, and audit exposure diverge in ways that cost six figures if you pick the wrong mental model.
Read more