Loading...
Loading...
Found something confusing or wrong on this page?
LIFO Accounting: LIFO (last-in, first-out) is a tax-lot method that treats the most recently acquired shares as the ones sold when you close part of a position.
Educational content. Not financial, investment, tax, or legal advice. Options involve risk and are not suitable for all investors. How we write & review this glossary.
LIFO (last-in, first-out) is a tax-lot method that treats the most recently acquired shares as the ones sold when you close part of a position. In a position that has risen in value it usually realizes a smaller gain now than FIFO, because the newest lots tend to have the highest cost basis, but those lots are also more likely to be short-term.
LIFO is not the IRS default. If you cannot adequately identify the shares you sold, the first shares acquired are treated as sold first (FIFO), so LIFO requires adequately identifying the lots sold, for example through a standing instruction with your broker, no later than the trade's settlement date.

LIFO reverses the default FIFO order and sells your newest lots first, which matters most when you scaled into a winning position. Consider a trader who accumulated 300 shares of an ETF at $400, $450 and $520, then sells 100 at $530. LIFO realizes a $10-per-share gain on the $520 lot, a total of $1,000. FIFO would have realized $130 per share on the $400 lot, a total of $13,000. The $12,000 difference is deferred, not eliminated: it stays embedded in the remaining low-basis shares and is realized when they are sold.
At sale time the broker assigns the most recent purchase lot to the transaction, and the holding period is measured from that lot's purchase date. LIFO vs FIFO is the key distinction: LIFO tends to defer gains and to realize losses on recent purchases, while FIFO tends to realize older, often long-term lots first. Because the newest lots are often short-term, LIFO can move gains from long-term to short-term treatment. It is also used to realize losses on recent buys: if you bought 100 shares at $520 and the price drops to $490, LIFO sells that lot for a ($520 - $490) x 100 = $3,000 short-term loss without touching older profitable lots. The identification must be made no later than the settlement date; a standing instruction with the broker satisfies this. The wash sale rule still applies: buying substantially identical shares within 30 days before or after a loss sale disallows the loss, or the part of it on the shares matched with the replacement shares.
Hypothetical example; not tax advice. A trader holds 1,000 shares in three lots: 400 shares bought at $90 and 300 at $140, both held more than one year, and 300 at $175 held less than one year. They sell 500 shares at $180. Under FIFO: 400 x ($180 - $90) = $36,000 long-term plus 100 x ($180 - $140) = $4,000 long-term, total $40,000. Under LIFO: 300 x ($180 - $175) = $1,500 short-term plus 200 x ($180 - $140) = $8,000 long-term, total $9,500. LIFO realizes $30,500 less gain now, but $1,500 of it is short-term and the low-basis $90 shares remain for a later sale.
LIFO, last-in first-out, assigns the cost basis of a sale to the most recently acquired lots first. In a position that has gone up, recent purchases usually have a higher cost basis, so LIFO tends to realize smaller gains now than FIFO; the trade-off is that recent lots are more often short-term. Under IRS rules, if you cannot adequately identify the shares you sold, the shares acquired first are treated as sold, which is FIFO. This is general information, not tax advice.
FIFO closes the oldest lots first, which in a rising position usually realizes the largest gains because old lots tend to have the lowest cost basis. LIFO closes the newest lots first, often producing smaller realized gains, or losses when recent purchases are above the current price. The choice changes when gains are realized and whether they are short-term or long-term, not the total economic gain over the life of the position.
Because the newest lots are the ones most likely to have been held one year or less, LIFO can turn a sale into a short-term gain, taxed at ordinary income rates, where FIFO would have produced a long-term gain eligible for the lower capital gain rates. Mapping the lots before a partial sale shows which lots, holding periods and gains a method will produce.
Specific identification lets you name the exact lot sold on each trade: you tell your broker which shares to sell at the time of the sale and receive a written confirmation within a reasonable time. A LIFO setting applies the same ordering rule to each sale it covers, rather than a lot chosen trade by trade. Under the Treasury regulations, a standing order or instruction for specific identification counts as an adequate identification made at the time of sale, which is how a broker-level LIFO setting works.
Lot methods matter when you hold several lots of the same security bought at different times and prices. How a broker applies its lot method to options can differ, so check the broker's cost-basis settings.
General references for this topic area, not citations for the specific figures above. VolRadar is not affiliated with these organizations.
Understand options faster.
One term, one worked example, one real ticker. Every Sunday. No jargon.
One email per week, no drip campaigns · Unsubscribe anytime