LIFO (Last In, First Out)
Key Takeaways
- LIFO assumes the most recently purchased shares or inventory items are sold first
- In a rising market, LIFO results in lower taxable gains than FIFO
- LIFO is not the default IRS method and requires specific identification of shares
- LIFO is prohibited under international accounting standards (IFRS)
Definition
LIFO, which stands for Last In, First Out, is an accounting and cost basis method that assumes the most recently purchased items — whether inventory or investment shares — are sold or used first. In investing, LIFO effectively means selling your newest, typically highest-cost shares before older, lower-cost shares.
LIFO is the opposite of FIFO (First In, First Out). While FIFO sells the oldest shares first, LIFO sells the newest shares first. In a generally rising market, LIFO results in smaller taxable gains because the recently purchased shares (at higher prices) have a smaller difference between their cost basis and the current selling price.
For business inventory accounting, LIFO is permitted under U.S. GAAP but prohibited under International Financial Reporting Standards (IFRS). Companies using LIFO in inflationary environments report lower profits and pay less in taxes because the cost of goods sold reflects the most recent (higher) purchase prices.
How It Works
In investment contexts, LIFO is implemented through the specific identification method. When selling shares, an investor instructs their broker to sell the most recently purchased lots first. This must be done before or at the time of the sale — you cannot retroactively choose LIFO after executing a trade.
LIFO is most beneficial in rising markets because selling the newest, highest-cost shares minimizes the taxable gain. However, it also means the shares sold are more likely to have been held for less than one year, potentially subjecting gains to higher short-term capital gains tax rates rather than the preferential long-term capital gains rate.
For companies using LIFO inventory accounting, the method creates a "LIFO reserve" — the difference between inventory valued at LIFO and what it would be valued at under FIFO. Analysts often adjust for this reserve when comparing companies using different inventory methods.
Example
You purchased shares of Microsoft (MSFT) in three lots: 30 shares at $250 in 2022, 30 shares at $300 in 2023, and 30 shares at $380 in 2024. You want to sell 30 shares when the price is $400. Under LIFO, you sell the 2024 shares first, realizing a gain of $20 per share ($400 - $380), or $600 total. Under FIFO, you sell the 2022 shares, realizing a gain of $150 per share ($400 - $250), or $4,500 total. LIFO saves you tax on $3,900 of additional gains in this transaction, though those deferred gains remain in your older shares.
Why It Matters
LIFO is an important concept for tax-conscious investors because it can significantly reduce current-year tax liability by minimizing realized gains. By selling the highest-cost shares first, investors defer taxes on their older, lower-cost shares, allowing that capital to continue compounding.
However, investors must weigh the tax benefit of lower per-share gains against the potential cost of short-term capital gains rates on recently purchased shares. A thoughtful approach considers both the cost basis and the holding period of each share lot when deciding which shares to sell.
Advantages
- Minimizes taxable gains in rising markets by selling highest-cost shares first
- Defers tax liability, allowing more capital to remain invested and compound
- For businesses, reduces tax payments during inflationary periods
- Provides flexibility when used with specific identification
Limitations
- Recently purchased shares may trigger short-term capital gains tax rates
- Not the default IRS method — requires explicit identification at time of sale
- Prohibited under international accounting standards (IFRS)
- Creates growing deferred tax liability on older, lower-cost shares
Frequently Asked Questions
Related Terms
Browse more definitions in the financial terms glossary.