HIFO Crypto Tax Method: A Comprehensive Guide for 2026

April 12, 202611 min readdTax Team

The HIFO (Highest-In, First-Out) method is a powerful tax-minimization strategy that allows crypto investors to sell their highest-cost assets first, potentially reducing their taxable gains. While not a standalone method recognized by the IRS, HIFO is a valid approach when executed correctly under the specific identification rules.

HIFO is a Strategy, Not a Standalone Method

One of the most critical concepts in crypto taxation is understanding what the IRS actually permits. For digital assets, the IRS recognizes only two primary cost basis accounting methods chainwisecpa.com:

  1. First-In, First-Out (FIFO): This is the default method. If you don't maintain the records required for the alternative, the IRS mandates that you use FIFO. It assumes the first assets you acquired are the first ones you sell.
  2. Specific Identification (Spec ID): This method allows you to choose exactly which lot (or specific units) of crypto you are selling at the time of the transaction.

So, where does HIFO fit in? HIFO is a lot-selection strategy used within the Specific Identification method. It is not a separate, IRS-approved method camusocpa.com. The same is true for LIFO (Last-In, First-Out). You are simply using the flexibility of Spec ID to systematically select and sell the lots with the highest acquisition cost.

This distinction is not just semantic—it has major compliance implications. If you report gains using a HIFO calculation but cannot produce the documentation required for Specific Identification, the IRS can disregard your calculation and re-calculate your taxes using the FIFO default. This often results in a significantly higher tax bill.

How HIFO Works: A Step-by-Step Calculation

The goal of HIFO is to minimize your recognized capital gains by offsetting your sale proceeds with the highest possible cost basis. This is most effective in a volatile market where you may have purchased the same asset at many different price points.

Let's walk through an example. Imagine you hold three lots of Ethereum (ETH) in a single exchange account and decide to sell 1 ETH for $4,000.

LotAcquisition DateQuantity (ETH)Cost Basis per ETHTotal BasisHolding Period (at time of sale)
Lot AFebruary 20221$1,500$1,500Long-Term
Lot BOctober 20241$3,800$3,800Short-Term
Lot CMay 20251$2,500$2,500Short-Term

You sell 1 ETH for $4,000. Here’s how the taxable gain differs between HIFO and the FIFO default.

HIFO Calculation (Using Specific Identification)

  1. Identify the highest-cost lot: You review your holdings and find that Lot B has the highest acquisition cost ($3,800).
  2. Select that lot for the sale: You specifically identify Lot B as the asset being sold.
  3. Calculate the gain/loss:
    • Proceeds: $4,000
    • Cost Basis (Lot B): $3,800
    • Taxable Gain: $200 (Short-Term)

FIFO Calculation (The Default)

  1. Identify the first-acquired lot: The first lot you bought was Lot A.
  2. Apply that lot to the sale: Under FIFO, you are deemed to have sold Lot A.
  3. Calculate the gain/loss:
    • Proceeds: $4,000
    • Cost Basis (Lot A): $1,500
    • Taxable Gain: $2,500 (Long-Term)
MethodLot SoldProceedsCost BasisTaxable GainGain Character
HIFO (Spec ID)Lot B$4,000$3,800$200Short-Term
FIFO (Default)Lot A$4,000$1,500$2,500Long-Term

In this scenario, using HIFO reduced the immediate taxable gain by $2,300. However, it's important to note the trade-off: the resulting gain is short-term, which is taxed at higher ordinary income rates. The FIFO gain, while much larger, is long-term and qualifies for lower capital gains tax rates. The best strategy depends on your overall tax picture, including your income bracket and whether you have capital losses to offset gains.

IRS Compliance: The Rules for Using HIFO (Specific Identification)

The ability to use HIFO is entirely dependent on meeting the strict documentation requirements for Specific Identification. According to IRS guidance, including final regulations effective January 1, 2025, you cannot simply choose lots retroactively when you file your taxes www.irs.gov.

To validly use Specific Identification (and by extension, a HIFO strategy), you must make an "adequate identification" of the specific units of crypto being sold at or before the time of the sale.

As outlined in guidance like IRS FAQs 39-41 and the principles in Treasury Regulation §1.1012-1(c), this requires contemporaneous records that prove your choice camusocpa.com. Your records must show:

  • The date and time each unit was acquired.
  • Your basis (acquisition cost) and the fair market value for each unit when acquired.
  • The date and time each unit was sold, exchanged, or disposed of.
  • The specific unit(s) identified for the sale, linking the disposal to a specific acquisition lot.

How to Meet the "Contemporaneous" Requirement

For active traders, identifying lots for every single sale can be impractical. The most common and defensible way to implement HIFO is by establishing a standing instruction.

A standing instruction is a written directive you maintain in your books and records that dictates your lot selection policy in advance camusocpa.com. For HIFO, your standing order would state that for any sale of a given digital asset, you will always sell the available units with the highest basis first. This instruction, established before the transactions occur, serves as your contemporaneous proof of intent and satisfies the IRS requirement.

The Per-Wallet Rule: Applying HIFO After Rev. Proc. 2024-28

A major shift in crypto tax compliance arrived with IRS Revenue Procedure 2024-28. Before 2025, many investors and tax software platforms used a "universal" or "multi-wallet" accounting method, where all units of an asset (like BTC) were pooled together into one inventory, regardless of whether they were on Coinbase, in a Ledger hardware wallet, or on another exchange.

Revenue Procedure 2024-28 and the accompanying final regulations explicitly end this practice for transactions on or after January 1, 2025 www.irs.gov.

The new rules mandate that cost basis accounting must be done on a per-wallet or per-account basis. Each exchange account and self-custody wallet is treated as a separate, distinct inventory.

The implication for HIFO is massive: *You can only apply a HIFO strategy using the lots available within the specific wallet or account from which you are selling. *

For example, if you sell ETH from your Kraken account, you can only use HIFO to select from the ETH lots currently held in that Kraken account. You cannot "borrow" the basis from a higher-cost ETH lot sitting in your MetaMask wallet to reduce the gain on your Kraken sale. The inventories are completely separate.

This change makes accurate, wallet-aware record-keeping more critical than ever. Manually tracking this across multiple platforms and wallets is prone to error and can invalidate your use of HIFO if done incorrectly.

When is HIFO Most Effective for Tax Savings?

HIFO is not always the best strategy for every investor in every situation. Its effectiveness depends heavily on your transaction history and tax objectives.

HIFO is generally most advantageous when:

  • You bought assets in a volatile market: If you have numerous lots of the same asset purchased at widely different prices, HIFO allows you to strategically sell the high-cost lots to minimize gains. This is especially useful if you bought near a market peak.
  • Your primary goal is to defer taxes: HIFO maximizes tax deferral by realizing the smallest possible gain today. This leaves your low-cost lots (with large unrealized gains) in your portfolio to be dealt with in the future, hopefully as long-term gains.
  • You want to harvest tax losses: HIFO is a natural strategy for tax-loss harvesting. By always selecting the highest-cost lots, it automatically identifies assets that are most likely to be at a loss, which you can use to offset other capital gains.

Common Mistakes When Using the HIFO Method

The power of HIFO comes with strict compliance burdens. Many investors inadvertently make mistakes that could put them at risk during an IRS audit.

  1. Retroactive HIFO Selection: The most common error is believing you can select HIFO in a tax software program at the end of the year. The choice must be documented at the time of the sale. Without contemporaneous records or a standing order, your calculation defaults to FIFO chainwisecpa.com.
  2. Ignoring the Per-Wallet Rule: Continuing to use a universal inventory to apply HIFO across all wallets for post-2024 transactions is no longer compliant. This will lead to incorrect basis calculations and could be challenged by the IRS camusocpa.com.
  3. Treating Software as a Substitute for Records: Simply using a tool that offers a "HIFO" button is not enough. You must be able to produce the underlying records that substantiate the tool's calculations and prove contemporaneous identification.
  4. Mixing Methods Within an Account: For a given account, you must apply your chosen method consistently throughout the tax year. You cannot use HIFO for one sale and FIFO for another within the same wallet in the same year chainwisecpa.com.

Automating HIFO Compliance with dTax

Given the strict per-wallet and contemporaneous documentation rules, manual HIFO tracking is exceptionally difficult and risky. This is where a sophisticated crypto tax platform becomes essential.

dTax is built from the ground up to handle these complex requirements automatically.

  • Compliant Per-Wallet Accounting: dTax automatically segregates your assets by wallet and exchange account, fully complying with the rules in Rev. Proc. 2024-28 www.irs.gov. It ensures that when you sell from an account, only the lots within that account are considered.
  • Automated Standing Instructions: You can set HIFO as your default lot-relief strategy within dTax. The platform then acts as your contemporaneous record, documenting the application of this standing order for every single transaction.
  • Audit-Ready Records: dTax generates comprehensive reports that provide the lot-level detail needed to defend a Specific Identification position in an audit, showing exactly which lot was sold, when it was acquired, and its basis.
  • Accurate Basis Tracking: The platform correctly handles complex scenarios like transfers between wallets, ensuring the cost basis and acquisition date of each lot moves with the asset. This prevents the errors that can occur when manually applying HIFO to transferred assets.

Conclusion: Is HIFO Right for You?

The HIFO strategy offers a compelling way to minimize your current-year crypto tax liability by strategically selling your highest-cost assets first. However, it is not a simple "set it and forget it" option. To use HIFO compliantly, you must adopt the Specific Identification method and adhere to its strict requirements for contemporaneous, per-wallet documentation.

For investors with complex transaction histories across multiple platforms, the manual effort and risk of error are significant. The decision to use HIFO should be made carefully, considering the trade-offs between minimizing gains and managing holding periods.

This article is for informational purposes only and does not constitute tax advice. The rules surrounding digital asset taxation are complex and can change. We strongly recommend consulting with a qualified tax professional to determine the best strategy for your individual situation.

Ready to take control of your crypto taxes with compliant, automated HIFO calculations? Start automating your crypto taxes with dTax.

Frequently Asked Questions

Can I use HIFO for my 2025 crypto taxes?

Yes, you can use a HIFO strategy for your 2025 crypto taxes, provided you follow the rules for the Specific Identification method. This means you must maintain contemporaneous records for each sale that identify the specific high-cost lot being sold. For transactions on or after January 1, 2025, this must be done on a per-wallet or per-account basis, in line with IRS Rev. Proc. 2024-28 www.irs.gov.

What happens if I use HIFO but don't have the right records?

If you file your taxes using a HIFO calculation but cannot produce contemporaneous documentation to support your specific lot selections, the IRS can disallow your method. In an audit, they would likely re-calculate your capital gains using the default FIFO (First-In, First-Out) method. Because FIFO uses your oldest (and often lowest-cost) lots first, this typically results in a larger taxable gain and a higher tax liability, plus potential penalties and interest.

Is LIFO also a valid crypto tax strategy?

Yes. Like HIFO, LIFO (Last-In, First-Out) is not a standalone accounting method but rather a lot-selection strategy permitted under the Specific Identification framework kryptos.io. With a LIFO strategy, you would choose to sell your most recently acquired lots first. This can be useful for managing holding periods, such as trying to avoid selling a long-term lot or intentionally realizing a short-term gain or loss. It requires the same level of contemporaneous, per-wallet documentation as HIFO.