
If two people sell the same coin, in the same amount, on the same day, they can still report very different gains. The reason is the crypto cost basis method each one used, because that rule decides which earlier purchase gets matched against the sale. For anyone with more than a few trades, that quiet choice shapes the tax bill. So it is worth understanding before you file, not after.
FIFO, HIFO, and LIFO are the three labels you will see most. They sound technical, but the idea beneath them is simple. When you sell part of a stack you bought at different prices, which “lot” are you actually selling? This guide explains what each label means, what the IRS actually recognizes, and how to reason about the choice without guessing.
We will keep it practical. You do not need to memorize regulations. You do need clean records, a consistent approach, and a clear sense of what changed for the 2025 tax year.
For most crypto filers, the honest answer is that the IRS recognizes two things: specific identification and, when you do not identify units, FIFO as the default. HIFO and LIFO are not separate blessed methods. They are specific identification applied with a rule for which lot to pick first, either the highest cost or the last purchased. So the real question is whether you can meet the recordkeeping that specific identification requires. If you can, you have flexibility. If you cannot, FIFO applies automatically.
Cost basis is what you paid for a crypto asset, measured in US dollars at the time you acquired it, plus certain costs like fees. When you sell, trade, or spend that asset, your gain or loss is the proceeds minus that basis. That part is settled.
The complication is that most people buy the same coin many times at many prices. Say you bought Bitcoin on three separate occasions. When you later sell some of it, which purchase price do you subtract? That is what a cost basis method answers, because it is a rule for matching a sale to a specific earlier buy.
In plain terms, the method does not change how much crypto you sold or what you received. Instead, it changes which cost you subtract, and therefore the size of the gain on paper. Over a year of trading, those differences add up quickly.

Once you know that a method is just a matching rule, the three labels become easy to place.
FIFO sells your oldest coins first. It is the default, and it needs no special election. Because early purchases are often your lowest-cost ones in a market that has generally risen, FIFO can produce larger reported gains. However, it also tends to push more of your holdings into long-term treatment, since those coins were held longest.
HIFO (highest in, first out) sells your highest-cost coins first. Because it subtracts the largest basis available, it tends to produce the smallest gain, or the largest loss, at the moment of sale. HIFO is not a separate IRS method, though. It is specific identification where the unit you identify happens to be the most expensive one you hold.
LIFO (last in, first out) sells your most recently purchased coins first. Like HIFO, it is specific identification with a particular selection rule, so it only works if you meet the identification and recordkeeping standard.
For a concrete example, imagine you bought 1 BTC at $20,000, then 1 BTC at $40,000, then 1 BTC at $60,000, and later sold 1 BTC for $50,000. Under FIFO, you match the $20,000 lot, a $30,000 gain. Under HIFO, you match the $60,000 lot, a $10,000 loss. The coins are identical, yet the reported result is not, which is exactly why the method matters.
Here is where the popular labels can mislead. According to IRS guidance on digital assets, there are really only two approaches.
The first is specific identification. You choose exactly which units you are selling, and you do it no later than the date and time of the sale. You must use an identifier sufficient to pin down those units, such as the purchase date and time or the purchase price, and you must keep records that support the choice.
The second is the default. If you do not specifically identify the units, the IRS treats them as sold in the order you acquired them, earliest first. That is FIFO, and it applies automatically whenever you have not done the work to identify lots.
So the menu is shorter than it looks. Either you identify your lots properly, which lets you achieve HIFO or LIFO, or you are on FIFO. Because of that, confirming you can meet the identification standard is the real gate, not choosing a label.

For years, many filers treated their crypto as one big universal pool, matching sales against any lot anywhere. That practice changed. Under the final broker reporting regulations, basis identification generally applies on a per wallet or account basis for transactions on or after January 1, 2025.
In plain terms, you identify which units you sold from within the specific wallet or account that holds them, rather than from your entire portfolio at once. To ease the transition, Revenue Procedure 2024-28 let taxpayers make a reasonable allocation of unused basis to the wallets or accounts that held their remaining units as of January 1, 2025.
This matters for method choice. A HIFO or LIFO approach that assumed a single universal pool no longer fits cleanly. Therefore, if you are unsure how your prior-year basis was allocated across wallets, that is exactly the kind of edge case worth reviewing with a tax professional.
| Method | Which lot sells first | IRS status | Records needed |
|---|---|---|---|
| FIFO | Oldest purchase | Default when you do not identify | Baseline transaction history |
| HIFO | Highest-cost purchase | Specific identification | Timely per-unit identification |
| LIFO | Most recent purchase | Specific identification | Timely per-unit identification |
The table makes the trade-off visible. FIFO is the least work and applies by default. In contrast, HIFO and LIFO can change the timing of gains, but only if your records meet the specific identification standard.
Whatever method you use, the reporting path is the same, because the method affects the numbers, not the forms.
A common mistake is assuming you can pick HIFO at tax time. Specific identification generally has to happen at the time of the sale, not months later when you are filing, so a retroactive choice does not meet the standard.
Another is switching approaches without keeping the records straight. Consistency and documentation are what make a method defensible.
A third is treating the whole portfolio as one pool after the 2025 wallet-by-wallet change. If your software or spreadsheet still assumes a universal pool, your basis may not line up with the current rules. Finally, many filers ignore fees, which can adjust both proceeds and basis and quietly distort every method.
CRPTM is built for exactly this problem. First, you import your transactions from exchanges, wallets, and blockchains, and it classifies each one and assigns a US dollar value. It then supports HIFO, FIFO, and LIFO cost basis methods, along with Universal and Wallet tracking, so you can see how your gains look under a consistent, records-backed approach rather than guessing.
From there, CRPTM flags transactions that need attention, such as missing purchase history, and generates a pre-filled Form 8949 and Schedule D you can review before filing. You can explore the workflow on the CRPTM crypto tax product page, and for the mechanics of the form itself, see our guide on how to report crypto on Form 8949. For a refresher on how holding period affects your rate, our capital gains tax on crypto guide walks through it.
HIFO is allowed as a form of specific identification, which means you must identify the specific high-cost units at the time of sale and keep records to support it. It is not a separate method you elect at filing.
FIFO is the default. If you do not specifically identify which units you are selling, the IRS treats the earliest units you acquired as sold first.
Often HIFO in the moment, because it subtracts the highest basis, but it only works with proper identification and records, and the long-term result depends on your full activity across the year.
Yes. Basis identification generally applies per wallet or account for transactions on or after January 1, 2025, rather than across your entire portfolio, and Revenue Procedure 2024-28 provided transition relief.
Sometimes. For covered assets sold on or after January 1, 2026, brokers report cost basis on Form 1099-DA. Even then, it may not capture wallet or DeFi activity, so reconciling against your own records still matters.
On Form 8949, with totals carried to Schedule D. The method changes the basis figures, not the forms.
In the end, the choice among FIFO, HIFO, and LIFO is really a choice about records. FIFO is the default and asks the least of you, while HIFO and LIFO can shift the timing of gains, but only when your documentation meets the specific identification standard and fits the wallet-by-wallet rules that took effect in 2025. If your activity is spread across accounts, a tool that tracks basis consistently makes this far less stressful. And when a situation is genuinely uncertain, a qualified tax professional is worth the call.
IRS – Digital assets – https://www.irs.gov/filing/digital-assets
IRS – Frequently asked questions on digital asset transactions – https://www.irs.gov/individuals/international-taxpayers/frequently-asked-questions-on-digital-asset-transactions
IRS – Final regulations and related IRS guidance for reporting by brokers on sales and exchanges of digital assets – https://www.irs.gov/newsroom/final-regulations-and-related-irs-guidance-for-reporting-by-brokers-on-sales-and-exchanges-of-digital-assets
IRS – Frequently asked questions about broker reporting – https://www.irs.gov/filing/frequently-asked-questions-about-broker-reporting
IRS – Revenue Procedure 2024-28 – https://www.irs.gov/pub/irs-drop/rp-24-28.pdf
IRS – Instructions for Form 1099-DA (2026) – https://www.irs.gov/instructions/i1099da
This article is for educational purposes only and does not constitute tax, legal, or financial advice. Federal and state tax rules may change. Consult a qualified tax professional regarding your specific circumstances.