Tax lots are the separate groups of shares you buy at different times and prices, and each group carries its own cost basis and purchase date.
This guide explains how tax lots are created, how brokers track them, and which selection methods are commonly used. It also walks through a simple worked example so readers can see how the choice of lot changes a result. The information is educational, and readers with specific tax questions should consult a qualified tax professional.
Why Your Shares Are Not All the Same for Taxes
Suppose you buy 10 shares of a company in January at one price and 10 more in June at a higher price.
Even though you hold the same stock, the IRS generally treats those two purchases as separate lots, each with its own cost basis and holding period. Cost basis is the amount you paid for the shares, adjusted for certain items such as commissions and reinvested dividends.
This separation matters the moment you sell only part of your position. When you sell fewer shares than you own, the tax result depends on which lot or lots you designate as sold. Two investors who sell the same number of shares on the same day can report different gains because they selected different lots.
Lots also differ by holding period. Shares held for more than one year before sale are generally eligible for long-term capital gains treatment, while shares held for one year or less are generally short-term.
Because of this, the age of each lot can influence the tax rate that applies. The exact rates and rules are set by federal tax law and may change, so readers should verify current figures with the IRS or a tax professional.
How Brokers Track Tax Lots Over Time
Brokerage firms keep records of each purchase as a separate lot. When you buy shares, the broker records the date, quantity, price, and fees, and when you sell, the broker matches the sale against one or more of those lots.
Since 2011 for stocks and 2014 for mutual funds and other securities, brokers have been required to report cost basis to the IRS on Form 1099-B for covered securities, which makes lot tracking more important than before.
Covered securities are generally those acquired after specific dates set by tax regulation. Shares acquired before those dates, sometimes called noncovered securities, may have cost basis information that is incomplete or reported differently. Investors who transfer accounts between firms, or who hold older shares, should confirm that their lot records are complete and accurate.
Lot records can also be affected by corporate actions such as stock splits, mergers, and spinoffs, which can change the number of shares or their basis. Brokers usually adjust lot records for these events, but investors should review their statements to confirm the figures match their own records.
Common Lot Selection Methods Investors Use
When you sell only part of a position, your broker or your own records determine which lots are sold. Several methods are commonly used, and the default method can differ depending on the account type and the firm. Investors should check which method applies to their account before placing a sale.
- First in, first out (FIFO), which treats the oldest shares as sold first and is often the default method
- Specific identification, which lets you choose exactly which lots to sell, provided you identify them at the time of sale
- Average cost, which calculates a single average basis across lots and is commonly used for certain mutual fund holdings
- Highest cost in, first out, which sells the lots with the highest basis first to potentially reduce the reported gain
- Last in, first out, which sells the most recently purchased shares first and may be used in some situations
The method you use can change your reported gain or loss even when the same shares are sold. Some methods are only available for certain types of accounts or securities, and some require advance election or written instruction. Because rules can differ, readers should confirm which methods their broker supports and how they must be elected before trading.
A Worked Example Showing How Lot Choice Changes the Result
Consider a hypothetical investor who buys 100 shares at $20 per share in one year and another 100 shares at $40 per share a year later.
Assume the stock is now trading at $50, and the investor sells 100 shares. Under a first-in, first-out approach, the sold shares would be the $20 lot, producing a gain of $30 per share, or $3,000 in total before fees.
Now assume the same investor uses specific identification and sells the $40 lot instead. The gain would be $10 per share, or $1,000 in total. The investor sold the same number of shares at the same price, yet the reported gain is $2,000 smaller. This is a simplified illustration that ignores fees and holding periods.
The example shows why the lot decision deserves attention. In a real situation, the taxable amount would also depend on whether the lot was held long term or short term, and on the investor’s overall tax position. Readers should run their own figures or ask a tax professional before acting.
Matching Lots to Your Holding Period and Goals
Lot selection is not only about reducing the current year’s gain. Some investors prefer to sell lots that have been held long enough to qualify for long-term treatment, while others may want to realize losses to offset gains elsewhere.
Each choice reflects a different goal, and the best fit depends on your income, your other investments, and your plans for the money.
Holding period also matters for planning. A lot that is close to the one-year mark may be worth waiting on if the rules would apply a different tax treatment after that date.
Because the timing and the amount can both affect the outcome, it helps to review your lot records before the end of the tax year rather than in the rush of filing season.
Tax lot decisions should be considered alongside your broader plan rather than in isolation. Selling to manage taxes can conflict with diversification or with your investment objectives, so it is worth weighing the tax result against the purpose of the holding.
Practical Ways to Keep Clear Lot Records
Accurate lot records make it easier to report gains and losses correctly and to respond to questions from the IRS. The habits below are simple and can save time when tax season arrives. They also help you notice errors from a broker or a transfer before they become costly.
Keep Your Own Purchase Log
Maintain a simple record of each purchase, including the date, number of shares, price per share, and any commissions or fees paid. Save trade confirmations and monthly statements, since these documents show the details your broker used to set the basis. A personal log gives you a check against the figures reported to you.
Your log should also note reinvested dividends, because each reinvestment usually creates a new lot with its own basis and date. Many investors overlook these lots, which can lead to over- or under-reporting when they sell. Recording them as they occur is much easier than reconstructing them later.
Review Your Statements and Cost Basis Reports
Check your brokerage statements for lot-level detail, and confirm that the cost basis shown matches your own records. Pay attention to whether each lot is marked as covered or noncovered, since this affects how the basis is reported. If something looks wrong, contact the firm promptly to request a correction.
Review year-end tax documents such as Form 1099-B carefully before filing. Compare the reported proceeds and basis with your log, and note any corrections needed. Your tax professional can help reconcile differences.
Set Your Lot Method Before You Sell
Decide in advance which lot selection method you want to use, and confirm how to elect it with your broker. Some firms require you to specify lots at the time of the trade, while others apply a default method unless you instruct them otherwise. Knowing the process avoids surprises when the sale settles.
Consider documenting your choice in writing, especially for specific identification. Brokers may have deadlines or procedures for confirming lot choices, and the rules can change. Check the current requirements with your broker, the IRS guidance on securities, or a qualified tax adviser.
Tax Lots in Different Account Types
Tax lots matter most in taxable brokerage accounts, where sales can trigger capital gains or losses that appear on your tax return.
In tax-advantaged accounts such as traditional and Roth retirement accounts, trades within the account generally do not create a current taxable event, so lot selection usually has no direct effect on the annual tax bill. The rules for distributions from those accounts follow separate tax provisions.
Investors who hold the same security in both a taxable account and a retirement account should understand that lot decisions apply only to the taxable portion. Mixing the two can make it easy to overlook which lots are actually subject to tax. Keeping records separated by account type helps avoid confusion.
Some account types, such as those held by estates or trusts, may follow different basis rules, including adjustments tied to the date of death. Readers in these situations should seek guidance from a qualified professional who can review the specific facts and the current law.
Common Mistakes Investors Make With Lots
One frequent error is assuming the broker’s default method is the one that works best for you. The default may produce a larger gain than necessary, or it may not match the lots you intended to sell. Reviewing the method before every sale is a simple safeguard that many investors skip.
Another mistake is ignoring reinvested dividends and automatic purchases. Each of these creates new lots, and overlooking them can cause incorrect basis figures and mismatched reporting. Investors who use dividend reinvestment or regular contributions should track these lots as carefully as larger purchases.
A third issue is failing to account for wash sale rules when selling at a loss and buying back a substantially identical security within a set window. The rules are complex and can disallow a loss for tax purposes, which affects the lot’s basis. Readers should consult the IRS guidance or a tax professional before relying on a loss.
When to Seek Professional Help With Tax Lots
Lot selection can be straightforward for a small number of trades, but it becomes more complex with many purchases, transfers between accounts, inherited holdings, or corporate actions. Certain situations are worth discussing with a qualified professional before you sell, since a mistake can be expensive to correct.
- You hold shares acquired through inheritance, gifts, or divorce settlements
- You have transferred securities between brokerage firms or account types
- Your holdings include many reinvested dividends or regular purchase plans
- You have received a Form 1099-B with basis figures you cannot reconcile
- You are considering a sale that could trigger a large gain or a wash sale
A qualified tax professional can review your records, explain the rules that apply to your facts, and help you plan the timing of sales. Look for a credentialed adviser who discloses how they are compensated. Good records and early planning make these conversations more productive and can reduce the time and cost involved.
Planning Ahead With Your Tax Lot Records
Going forward, treat your tax lot records as a standing part of your investment routine rather than a task for filing season.
Review them at least once a year, ideally before the tax year closes, so you can see which lots have unrealized gains or losses and which are approaching the holding period threshold. This review supports better decisions about when and what to sell.
Build the habit of checking each trade for the lot method used and the resulting gain or loss before the sale settles. Over time, a consistent process reduces errors, simplifies reporting, and makes it easier to coordinate your investment decisions with your broker. Keep your records accessible in case you need to share them with a tax professional.
Consider how your tax lot decisions fit with your long-term goals, your risk tolerance, and your timeline. The tax result is only one factor, and it should support your plan rather than drive it. Readers who want personalized guidance can speak with a qualified, fiduciary financial professional who can review the full picture.