Best Crypto Cost Basis Method: FIFO, HIFO, and What the IRS Actually Requires

Last Updated on April 4, 2026 by Patrick Camuso, CPA

Quick answer (read this first)

Permitted crypto cost basis methods: FIFO (first-in, first-out) and specific identification. Both are applied at the wallet or account level under the current framework, which requires separate basis tracking by custody environment.

HIFO and LIFO: Not separate IRS-recognized methods. They are lot selection strategies executed through valid specific identification, most commonly via standing instructions established before each sale.

What the choice affects: Which lots are relieved when an asset is sold, and therefore how much gain or loss is recognized and whether it is short-term or long-term.

What the choice requires: Specific identification requires contemporaneous records of which lots were selected before each disposal. Without that documentation, the position defaults to FIFO.

The Two Permitted Methods

Under current IRS guidance, two cost basis methods are permitted for digital assets which are FIFO and specific identification. Both are applied at the wallet or account level under the current framework, which requires separate basis tracking by custody environment. Universal pooling across wallets and exchanges is no longer permitted for transactions on or after January 1, 2025.

For broker-held accounts, the wallet or account boundary is straightforward. For self-custody environments, the guidance does not fully resolve what constitutes a wallet for basis-tracking purposes, particularly for hierarchical deterministic wallets and smart-contract-based custody structures.

The method determines which tax lots are relieved when a disposition occurs. Because every lot has a specific basis and acquisition date, the method directly controls how much gain or loss is recognized, whether that gain is short-term or long-term, and what inventory remains after the sale.

In practice, a large share of investors are not making a deliberate method choice. Many are unaware that Rev. Proc. 2024-28 changed the rules, unclear on what lots are actually being applied to their sales, and relying on software defaults without knowing whether those defaults produce FIFO outcomes, whether standing instructions are in place, or whether the lot-level documentation exists to support the position being filed. For those investors, the first step is not method optimization. It is understanding what method is actually being applied and whether the records exist to support it.

FIFO: First-In, First-Out

Under FIFO, the earliest-acquired lots in a given wallet or account are treated as disposed of first, regardless of their basis or holding period.

FIFO is the default. When specific identification documentation is absent, the IRS treats the position as FIFO. For taxpayers who do not maintain contemporaneous lot-level selection records or standing orders, FIFO is effectively mandatory.

What FIFO produces in practice

In a rising market, FIFO tends to produce larger recognized gains because the earliest lots often have the lowest basis. Early Bitcoin purchasers selling in 2024 or 2025 under FIFO would relieve their oldest, lowest-cost lots first, realizing maximum gain. Those same early lots are also more likely to qualify for long-term capital gains treatment, which carries a lower rate than short-term gains.

In a volatile or declining market, FIFO can produce short-term recognition when recent acquisitions at higher prices are bypassed in favor of older lots with lower basis and longer holding periods.

Documentation required

FIFO requires no contemporaneous lot identification. The method is applied mechanically in chronological order of acquisition within each wallet or account. Acquisition history must be documentable, but no pre-sale lot selection decision is required.

Specific Identification

Under specific identification, the taxpayer designates exactly which tax lots are relieved at the time of each disposition. This is the only method that allows active control over which basis, holding period, and gain or loss is recognized on a given sale.

Adequate identification requires that the specific units disposed of be identified at the time of sale and that records be maintained to substantiate that identification. This is the standard under Treas. Reg. §1.1012-1(c) that anchors the entire specific identification framework. Standing instructions, HIFO ordering strategies, and individual lot designations are all mechanisms for satisfying that standard.

A taxpayer can relieve the highest-basis lots to minimize current gain, the lots with the shortest holding periods to manage long-term versus short-term character, or specific lots with embedded losses to harvest against gains elsewhere in the portfolio.

What specific identification requires

The lot selection must be made before or at the time of the disposal, not after. The IRS has held that retroactive lot designation is not permissible under specific identification. Contemporaneous documentation of which lots were selected must exist at the time of the transaction.

Valid specific identification can be satisfied through a standing instruction maintained in books and records that directs lot selection in a defined order, or by individually identifying the specific lots sold for each transaction at the time of execution. A spreadsheet updated after the fact does not satisfy the contemporaneous documentation standard.

Where the documentation breaks down

Many investors believe they are using specific identification because their software defaults to HIFO or a similar ordering strategy. That assumption fails if the software is not actually generating and preserving lot-level identification records that can be produced in an examination. Software output showing HIFO results is not the same as documented lot identification at the time of each sale.

HIFO and LIFO: Lot Selection Strategies Under Specific Identification

HIFO (highest-in, first-out) and LIFO (last-in, first-out) are not IRS-recognized cost basis methods. They are lot selection strategies executed through valid specific identification.

The most common implementation is a standing instruction which is a written directive maintained in books and records that tells the platform to automatically select lots in a defined order before each transaction executes. Adequate identification can also be made by specifically identifying the lots sold for each transaction individually. Either approach satisfies specific identification as long as the selection is made before or at the time of the disposal and is documented contemporaneously. Retroactive designation, identifying which lots were sold after the fact to optimize the outcome, is not permissible.

Why the distinction matters

If a taxpayer reports HIFO results on a return but cannot produce contemporaneous documentation showing that lot selections were made and recorded at the time of each sale, the position does not qualify as specific identification. The IRS will treat it as FIFO. The resulting exposure can be substantial for investors who relied on HIFO to minimize recognized gains without maintaining the underlying records.

Algorithmic optimization approaches, such as software-generated methods that select lots after the fact based on minimizing gain or targeting a specific tax outcome, are generally not compatible with IRS requirements where they rely on retroactive lot selection rather than documenting which specific units were treated as sold before the transaction executed. They do not satisfy specific identification even when the numerical output appears internally consistent.

Method consistency within the account is also important. The same permissible method should be applied consistently within each wallet or account to maintain defensible documentation and avoid audit risk. Switching between methods within the same account mid-year creates documentation problems and increases examination exposure.

Practical implications of HIFO

HIFO systematically selects the highest-basis lots for disposal, minimizing taxable gain in the current period. In a portfolio with a mix of high-basis and low-basis lots for the same asset, HIFO preserves the low-basis lots in inventory, deferring that gain to future periods rather than eliminating it. The tax benefit is one of timing and rate optimization, not permanent exclusion.

Minimizing current gain and managing holding period character are often competing objectives. HIFO selects the highest-basis lots regardless of holding period, which in a rising market frequently means short-term lots carry the highest basis. Relieving those lots under HIFO minimizes current gain but produces short-term recognition, taxed at ordinary income rates. A taxpayer using LIFO or targeted specific identification to manage holding period character may accept a larger nominal gain in exchange for long-term treatment and a lower effective rate. The right strategy depends on the investor’s bracket, the lot composition of the portfolio, and whether short-term gains can be offset elsewhere.

A Simple Example: FIFO vs HIFO in the Same Account

An investor holds three Bitcoin lots in a single Coinbase account and sells one Bitcoin for $80,000.

 

Lot Acquisition Date Basis Holding Period
Lot A January 2021 $10,000 Long-term
Lot B March 2023 $25,000 Long-term
Lot C November 2024 $60,000 Short-term

 

Under FIFO: Lot A is relieved first. Gain = $80,000 minus $10,000 = $70,000, long-term.

Under valid HIFO: Lot C is relieved. Gain = $80,000 minus $60,000 = $20,000, short-term.

HIFO produces $50,000 less recognized gain in the current period, but the gain is short-term and may be taxed at a higher rate. Whether HIFO or FIFO produces the better after-tax outcome depends on the investor’s bracket and whether short-term gains can be offset by losses elsewhere.

Method selection is not simply about minimizing gain. It is about controlling the character, timing, and amount of recognized income in the context of the investor’s full tax picture. And in this example, HIFO only applies if the investor has valid specific identification documentation showing that Lot C was designated for relief before the sale executed, not after reviewing the options at filing time.

Covered vs Noncovered Assets and Method Planning

Where a taxpayer has a valid internal lot methodology, broker reporting in 2026 and beyond will still reflect whether sold lots are covered or noncovered independently of what the taxpayer reports.

For covered lots (acquired and held within the same broker account on or after January 1, 2026), the broker will report both proceeds and basis to the IRS. For noncovered lots, which includes most assets with acquisition history that predates broker tracking or that were transferred in from another platform, basis reporting remains optional and in most cases will not be provided. The IRS receives proceeds against a return that must supply the basis without broker corroboration on the cost side.

Disposals of covered lots will be cross-checked against broker-reported basis. Disposals of noncovered lots will not, but the taxpayer still bears full responsibility for supplying accurate, substantiated basis. The enforcement pressure differs, but the substantiation obligation is identical.

Investors should understand which lots are covered and which are not before executing sales, particularly where basis figures for noncovered lots are less well-documented. A well-documented lot-level inventory is necessary regardless of covered status, but the absence of broker-reported basis for noncovered disposals makes the taxpayer’s own records the only basis support in the IRS’s matching system.

Per-Wallet and Per-Account Application

Both FIFO and specific identification must be applied at the wallet or account level. Each exchange account and self-custody wallet maintains its own lot inventory. Lots from one account cannot be applied against disposals in a different account.

This is not simply a procedural rule about where the calculation happens. The specific basis and holding periods available at the wallet where a disposal occurs determine the tax outcome regardless of which method is used. Two investors holding identical aggregate positions in the same asset can recognize materially different gains, losses, and holding period characterizations based solely on how their holdings are distributed across wallets and accounts.

A taxpayer holding Bitcoin on Coinbase and in a hardware wallet cannot select a high-basis Bitcoin from the hardware wallet to offset a sale on Coinbase. Each location maintains a separate inventory. The only lots available to relieve against the Coinbase sale are the lots then present in that Coinbase account, including any properly transferred-in lots whose basis continuity has been maintained, but not lots sitting in a separate account.

This has compounding implications across a multi-wallet portfolio. The timing of which asset is sold, and from which account, governs what basis is available to offset proceeds, whether the relieved lots qualify for long-term or short-term rates, whether embedded losses in a particular account can be harvested, and how much taxable gain surfaces in the current period versus is deferred to future periods.

Method selection operates within the constraints of whatever the wallet contains. HIFO applied to an account holding only low-basis, short-term lots produces minimal benefit. FIFO applied to an account holding only high-basis, long-held lots may produce better outcomes than HIFO at a different account with weaker lot composition. The interaction between wallet architecture and method selection determines the actual tax result.

Where assets are held and how they are distributed across accounts is a tax planning variable, not just an operational one. The lot composition of each wallet determines what tax outcomes are achievable from that account. Investors who consolidate high-basis lots into a single account for near-term selling and segment low-basis lots into long-term hold accounts have meaningfully different tax optionality than investors who have commingled basis across platforms without regard for the per-account consequences.

Strategic wallet architecture can replicate many of the tax outcomes available under specific identification without the documentation requirements. An investor who segregates lots by basis and holding period before executing any sales by moving high-basis, long-held positions into a designated selling account and leaving low-basis or short-term lots in a separate hold account, can apply FIFO at the selling account and naturally relieve the lots that would have been selected under HIFO or targeted specific identification. The method is FIFO, but the outcome reflects deliberate planning. There is no standing instruction to maintain, no per-transaction identification record to produce, and no risk that a documentation failure converts the position to an unintended FIFO result. For investors willing to manage wallet structure proactively, this approach can deliver comparable tax efficiency with materially less audit exposure than a specific identification posture that depends on contemporaneous lot-level records at the time of every sale.

This planning consideration applies before large transactions, not after. Once a disposal executes, the lots that were in that account at that moment are the lots that were relieved. Basis from another account cannot be applied retroactively.

Transfers and lot continuity

When assets move between accounts, the lot moves with them, including its original basis and acquisition date. A transfer does not create a new lot. The transferred lot is now part of the receiving account’s inventory, and future disposals from that account will pull from the transferred lot’s basis under whichever method applies at that account.

Transfers out of a custodial broker break covered status. A lot that was covered at the originating broker becomes noncovered at the receiving account, meaning basis will not be reported by the broker for that asset when it is eventually disposed of. The taxpayer’s own records must carry the basis continuity across the transfer.

Rev. Proc. 2024-28 and the Method Transition

For taxpayers who had previously used universal pooling, the transition to wallet- and account-level tracking required under Revenue Procedure 2024-28 also required a method decision for each wallet or account going forward.

Taxpayers who used universal pooling often had an implicit FIFO posture at the global level. Transitioning to per-wallet tracking required allocating legacy basis to specific wallet pools through a one-time safe harbor process that closed at the end of 2024. The method applied within each wallet going forward must now be documented and consistently maintained.

Taxpayers who missed the safe harbor deadline must still use wallet- and account-level tracking for 2025 forward, but without the penalty protection the safe harbor provided. The method selection for those accounts should be documented as of the first 2025 disposal from each account.

For taxpayers with broker-held accounts, the cost basis method setting in tax software must align with the lot selection method on file with the broker. When basis reporting for covered assets goes live for 2026 transactions, the broker will report basis calculated using its system’s method. If that diverges from the taxpayer’s software, the reported basis will not reconcile, producing discrepancies in IRS matching that reflect methodological misalignment rather than substantive error. Verifying that the broker account method and the taxpayer’s software setting are consistent before each year’s activity begins is a compliance step that most investors do not take.

What Method Documentation Must Look Like

For specific identification to hold up under examination, the documentation must demonstrate that lot selections were made before or at the time of each disposal, not reconstructed afterward.

A defensible standing instruction should include five elements: the identification method, meaning the exact rule governing lot selection such as “sell the unit with the highest cost basis in this account”; the wallet or account scope, meaning a statement specifying which wallet or account the instruction applies to; the pre-disposition timing, meaning the date the instruction was adopted, which should precede every covered sale; a revocation or modification protocol, meaning a mechanism documenting changes so the taxpayer cannot backdate intent; and record retention, meaning permanent retention of the written instruction and any subsequent modifications.

These elements together create a continuous pre-trade identification framework that satisfies specific identification without requiring manual lot designation on every individual trade. Where individual lot designation is used instead of a standing instruction, the same standard applies: the designation must document which specific lot was selected, with a timestamp showing the selection preceded the transaction.

For broker-held positions, Notice 2025-7 provides meaningful transitional relief. Brokers were not technically equipped to support specific identification standing orders for all 2025 transactions, and taxpayers risked losing valid specific identification posture simply because their broker could not confirm receipt of the instruction. Notice 2025-7 addressed this by providing temporary relief allowing taxpayers to use specific identification, including HIFO and LIFO ordering strategies, for 2025 transactions without requiring prior broker notification. Under this relief, a taxpayer may satisfy the identification requirement by recording the standing instruction in their own books and records before the disposal, without communicating it to the broker. The taxpayer’s own documentation controls. That relief does not extend to non-broker-held positions in self-custody wallets. For self-custody activity, the standard specific identification documentation requirements apply in full.

Notice 2026-20, issued March 2026, extended that same relief through December 31, 2026. The extension reflects the same underlying problem, many custodial brokers remain not fully equipped to accept and process standing orders in advance of each sale. The mechanics are identical to 2025, taxpayers may maintain identification on their own books and records without communicating to the broker.

The critical difference in 2026 is that broker basis reporting is now live for covered assets. For 2026 transactions involving covered lots, brokers will report both proceeds and adjusted basis to the IRS. Because the taxpayer’s lot identification under the relief may not match the lot the broker used to calculate reported basis, the IRS has explicitly acknowledged that mismatches between broker-reported basis and the taxpayer’s own books are expected during this period. The taxpayer’s books and records control the actual tax position, but the mismatch creates a reconciliation obligation. Any discrepancy between the broker-reported basis on Form 1099-DA and the basis reflected on the taxpayer’s return requires documentation explaining the difference.

Once brokers are fully equipped to accept and process standing orders in advance of each transaction, the books-and-records-only approach will no longer be sufficient for broker-held accounts. At that point, standing instructions will need to be communicated to and processed by the broker before each sale for the identification to be valid. Taxpayers who have been relying on internal books and records under the transitional relief should plan for this operational shift before the relief period ends.

For investors operating across multiple platforms and self-custody environments, lot identification documentation should be maintained account by account and reconciled against both the platform records and any on-chain activity that affected the relevant lots before each disposal. Broker environments may support or record lot identification differently than self-custody workflows, creating additional reconciliation challenges that the taxpayer’s own records must bridge.

Historical Accounting Is a Prerequisite, Not an Optional Step

Method selection is only meaningful if the underlying lot inventory is accurate. For most investors with multi-year crypto activity, that is not a given.

Cost basis is cumulative. Every acquisition establishes a lot with a specific cost and acquisition date and every disposal relieves one or more of those lots. Every transfer moves lots between accounts and every year of activity carries the ending inventory forward as beginning inventory for the following year. If any of those steps was handled incorrectly, a transfer misclassified as a taxable sale, a staking reward never recognized, a DeFi interaction treated inconsistently, records imported incompletely, the distortion propagates forward. By the time an investor is thinking about method selection, the lot inventory they are selecting from may already be materially wrong.

The practical implication is direct. A HIFO strategy that selects the highest-basis lots produces no tax benefit if those lots carry undocumented or inaccurate basis figures. Specific identification applied to a distorted inventory produces defensible documentation of the wrong position. FIFO applied to an account whose lot history was never properly reconciled produces a FIFO result from a defective starting point. The method cannot fix what the records do not support.

Getting method selection right requires getting historical accounting right first. That means every acquisition documented with its correct cost and date. Every transfer reconciled so that lot identity and basis carry across accounts without breaking continuity. Every income event recognized at the correct value. Every protocol interaction classified consistently. And the resulting lot inventory reconciled year over year so that each year’s beginning inventory reflects the correct ending position of the prior year.

For investors who have traded across multiple exchanges, used self-custody wallets, participated in DeFi, or simply relied on software that was never reconciled at the lot level, that historical accounting work is not optional. It is the foundation on which every subsequent method decision and tax calculation depends. Optimizing lot selection before addressing historical accuracy is working on the wrong problem.

For the mechanics of how cost basis is established across acquisition types, see our guide to how to calculate cost basis for crypto. For investors whose records require reconstruction before method selection is meaningful, our crypto cost basis reconstruction services cover the full process. Work with a crypto CPA established in this market since 2016.

Contact us to discuss your situation

Method Selection and Form 1099-DA Reconciliation

Form 1099-DA reports gross proceeds from digital asset sales to both the taxpayer and the IRS. Starting with 2026 transactions, brokers are also required to report adjusted basis for covered lots. The method choice and the quality of the underlying lot records determine whether the taxpayer’s return can reconcile against what the broker reported.

When a broker processes a sale, it applies whatever lot identification method its system is configured to use. If the taxpayer’s method or lot selection differs from the broker’s, the basis figures will not match. The IRS receives proceeds from the broker and gain or loss from the taxpayer’s return. Where those figures produce a different result, the discrepancy triggers matching scrutiny. The taxpayer carries the burden of demonstrating that the correct basis was applied and that the method used was valid.

For noncovered lots, which includes most assets with pre-2026 acquisition history, transferred-in positions, and self-custody holdings, the broker reports proceeds only. Basis is not reported because the broker either never tracked it or is not required to provide it. The IRS sees a proceeds figure with no corresponding cost offset. The taxpayer must supply basis independently through their own records. If those records are incomplete or the lot-level documentation does not support the claimed basis, there is no broker corroboration to fall back on.

The 2026 reporting environment makes this more acute for covered assets and no less demanding for noncovered ones. Under Notice 2026-20, taxpayers may still maintain lot identification on their own books without communicating to the broker through December 31, 2026. The IRS has explicitly acknowledged that broker-reported basis for covered lots may not match the taxpayer’s own identification during this period. That expected mismatch does not eliminate the reconciliation obligation. Any difference between broker-reported basis and return-reported basis requires documentation that explains which lots were identified, when the identification was made, and why the taxpayer’s position controls.

For a full breakdown of how Form 1099-DA reporting works, what brokers are required to report and when, and how to reconcile broker-issued forms against your own records, see our IRS Form 1099-DA guide. For investors who need help reconciling 1099-DA proceeds against their transaction history and establishing defensible basis, our Form 1099-DA compliance services cover the full reconciliation process.

Frequently Asked Questions

What is the best cost basis method for crypto?

There is no universally best method. It depends on the portfolio’s lot composition, the investor’s tax bracket, and whether the documentation infrastructure exists to support specific identification. FIFO is simpler and requires no contemporaneous lot documentation. Specific identification, including HIFO-ordered lot selection, allows for gain minimization and holding period management but requires pre-sale lot selection records. For most active investors with mixed-basis portfolios, specific identification with standing instructions produces better tax outcomes, but only when properly documented.

Is HIFO allowed by the IRS for crypto?

HIFO is not a separately recognized IRS method. It is a lot selection strategy applied under specific identification. To use HIFO, a taxpayer must have valid specific identification documentation in place, either through standing instructions directing the platform to select highest-basis lots before each sale or through individual lot designations made contemporaneously at the time of each transaction, and must be able to produce those records under examination. A return showing HIFO results without underlying contemporaneous documentation will be treated as FIFO by the IRS.

Can I switch cost basis methods between years?

Specific identification elections generally can be changed prospectively between tax years without formal IRS consent, which differs from formal accounting method changes under IRC §446 that require IRS approval. The switch must be applied going forward with clean documentation. The prior method’s lot-selection outcomes for completed dispositions generally cannot be retroactively recharacterized. The transition point must be clearly documented so that the lot inventory carried forward from the prior year reflects the correct starting position under the new approach. Where the method change affects how prior inventory is carried into the current year, a qualified crypto CPA should be involved before the switch to avoid continuity errors.

Does the cost basis method have to be the same for all wallets?

Method selection is applied at the wallet or account level, and different methods can be used across different accounts. Once a method is established for a particular account, it should be applied consistently within that account. Inconsistent application within the same account creates documentation and audit risk.

What happens if I use HIFO but don’t have documentation?

Without contemporaneous lot identification documentation, the IRS will treat the position as FIFO. This means the earliest-acquired lots, which may have significantly lower basis, will be treated as the lots disposed of, potentially producing substantially higher recognized gain than the HIFO result the taxpayer reported. The combination of understated gain and lack of documentation creates compounded examination risk.

How does the per-wallet rule affect which method I can use?

Both FIFO and specific identification must be applied separately within each wallet or account. Lots from one account cannot be mixed with lots from another for purposes of identifying which assets were disposed of. If a taxpayer holds the same asset in three different wallets, each wallet’s sales are calculated independently using the lots in that wallet, regardless of what method or lot composition exists in the other wallets.

Do I need to notify my broker to use HIFO in 2025 and 2026?

No, not under the current transitional relief. Notice 2025-7 and its extension under Notice 2026-20 allow taxpayers to use specific identification, including HIFO and LIFO ordering strategies, for transactions through December 31, 2026 without communicating the standing order to the broker. The identification must be recorded in the taxpayer’s own books and records before the disposal, but broker notification is not required during the relief period. Once that relief ends, likely for 2027 activity and beyond, standing instructions will need to be communicated to and accepted by the broker before each sale.

Floating