Gainbasis

Guides

Crypto cost basis per wallet, since 2025

Until 2025 many people pooled all their coins and averaged. The final regulations ended that: each wallet and each exchange account now has its own lots. Here is what changed, and what to do about coins bought before.

Not tax advice. This guide explains general rules from official sources, as they read on the review date. Your situation may differ: check your return with a qualified tax professional.

The rule

For dispositions on or after 1 January 2025, you work out basis and holding period for the units in each wallet or account separately, by the lots held there (Treas. Reg. 1.1012-1(j)). The IRS rejected both tracking by address and tracking everything as one universal pool (T.D. 10000 preamble). Before 2025, one universal pool of lots was the practice.

What counts as a wallet

  • Self-custody: one seed, with all its addresses (including addresses derived from an extended public key).
  • Custodial: one customer account at an exchange, with its sub-accounts.

The definition follows the broker regulation's description of a means of storing a user's private keys (Treas. Reg. 1.6045-1(a)(25)). Gainbasis asks you to map each source to a wallet, and groups addresses from one extended public key automatically.

FIFO, and choosing which units you sold

Unless you identify the units sold, the first units acquired in that wallet are treated as the first sold (first in, first out). You may instead identify specific units, for example by highest cost first or last in first out, as a standing instruction for the wallet. A change applies to later disposals only, and it is not a change of accounting method (Treas. Reg. 1.1012-1(j)(2) and (j)(4)). Gainbasis stores each wallet's rule with the date it was recorded, cannot edit it afterwards, and never picks a method retroactively to lower a tax.

Exchange accounts and the broker

Through 31 December 2026, your own recorded rule is enough for an account at an exchange (Notice 2025-7, extended by Notice 2026-20). From 1 January 2027 the instruction has to reach the broker; Gainbasis uses FIFO for exchange accounts unless you confirm the broker has the same instruction, and tells you before the date.

Moving coins between your own wallets

A transfer between your own wallets is not a sale. The lots move with their basis and their acquisition date, so the holding period does not restart. A network fee paid on the transfer is a small disposition of the fee units and is not added to basis (IRS digital asset FAQ).

Coins bought before 2025: Rev. Proc. 2024-28

Revenue Procedure 2024-28 gave a safe harbor for allocating unused basis to wallets at the start of 2025. Every deadline in it has passed; the last was 15 October 2026. What that means for you:

  • If you completed an allocation, Gainbasis imports it and locks it.
  • If you did not, it traces the actual lots wallet by wallet, says plainly that no safe harbor applies, and sends any transfer it cannot trace to your review list.

What Gainbasis does

  • Keeps lots per wallet from 2025 and one pool before, with FIFO by default and your recorded rule per wallet.
  • Moves lots with their basis and date on every transfer between your own wallets.
  • Lists on the review list every transfer whose other side it cannot find, instead of guessing a cost.
  • Shows each sale's lot, date and basis. See the sample (invented data).

Questions

Can I still average the cost of all my coins?

Not for dispositions on or after 1 January 2025: basis is tracked by wallet or account (Treas. Reg. 1.1012-1(j)).

Does a transfer to my own wallet restart the holding period?

No. The lots keep their acquisition date; the transfer itself is not a sale (Treas. Reg. 1.1012-1(j)).

Can I pick the best method after I see the numbers?

No. A standing instruction applies to later disposals, so a method chosen afterwards cannot be applied backwards (Treas. Reg. 1.1012-1(j)(2)).

I missed the Rev. Proc. 2024-28 deadline. Now what?

Its deadlines have passed, so no safe harbor applies. The actual lots are traced wallet by wallet from your records (Rev. Proc. 2024-28). A tax professional can advise on your situation.

Official sources

By Leonardo Lima · Reviewed on

Rebuild your lots wallet by wallet.

Gainbasis keeps lots per wallet, moves them with every transfer and traces the ones it cannot. The United States opens in January 2027 for tax year 2026; join the list and we write once, when it is ready.