The Secret of Selling Shares: Why LIFO Beats FIFO for Most Investors

The word tax being cut by scissors, symbolizing money saved with a LIFO vs. FIFO strategy.
Many investors overlook a simple choice that can have a big impact when selling stocks. Learn why choosing the right method, FIFO or LIFO, can shape your tax bill and long-term investing success.

The Choice Few Investors Think About

Every investor knows that buying the right stock matters, but few realize that how you sell matters just as much. When you sell shares of an individual stock, your brokerage will ask how to determine which shares you’re selling. The options usually include FIFO vs LIFO, and sometimes Highest In or Average Cost.

Most people ignore the question and just accept the default. But this quiet setting can make a noticeable difference in your taxes and your long-term gains. Understanding it can be one of the simplest ways to improve your after-tax returns.

How Capital Gains Work

When you sell an investment for more than you paid, that profit is called a capital gain. If you’ve held the investment for less than one year, you’ll owe short-term capital gains taxes, which are taxed at your ordinary income rate.

If you’ve held it for more than one year, you qualify for long-term capital gains taxes, which are much lower for most investors. This one-year mark is one of the most valuable incentives in the tax code — and the method you choose when selling shares affects how often you actually reach it.

FIFO vs. LIFO: A Simple Example

FIFO stands for First In, First Out, meaning the first shares you bought are the first ones sold.
LIFO stands for Last In, First Out, meaning the most recently purchased shares are sold first.

Suppose you bought shares of a company several times over the past two years:

Purchase DateShares BoughtPrice per Share
January 202310$100
July 202310$120
January 202410$150

Now, in November 2024, you sell 10 shares at $180 each.

If you use FIFO, the 10 shares from January 2023 are sold first. Your profit is $80 per share ($180 – $100), and because you held them for more than a year, they qualify for long-term capital gains taxes.

If you use LIFO, the 10 shares from January 2024 are sold first. Your profit is $30 per share ($180 – $150). However, since those shares were held for less than a year, you’ll pay short-term capital gains taxes at a higher rate.

At first glance, FIFO seems like the obvious winner — you’re getting the better tax rate. But that’s only part of the story.

Comparison Chart: Selling Share Methods

MethodDescriptionTypical Use CaseTax Impact
FIFOOldest shares sold firstCommon default methodMore likely to trigger long-term gains sooner
LIFONewest shares sold firstUsed for active traders or tax strategyCan defer long-term gains; keeps older shares “aging”
Highest InSells highest-cost shares firstAlternative to LIFO; limits taxable gainMinimizes realized gains immediately
Average CostCalculates blended cost basis across all sharesOften used in mutual fundsSimplifies records but removes control over tax timing

Why the One-Year Rule Changes Everything

The key isn’t just about when you pay capital gains taxes, it’s about how many shares eventually qualify for the long-term rate. Every time you sell shares using FIFO, you’re pulling from your oldest purchases. That means those shares no longer have time to grow and keep accumulating long-term eligibility.

When you choose LIFO (or the “Highest In” method), you’re selling your most recent shares first. The older shares you’ve held longer remain untouched, which means their holding period keeps increasing. Each month and year that passes, a larger portion of your portfolio becomes eligible for the lower long-term capital gains rate.

Over time, this subtle shift adds up. By continually selling your newest shares, you’re deferring more gains into the long-term bracket and compounding the tax advantage. It’s not just about saving money this year, it’s about setting up your portfolio to pay less tax every time you sell in the future.

Why FIFO Can Work Against You

Many investors, even some professionals, see FIFO as the “safe” or “default” method. But that simplicity can come at a cost. Selling your oldest shares first means you may reset your long-term holding clock more often, leaving you with newer shares that don’t qualify for the lower rate.

Even worse, if you sell during a market correction or after a dip, those older shares may have larger unrealized gains. By triggering those gains early, you lose the ability to control your tax timing and miss out on additional years of compounding within the account.

When FIFO Makes Sense

There are a few exceptions. If all your shares in a stock have already been held for more than a year, then FIFO can be a clean and simple choice, especially if you want to sell your lower-cost shares and lock in gains at today’s rates. But this scenario is rare for active investors who regularly add to positions over time.

The Real Trick Most People Miss

Here’s the part that even experienced investors overlook: choosing LIFO or “Highest In” doesn’t just delay taxes, it strengthens your entire tax position by letting more of your portfolio age into long-term eligibility.

Think of it like pruning a tree. By trimming off the newest growth, you give the older branches more time to mature. When you eventually sell those older shares, they qualify for lower taxes, and you’ve preserved your compounding power along the way.

If you already know which shares qualify for long-term capital gains, FIFO is often the easy choice. This strategy becomes most valuable when there’s uncertainty, giving older shares more time to reach the one-year holding period before they’re sold.

For many long-term investors though, LIFO or Highest In isn’t just a good idea; it’s the most tax-efficient strategy available.

Build Your Tax-Efficient Strategy

Tax strategy should never be an afterthought. The way you sell shares can determine how much of your return you actually keep.

At Michael Leslie Investments, we help clients use proven strategies like LIFO-based selling, diversified account types, and long-term planning to maximize their after-tax growth. Contact us today to learn how we can structure your investments for both performance and efficiency.

Unlock the Strategy Behind LIFO’s Long-Term Tax Edge

The explanation above helps you understand how FIFO and LIFO differ, but the real advantage of using LIFO comes from a lesser-known tax timing opportunity. Continue reading to learn why LIFO can quietly outperform FIFO over time and how to use it effectively.

Share the Post:

Related Articles

Weekly Stock Tips Newsletter

Get exclusive weekly stock tips from the analysts at Michael Leslie Investments delivered to your inbox for just $7.99/month!

Market Tips & Trends

Subscribe to our weekly newsletter to receive insightful articles, tips, and tricks of the trade delivered straight to your inbox.