Crypto Cost Basis: FIFO, Specific Identification and the Records You Need

A crypto disposal has two questions behind it: which units were sold, and what did those units cost. The answer changes the gain. This guide reads the IRS position that digital assets are property, the specific-identification test in its virtual currency FAQs, the FIFO default that applies when identification fails, and the wallet-by-wallet rules that took effect for acquisitions and dispositions on or after January 1, 2025.

CoinSoso EditorialPublished Article #00087Updated

Cover artwork: CoinSoso · AI-generated, not a photograph of a real venue, product or market capture.

Key takeaways

  • The IRS states that for U.S. tax purposes digital assets are considered property, not currency, and that basis is generally the cost in U.S. dollars.
  • Under the IRS virtual currency FAQs, a taxpayer may choose which units are sold if they can specifically identify them and substantiate the basis.
  • If units are not specifically identified, the FAQs apply FIFO: the earliest acquired units are treated as sold first.
  • Specific identification can rest on a unique digital identifier or on records showing acquisition date and time, basis, fair market value at acquisition, and disposal details for every unit.
  • Rev. Proc. 2024-28 provides a safe harbor for allocating unused basis to wallets or accounts as of January 1, 2025, ahead of the wallet-by-wallet rules in the 2024 final regulations.

Property, not currency

The starting point is a classification, not a calculation. The IRS digital assets page states that for U.S. tax purposes digital assets are considered property, not currency. The same page says the basis of property is its cost, and that the basis of a digital asset is generally its cost in U.S. dollars.

Property treatment is what makes cost basis the central number. A disposal is compared against what the disposed units cost, and the difference is gain or loss. The holding period matters too, because property held for more than a year is treated as long-term, but the basis is the figure that determines whether there is a gain at all.

Two questions behind every disposal

Every disposal of part of a holding raises the same pair of questions:

  1. Which units were sold? If a wallet holds bitcoin bought at three different prices, the answer decides which cost leaves the wallet.
  2. What did those units cost, in dollars? That is the basis, adjusted for anything the tax rules require.

When the entire holding is sold at once, the two questions collapse into one and the arithmetic is simple. The difficulty appears when a taxpayer sells part of a position that was accumulated over time, because the units are fungible on the chain but not identical in basis.

The specific-identification route

The IRS virtual currency FAQs address the choice directly. Q39 asks whether a taxpayer who owns multiple units acquired at different times and prices can choose which units are sold. The answer is yes, subject to a condition: the taxpayer must be able to specifically identify which units are involved in the transaction and substantiate the basis in those units.

Q40 then defines what identification means. There are two accepted routes:

Route What it requires
Unique digital identifier Documenting the specific unit’s identifier, such as a private key, public key and address
Records for all units Transaction information for every unit of that asset held in a single account, wallet or address

The records route comes with a list of required fields, and the list is the practical part of the rule:

  1. The date and time each unit was acquired.
  2. The basis and the fair market value of each unit at the time of acquisition.
  3. The date and time each unit was sold, exchanged or otherwise disposed of.
  4. The fair market value of each unit when disposed of, and the amount of money or the value of property received for each unit.

The word “time” appears alongside “date” in three of the four items. That is not incidental: when several purchases happen on the same day at different prices, a date alone cannot distinguish them.

The FIFO default

Q41 covers the case where identification does not happen. If the taxpayer does not identify specific units, the FAQs say the units are deemed sold in chronological order beginning with the earliest unit purchased or acquired — first in, first out.

FIFO is therefore not a method a taxpayer chooses; it is what remains when a specific identification is not made or cannot be substantiated. The distinction matters because the two methods can produce very different gains from the same sale. In a position accumulated over years, FIFO tends to dispose of the oldest and cheapest units first, which usually produces a larger gain than selling the most recently acquired units.

What changed on January 1, 2025

The FAQs above are framed for transactions before 2025. Rev. Proc. 2024-28 describes the rules that followed. It states that §§ 1.1012-1(h) and (j) of the 2024 final regulations apply to all acquisitions and dispositions of digital assets on or after January 1, 2025, and that those rules apply the specific identification or FIFO rules to units held within a single wallet or account.

Two consequences follow. The unit of analysis is now the wallet or account rather than the taxpayer’s entire holdings, and specific identification must be made no later than the date and time of the sale. The revenue procedure describes the requirement as identifying, on the taxpayer’s books and records, the particular units to be disposed of by reference to an identifier — such as purchase date and time or the purchase price paid — sufficient to identify the basis and holding period.

That is a timing rule as much as a record-keeping rule. A specific identification constructed after the fact, from memory or from a cleaned-up spreadsheet, does not meet a requirement that the identification be made by the time of the sale.

The transition safe harbor

The revenue procedure exists because taxpayers who had been using a universal or multi-wallet approach needed a way to move to wallet-by-wallet accounting without inventing basis. It provides a safe harbor under §1012(c)(1) that allows unused basis to be allocated to wallets or accounts holding the same number of remaining units, as of January 1, 2025, based on the taxpayer’s records.

The mechanics have three features worth knowing:

  • Two allocation styles. A specific unit allocation records the characteristics of the unused basis assigned to each pool of assets in each wallet or account. A global allocation instead prescribes an order in which basis units are assigned, applied across the taxpayer’s wallets.
  • The standing-order requirement. If a sale happens before the global allocation is complete, the revenue procedure allows specific identification of remaining units only through a standing order or instruction communicated to the broker, or a standing instruction recorded in the taxpayer’s books and records. Other forms of identification are not sufficient for that period.
  • The completion deadline. The revenue procedure’s example describes a taxpayer who identifies and maintains records sufficient to show the remaining units and unused basis as of January 1, 2025 before April 15, 2026 — the due date for the 2025 federal return — and completes the allocations within the same window.

The safe harbor is a transition rule, not a permanent method. It is aimed at the specific problem of basis that was tracked without regard to which wallet held the units.

Form 1099-DA does not replace the records

The IRS digital assets page notes that broker reporting on Form 1099-DA is required beginning with transactions on or after January 1, 2025, under final regulations covering brokers that take possession of the digital assets being sold, including custodial trading platforms and certain hosted wallet providers.

A reporting form is an input, not a substitute for the underlying records. The form states what a broker reports; the basis claimed on a return has to be supportable from the taxpayer’s own records, especially for units acquired elsewhere, transferred between wallets, or held across more than one venue. The record list in Q40 is still the specification, even where the reporting obligation now sits with a broker.

A records checklist

Record Why it matters
Acquisition date and time Separates same-day purchases and starts the holding period
Amount paid in USD, and the fee Establishes basis
Fair market value at acquisition Required by Q40 where the asset was received rather than bought
Wallet or account held in The unit of analysis under the 2025 rules
Disposal date and time Ties the disposal to the identification made at that moment
Proceeds and fair market value at disposal The other half of the gain calculation
Transfers between your own wallets Not a disposal, but they change which wallet holds which units

The list is unglamorous, and that is the point. The rules in both the FAQs and the revenue procedure reward records made at the time of the transaction. A taxpayer who can produce the four Q40 fields for every unit does not need to argue about which method applied; a taxpayer who cannot will be pushed onto FIFO by default.

Risk note. This article describes U.S. federal guidance read from the IRS digital assets page, the virtual currency FAQs and Rev. Proc. 2024-28 on 2026-10-26. It is not tax advice. Rules, forms and thresholds change, and individual circumstances differ; consult a qualified tax professional before relying on any method described here.

Sources

How this was researched. Written from primary documentation and the exchange or protocol's own published material, with sources listed at the end of the article.

Primary sources for the factual claims on this page. A date appears only where a human has actually read the source; where it is missing, the check is still outstanding.

  1. IRS — Digital assets (property treatment, basis, Form 1099-DA reporting)(read 2026-10-26)
  2. IRS — Frequently asked questions on virtual currency transactions (Q39–Q41)(read 2026-10-26)
  3. IRS — Rev. Proc. 2024-28, allocation of basis to wallets or accounts as of January 1, 2025(read 2026-10-26)

Frequently asked questions

Is crypto taxed as currency or as property in the U.S.?

As property. The IRS digital assets page states that for U.S. tax purposes digital assets are considered property, not currency, and that the basis of a digital asset is generally its cost in U.S. dollars.

Can I choose which coins I sold?

Yes, under the conditions in the IRS virtual currency FAQs. Q39 says you may choose which units are deemed sold if you can specifically identify the units involved and substantiate your basis in them. If you cannot, Q41 applies FIFO instead.

What records does specific identification require?

Q40 accepts either a unique digital identifier such as a private key, public key and address, or records showing the transaction information for all units in a single account, wallet or address. Those records must show when each unit was acquired, its basis and fair market value at acquisition, when it was disposed of, and its fair market value and the amount received at disposal.

Did the rules change in 2025?

Yes. Rev. Proc. 2024-28 states that §§ 1.1012-1(h) and (j) of the 2024 final regulations apply to all acquisitions and dispositions of digital assets on or after January 1, 2025, and that those rules apply specific identification or FIFO to units held within a single wallet or account.

What is the safe harbor in Rev. Proc. 2024-28 for?

It lets taxpayers allocate unused basis to the wallets or accounts holding the same number of remaining units, as of January 1, 2025, when moving from a universal or multi-wallet approach to the wallet-by-wallet rules. The allocation must be reasonable and must be recorded in the taxpayer's books and records.

Where to go next

Independent research. Each card shows the platform’s invite code, and its Create Account button is a referral link that may earn us a commission at no extra cost to you. Whether an account can be opened is decided by the platform at sign-up.

Binance

One of the largest global exchanges by traded volume, with a very broad product range.

20% Trading Fee Rebate

Use invite code con888 when signing up to enjoy trading fee benefits.

Download Android App

Download from the exchange's official download service. Verify the source and follow the on-screen installation instructions.

Do not install an APK from an unknown source, or one that has been modified or cannot be checked.

Read review →

OKX

A large global exchange offering spot, derivatives and a self-custody wallet.

20% Trading Fee Rebate

Enter invite code con888 when signing up to check available trading fee benefits.

Download Android App

Download from the exchange's official download service. Verify the source and follow the on-screen installation instructions.

Do not install an APK from an unknown source, or one that has been modified or cannot be checked.

Read review →