Home/Guides/

Wallet-by-wallet crypto cost basis: the Rev. Proc. 2024-28 safe harbor and Notice 2026-20 relief

Last updated 2026-11-24 · Sources linked on every listing

Short answer: since Jan. 1, 2025, you can't treat all your crypto as one big pool when you sell. Under Treas. Reg. 1.1012-1(j), which units you sold, and so your basis and holding period, is decided wallet by wallet and account by account. Rev. Proc. 2024-28 gave a one-time safe harbor to move leftover ("unused") basis from a universal method into each wallet as of Jan. 1, 2025, but its deadlines were tied to your first 2025 sale and your 2025 return, so for most people the window has closed. For coins held at an exchange, Notice 2026-20 extends Notice 2025-7's relief through Dec. 31, 2026: you can pick lots or set a standing order in your own records before the sale.

Key rules at a glance

RuleWhat it saysSource
Wallet-by-wallet orderingApplies to all acquisitions and dispositions of digital assets on or after Jan. 1, 2025Reg. 1.1012-1(j)(6), per Notice 2025-7 and Notice 2026-20
Self-custody defaultIdentify units in your books by the time of sale; if not, earliest-acquired units go first. The date units were transferred into the wallet is ignoredReg. 1.1012-1(j)(1), (2)
Broker defaultTell the broker which units by the time of sale (a standing order counts); otherwise earliest-acquired units at the broker go first. If the broker offers only one method, that method is treated as your standing orderReg. 1.1012-1(j)(3)
Changing FIFO / HIFO / LIFONot a method of accounting, so not a change under sections 446 or 481Reg. 1.1012-1(j)(4)
Transition safe harborReasonable allocation of unused basis to remaining units in each wallet as of Jan. 1, 2025; specific unit or global allocation; irrevocableRev. Proc. 2024-28
Books-and-records relief at brokersJan. 1, 2025 to Dec. 31, 2026 (originally 2025 only)Notice 2025-7, extended by Notice 2026-20

What changed on Jan. 1, 2025

Before 2025, many people read the IRS virtual currency FAQs (then numbered 39 to 41) as allowing a "universal" or "multi-wallet" approach: one FIFO or HIFO queue across every exchange and wallet. Rev. Proc. 2024-28 acknowledges that reading. The final regulations (T.D. 10000, published July 9, 2024 at 89 FR 56480) rejected it. The preamble says a wallet-by-wallet approach is more consistent with section 1012(c)(1), which requires an account-by-account method, and that the universal approach "does not conform with the statutory requirements."

Section 1.1012-1(j) has two tracks:

Which lots you pick (earliest, latest, highest basis) is not a method of accounting, so switching between them doesn't need IRS consent under sections 446 or 481. For the method comparison itself, see crypto cost basis methods.

Who this affects

Limits in Rev. Proc. 2024-28: each remaining unit and each unit of unused basis must be a capital asset; the basis and the coin must be the same type of digital asset (bitcoin and ether are different types, and you can apply the safe harbor coin by coin); it can't be used for coins acquired on or after Jan. 1, 2025; and it doesn't apply to basis under consideration in a U.S. court, IRS Appeals, or an IRS examination where the IRS first contacted you before Jan. 1, 2025, unless a final determination came first. Coins held by a single-member disregarded entity are treated as held by the owner.

How the Rev. Proc. 2024-28 safe harbor works

The snapshot. The allocation is made "as of January 1, 2025," which the revenue procedure defines as immediately after the close of your day on Dec. 31, 2024. You must be able to show, with records:

  1. the total number of remaining units of that coin in each wallet or account, and
  2. the number of units of unused basis, the original cost of each, and the acquisition date of the unit it was originally attached to.

You allocate units of unused basis to the same number of remaining units in each wallet. Basis already used on pre-2025 sales ("previously identified and used basis") can't be reallocated. The safe harbor only covers how basis is spread across wallets; the amount of your basis still has to be substantiated separately under section 6001.

Specific unit allocation vs global allocation

Specific unit allocationGlobal allocation
What it isYou assign identified units of unused basis (by cost and acquisition date) to the pool in each wallet, or to specific units if you can identify themA written ordering rule (for example, highest basis first, then earliest date) that assigns ordered basis units to wallet A, then wallet B, and so on
When the rule must existNo advance rule neededThe method must be described in your books and records before Jan. 1, 2025, with no discretion left on or after that date
Deadline to completeBefore the earlier of (a) your first sale, disposition or transfer of that coin on or after Jan. 1, 2025, or (b) the due date, including extensions, of your 2025 returnBefore the later of those same two dates
Selling before it's completeNot possible: the allocation has to be done before the first 2025 saleYou may identify units sold only by a standing order (with the broker or in your books), which must then be applied once the allocation is complete
When "complete"On the date your books first record the specific characteristics of the basis units allocated to each wallet's pool

For a calendar-year individual, Rev. Proc. 2024-28's own Example 4 uses April 15, 2026 as the 2025 return due date; extensions push the date out. If you don't file a 2025 return, it's the unextended due date for the return you'd have filed. Until the allocation is complete, new coins received in 2025 or later in the same wallet have to be accounted for separately. Any allocation is irrevocable. If you don't meet the requirements, you can't rely on the safe harbor, which "may result in the assessment of additional tax, penalties, and interest."

Rev. Proc. 2024-28 doesn't call for any form or statement filed with the IRS; everything it asks for is in your books and records.

Notice 2025-7 and Notice 2026-20: relief for coins at a broker

Treasury and the IRS recognized that many exchanges couldn't accept per-sale lot instructions by Jan. 1, 2025, which would have pushed sales there into FIFO by default. Notice 2025-7 (2025-5 I.R.B. 524) let you, during calendar 2025, make an adequate identification of units held at a broker by either:

  1. identifying in your own books and records, no later than the date and time of the sale, the particular units sold, by any identifier such as purchase date and time or price; or
  2. recording a standing order in your books and records before the units it covers are sold.

If you use it, the "broker offers only one method" rule doesn't apply to you during the relief period. Notice 2026-20 (IRB 2026-15) changed the relief period to Jan. 1, 2025 through Dec. 31, 2026. It says many brokers are ready for standing orders but not for other specific identifications, and are expected to finish their systems during 2026.

Limits: the relief covers only units in a broker's custody. It doesn't apply to self-custody wallets, which already use your own books under section 1.1012-1(j)(2). If you relied on the safe harbor, you can use the relief only after Rev. Proc. 2024-28's requirements are met, including finishing a global allocation. You can't rely on it for sales after the relief period ends.

How Form 1099-DA fits in

When your figures differ from the form, report your own basis on Form 8949 following its instructions, and keep the records that support it.

Worked examples

All holdings, prices and dates in Examples 1, 3, 4 and 5 are made up to show how the rules work. They aren't market data or real accounts. Example 2 uses the numbers from the IRS's own example.

Example 1 (illustrative): a specific unit allocation for 1 BTC across two places

On Dec. 31, 2024 you hold 1 BTC: 0.6 BTC at Exchange A and 0.4 BTC in a hardware wallet. Your universal records show unused basis of 0.5 BTC bought in 2020 at $10,000 per BTC ($5,000) and 0.5 BTC bought in 2023 at $30,000 per BTC ($15,000), for $20,000 total. Before your first 2025 BTC sale, you record a specific unit allocation:

The total is still $20,000; only the location changes. If you later sell the 0.4 BTC in the hardware wallet for $40,000, your long-term gain is $40,000 − $12,000 = $28,000. If you instead sell 0.4 BTC at Exchange A with no identification, FIFO within that account takes 0.4 BTC of the 2020 lot (basis $4,000), so the gain is $36,000. The allocation you write down decides future gains wallet by wallet, and you can't change it later.

Example 2 (from Rev. Proc. 2024-28): a global allocation rule

In the revenue procedure's Examples 2 to 4, a taxpayer has 24 remaining units on Jan. 1, 2025: 4 in an "XYZ" wallet and 20 in a "GHI" wallet. Unused basis is 10 units at $1 (acquired July 1, 2019) and 14 units at $5 (acquired Sept. 1, 2020). Before Jan. 1, 2025, the taxpayer wrote a rule: highest basis first, then earliest date, allocated to XYZ first and GHI second. Result:

The taxpayer finished recording that allocation after a March 1, 2025 sale but before April 15, 2026. Because the March 1 sale happened before the global allocation was complete and the lot pick wasn't a standing order, the IRS says the identification didn't count: the two units sold were the earliest-acquired units in that wallet, the $1 units from July 1, 2019. The same result follows if the two units were given away as a gift (Example 5).

Example 3 (illustrative): why the universal method no longer works

In 2026 you hold 1 ETH at an exchange, bought in March 2026 for $1,500, and 1 ETH in a hardware wallet, bought in 2025 for $4,000. You sell the exchange ETH for $3,000.

That's a $2,500 swing in reported gain from the same trade. The T.D. 10000 preamble gives a similar example of directing an exchange to sell while identifying units from an unhosted wallet, and rejects it.

Example 4 (illustrative): a 2026 standing order under Notice 2026-20

Your exchange account holds 2 ETH: one bought in February 2026 for $2,000 and one bought in June 2026 for $3,500. The exchange can't take per-sale lot picks. Before selling, you write in your own records: "Standing order: sell highest-basis ETH first." In October 2026 you sell 1 ETH for $3,000.

Both lots were bought after 2025 in that account, so they're covered securities and the exchange must report basis on your 1099-DA. If the exchange reports the $2,000 lot, Notice 2026-20 section 4.05 says your book identification controls for income tax, so you report the $3,500 basis on Form 8949 and keep the dated record of the order.

Example 5 (illustrative): self-custody FIFO ignores the transfer date

In 2026 your hardware wallet holds 0.1 BTC bought in June 2026 for $10,500. In August 2026 you move in another 0.1 BTC that you bought on an exchange in January 2025 for $9,000. In September 2026 you sell 0.1 BTC from the wallet for $11,000 without identifying a lot.

Under section 1.1012-1(j)(1), the earliest-acquired units go first and the date units were transferred into the wallet is disregarded. So the January 2025 lot is treated as sold, even though it arrived last: basis $9,000, a $2,000 long-term gain (held more than a year). If you had identified the June 2026 lot in your books before the sale, the gain would have been $500 and short-term. Moving a coin between your own wallets isn't itself a sale; see transferring crypto between wallets.

What to do now (late 2026)

  1. Find out whether you made a safe-harbor allocation. Look for a dated record, in a spreadsheet or your tax software, of units per wallet as of Jan. 1, 2025 and the basis assigned to each, made before your first 2025 sale of that coin (specific unit) or under a rule written before 2025 (global).
  2. If you did, preserve it. Keep the snapshot, the unused-basis list (cost and acquisition date), the date the allocation was recorded and, for a global rule, proof it existed before Jan. 1, 2025. It's irrevocable, so don't let software quietly recompute it.
  3. If you didn't, don't backdate anything. The deadlines are tied to your first 2025 sale and your 2025 return due date, so for most calendar-year individuals they've passed. Rev. Proc. 2024-28 doesn't say what method applies instead; have a crypto CPA review your basis.
  4. Before any more 2026 exchange sales, write a standing order in your own records, or identify the lots in your books by the time of each sale. Notice 2026-20's relief ends Dec. 31, 2026, so this matters for year-end tax-loss harvesting.
  5. For self-custody wallets, record your lot pick by the time of each sale; otherwise FIFO within that wallet applies.
  6. Plan for 2027. Unless the IRS extends the relief again, you'll need to give lot instructions or standing orders to the broker itself. Check whether your exchange supports this; if it offers only one method, that method counts as your standing order.
  7. Reconcile every 1099-DA against your wallet-level records before you file.

Conflicts and unclear points

Tools and help

Wallet-by-wallet tracking is hard to do by hand. CoinLedger (code CRYPTOTAX10 for 10% off) and Koinly both import exchanges and wallets and let you choose a basis method. Affiliate links; disclosure. Check how your tool handles your Jan. 1, 2025 allocation before relying on its numbers. Compare them in Koinly vs CoinLedger.

Missed the safe harbor, have years of universal-method records, or have a 1099-DA that doesn't match? A crypto-savvy CPA can rebuild your basis by wallet. Browse the crypto CPA directory or find one in your state. Related: bitcoin taxes, ethereum taxes.

Taking a position contrary to Treas. Reg. 1.1012-1(j)? Disclosure goes on Form 8275-R, not Form 8275. See Form 8275 and crypto.

Sources

Retrieved 2026-11-21. General information, not tax advice. The examples are illustrative; your result depends on your own records.

FAQ

What is wallet-by-wallet cost basis for crypto?

Treas. Reg. 1.1012-1(j), issued in T.D. 10000, applies to all acquisitions and dispositions of digital assets on or after Jan. 1, 2025. It decides which units you sold by looking only at units of the same coin in the same wallet or broker account, not at all your holdings combined. The T.D. 10000 preamble says a 'universal or multi-wallet' approach does not conform with section 1012(c)(1), which requires an account-by-account method.

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

Rev. Proc. 2024-28 let people who held crypto on Jan. 1, 2025 make a reasonable allocation of their 'unused basis' to the same number of units remaining in each wallet or account, as of Jan. 1, 2025 (immediately after the close of Dec. 31, 2024). It could be done by a specific unit allocation or by a global allocation rule. The allocation is irrevocable and only covers units held before 2025.

What was the deadline for the Rev. Proc. 2024-28 allocation?

For a specific unit allocation, before the earlier of your first sale, disposition or transfer of that type of coin on or after Jan. 1, 2025, or the due date (including extensions) of your 2025 return. For a global allocation, the rule had to be written in your books before Jan. 1, 2025, and the allocation completed before the later of those two dates. Notice 2026-20 summarizes this as generally the date of the first sale of that coin on or after Jan. 1, 2025.

Can I still tell my exchange which coins I sold in 2026 without the exchange's tools?

Yes, through Dec. 31, 2026. Notice 2025-7 let you identify units held at a broker, or record a standing order, in your own books and records before the sale during 2025, and Notice 2026-20 extended that relief through Dec. 31, 2026. It applies only to units in a broker's custody, not to self-custody wallets.

Will my Form 1099-DA match my wallet-by-wallet basis?

Not necessarily. Notice 2026-20 says the relief doesn't apply to broker reporting, so for 2026 transactions the basis and acquisition date a broker reports may not match your books. If you made an adequate identification in your books under the notice, the units you identified are the ones sold for federal income tax purposes, regardless of what the broker reports.