LIFO (Last In, First Out)
A cost basis method that assumes your most recently purchased shares are sold first—handy for reducing gains when you bought recently at higher prices.
LIFO—Last In, First Out—flips the default on its head. Instead of selling your oldest shares first (like FIFO), LIFO assumes you're selling the ones you bought most recently. In certain situations, this can meaningfully lower your tax bill.
Picture this: you've been buying a stock over several years, and the price has climbed steadily. Your newest shares cost the most. If you sell using LIFO, those higher-cost shares go first, which means a smaller gap between what you paid and what you sold for—and less tax. The trade-off is that these recent purchases are more likely to be short-term, so any gains get taxed at your ordinary income rate instead of the lower long-term rate.
Most brokerages default to FIFO, so switching to LIFO requires you to explicitly tell them. For crypto, LIFO is an option, but you'll need to keep careful records since exchanges don't typically track lots this way.
LIFO works best when your recent purchase prices are close to (or above) the current sale price, generating small gains or even losses regardless of the holding period. The short-term tax rate matters less when the gain itself is tiny.
In a falling market, LIFO really shines for tax-loss harvesting. Your most recent purchases—made at higher prices—generate the biggest losses when sold at today's lower prices, maximizing your tax deduction.
Frequently Asked Questions
▸Can I switch between FIFO and LIFO?
For securities, you can choose your method on a per-sale basis if you use specific identification. For crypto, the IRS expects consistency—switching methods mid-year could raise flags. Best to pick one approach and stick with it for each asset type.
▸Is LIFO allowed for crypto in the US?
Yes, LIFO is accepted for crypto in the US. Just make sure you keep detailed records showing which lots were sold and that you're applying the method consistently.
Clarity tracks this automatically across your connected accounts. Start Free Trial · Demo