StructureX

Home › Comparisons

FIFO vs specific identification: which shares did you just sell?

FIFO sells your oldest shares first. Specific identification lets you pick the lot. Use specific ID when your wheel shares arrived at very different prices and you care which year a gain or loss lands in. Otherwise FIFO is fine. Either way, you choose before the sale, not at tax time.

Comparison · 7-minute read · By Paspir · Updated 2026-11-16

The short answer

FIFO means "first in, first out". When you sell shares, the oldest ones you bought are the ones that count as sold. In the US, it is the fallback rule when you don't name the shares yourself.

Specific identification means you tell your broker which lot to sell. A lot is one batch of shares bought at one price on one day.

Pick FIFO when you don't care and your oldest lot is also the one you'd choose anyway. Pick specific identification when your lots have very different costs and you want to control which gain or loss shows up this year. Either way, the choice must be set at or before the sale. You can't go back and change it at tax time.

Side by side

FIFOSpecific identification
Which shares are soldThe oldest lot firstThe lot you name
Work for youNonePick a lot each time, or set a standing rule
When you must chooseNothing to chooseAt or before the sale
Control over this year's gainNoneYes
Total gain over all lotsThe same in the endThe same in the end
What it really changesNothing to changeTiming, and short- vs long-term
At your brokerA common defaultUsually a setting you pick

The last two rows matter most. Picking lots doesn't make the total gain smaller. It moves gains and losses between years, and it can change whether a sale counts as short-term or long-term.

Why the wheel creates this problem

On the wheel strategy, you sell a Cash-secured put. If the stock falls below the strike, you get assigned: you buy 100 shares at the strike. Do that three times as a stock slides, and you own three lots at three prices.

Then you sell a Covered call on 100 of those shares, and they get called away. Now the question is: which 100 left?

One worked example, both ways

A made-up company, Northwind Freight (hypothetical, round numbers). The cost of each lot already includes the put premium you collected, since a put premium lowers the cost of the shares you get assigned.

LotAssignedCost per shareLot cost
ASeptember 2025$50$5,000
BFebruary 2026$45$4,500
CJune 2026$40$4,000

In October 2026 you sell a $48 call for $1.00. The stock rises and 100 shares are called away. In the US, the call premium adds to what you got for the shares: $48 + $1 = $49 a share, or $4,900.

MethodLot soldGain or lossHeldShares you keep
FIFOA ($50)−$100Over a year: long-termB + C, cost $8,500
Specific IDB ($45)+$400Under a year: short-termA + C, cost $9,000
Specific IDC ($40)+$900Under a year: short-termA + B, cost $9,500

Same shares called away, same $4,900. Three different answers for this year, from a $100 loss to a $900 gain.

Notice what FIFO did here. On the wheel, your oldest lot is often your most expensive one, because each assignment happened lower. So FIFO tends to sell the high-cost lot first. That can be what you want. It just isn't something you chose.

Whatever you sell now, the other lots wait. Sell lot C today and lots A and B, with their higher cost, are what's left for next time. The total gain across all three lots doesn't change.

What about Canada?

Canada works differently. For identical shares, the CRA's general rule is that you average them. Your cost per share is the Adjusted cost base: everything you paid, divided by the shares you own.

In the example, that's ($5,000 + $4,500 + $4,000) ÷ 300 = $45 a share. Sell 100 for $4,900 and the gain is $400, whichever shares the broker moved. There is no lot to pick. You also need every figure in Canadian dollars. Check the CRA's guidance on identical properties for your case. Your account type matters too: inside a TFSA or RRSP, these gains aren't taxed when they happen (RRSP withdrawals are taxed later), and covered calls are widely allowed there, while cash-secured puts depend on the broker.

Which one to pick

Your situationLean toward
One lot, or lots bought at nearly the same priceFIFO, it won't matter
You want a loss this year to offset other gainsSpecific ID, sell the high-cost lot
A lot is close to a year oldSpecific ID, wait or pick it on purpose
You won't remember to choose every timeFIFO, or a standing rule at your broker
Canadian taxable accountNeither, cost is averaged

Before your next call can be assigned, open your broker's cost-basis settings and see what the default is. Many brokers let you set a standing rule, like "highest cost first". If you want to track the cost of each lot after assignment, the cost basis after assignment calculator does the arithmetic.

One more trap: selling a lot at a loss while you buy more of the same stock within 30 days can trigger the wash sale rule, which delays the loss. See wash sale examples with options.

For how this fits next to other choices an option seller faces, see the options strategy comparison chart. Rules here are as of October 2026; IRS Publication 550 is where the US version lives.

Questions

Can I switch from FIFO to specific identification after I sell?

No. In the US, you must name the lot at or before the sale, and your broker should confirm it. Changing it at tax time isn't allowed.

Does specific identification lower my taxes?

It moves them. The total gain across all your lots is the same. You can choose which year a gain or loss lands in, and sometimes whether it's short- or long-term.

Which lot does my broker sell if I do nothing?

Often FIFO, but brokers differ. Look in the account's cost-basis or tax-lot settings and change the default if you want.

Does the call premium count when shares are called away?

In the US, yes. It is added to what you received for the shares, so it raises the gain or shrinks the loss on the lot sold.

Do I pick lots in Canada?

Not for identical shares in a taxable account. The general rule is to average your cost across all of them. Check the CRA for your situation.

Follow along

XTradingViewFacebook