PnLol Sign in

PnLol / Guides

How crypto lot identification works with FIFO and specific ID

Updated 2026-11-04 · US federal rules

Check my wallet free

Free account and a public Solana address, nothing to connect. Full Form 8949 files come with the Tax Season Pass, $49 per tax year.

Jump to a section (8)

Software, not tax, legal or investment advice. Estimates may be wrong. Verify with a tax professional.

We'll explain how the rules work here, but we won't pick a method for you. The rules are US federal ones for an individual holding tokens as capital assets, and they reach tax year 2026 returns filed in 2027 and 2025 returns alike, based on our sources as of 2026-11-04. If your coins sat with a broker, the two years work differently, because the 2025 relief below has ended. Whether a method is open to you, and whether your records back it up, is a question for a tax professional.

Why it matters which coins you sold

Say you bought the same token several times at different prices. Each buy is a lot, with its own cost and its own date. When you sell or swap part of your bag, the lot you're treated as disposing of sets your gain or loss. It also sets your holding period. Under 26 USC 1222, more than one year is long-term and one year or less is short-term, so two lots of the same token can land very differently.

Each wallet is tracked on its own from 2025

The rule is in 26 CFR 1.1012-1 paragraph (j), and it covers digital assets acquired or disposed of on or after January 1, 2025. If you hold the coins yourself, say in a self-custody Solana wallet, the rule only looks at the units in that wallet. You can pick which units in the wallet you're disposing of (that's a specific identification). If you don't, the units count as disposed of "in order of time from the earliest date" on which you got units of that asset. The date you moved them into the wallet doesn't count.

People call that default FIFO, first in, first out. The IRS digital asset FAQs describe the same default in Q86 and Q87 but never use the label.

Picking your own lots

Paragraph (j)(2) sets the test for units outside a broker's custody. You have to note the exact units in your own books and records no later than the date and time of the sale or swap. Any identifier that's enough to single them out works, like the purchase date and time or the purchase price. On top of that, your records have to show the unit you named really left the wallet. FAQ Q82 repeats both conditions for unhosted wallets. Q83 applies the same rules to hosted wallets when the provider isn't a broker.

The regulation names earliest acquired, latest acquired and highest basis only as examples of ways to pick units (26 CFR 1.1012-1(j)(4)). They aren't methods of accounting. So switching from one to another isn't a change in method of accounting under sections 446 and 481. LIFO and HIFO are just names for those choices, and the regulation doesn't use them. What decides whether your pick counts is whether you wrote it down in time and can back it up. The label doesn't matter.

Coins held by a broker

If a broker holds the units, paragraph (j)(3) says you have to tell the broker which units by the date and time of the sale or swap. If you don't, the earliest units in that broker account count as sold first. FAQ Q85 says that after December 31, 2025 you identify units to the broker using whatever identifiers the broker sets. FAQ Q88 covers standing orders. For 2025, a standing order written in your own books could work. After 2025, it has to be set up with the broker by the time of the trade.

IRS Notice 2025-7 was the temporary 2025 relief. For broker-held units disposed of between January 1 and December 31, 2025, it let you identify units in your own books and records. That included a standing order you wrote down before the covered units were disposed of. The notice says you can't rely on it for dispositions after that relief period ends.

Want these numbers for your own trades? Check my wallet free

Moving from one big pool to separate wallets (Rev. Proc. 2024-28)

Before 2025, some people tracked basis across all their wallets as one pool. Revenue Procedure 2024-28 gives a safe harbor for assigning "unused basis" of digital assets held as of January 1, 2025 to the wallets and accounts that held the remaining units. Each unit of unused basis keeps the acquisition date of the unit it started with. There are conditions on who qualifies, what records you keep and when you act, and you can't redo the allocation every year. Our moving tokens between wallets guide has the deadlines. Short version: if you file on a calendar year, both deadlines to finish it have passed. The later one was the extended due date of the 2025 return.

A made-up example

This is our own arithmetic. It isn't an IRS example or a recommendation. One wallet holds three lots of the same token, all bought in 2026: Lot A is 1,000 units for $100 (January), Lot B is 1,000 units for $400 (March) and Lot C is 1,000 units for $250 (May). In June you sell 1,000 units for $300.

Units treated as soldBasisGain or loss
Lot A (earliest bought, the default)$100$200 gain
Lot B (highest cost, if you picked it)$400$100 loss
Lot C (latest bought, if you picked it)$250$50 gain

Every row here is short-term. Only the first row applies if you didn't identify units in time. The other two need an identification that meets the timing and records rules above. Once you've sold every lot, the totals come out to the same dollar result whichever way you went. What moves is when each gain or loss shows up and whether it's short-term or long-term.

Switching to HIFO or LIFO in PnLol

PnLol tracks lots per wallet and per coin, and it uses FIFO by default. The dashboard and tax files can also show the same history with HIFO or LIFO, and every tax file lists the method it used. Seeing a number under a method doesn't mean you made a timely specific identification for it, though. PnLol doesn't let you hand-pick lots, and it doesn't recommend a method. See how PnLol calculates for the details, or check a wallet.

For holding periods, read short-term vs long-term crypto. For fees that change a lot's basis, read crypto transaction fees and cost basis (what you paid, fees included).

What to keep

Sources

US federal rules only · Software, not tax, legal or investment advice. Estimates may be wrong. Verify with a tax professional.