Direct Answer

Tax lot optimization chooses which specific shares to sell when part of a position is sold, selecting lots by their cost basis and holding period to minimize the tax on the sale, typically selling lots with losses first, then the highest-cost long-term lots, and avoiding short-term gains. It tends to work for any taxable investor who sells part of a position with lots at different prices, which includes anyone who has been adding to a holding over years. Recordkeeping errors and broker defaults; the saving depends on choosing lots before the trade, not after.

By Swoopr Editorial Team AI-assisted research, human-verified

Tax-Lot Optimization

How Does Tax-Lot Optimization Work?

Tax lot optimization chooses which specific shares to sell when part of a position is sold, selecting lots by their cost basis and holding period to minimize the tax on the sale, typically selling lots with losses first, then the highest-cost long-term lots, and avoiding short-term gains.

The rules:

  1. Set the brokerage account's default cost-basis method to specific identification, not first-in first-out or average cost
  2. When selling, pick lots in this order: losses, then highest-cost long-term gains, then highest-cost short-term, and never a short-term gain when a long-term lot is available
  3. Track lots across reinvested dividends, which create many small lots with different dates
  4. Confirm the broker reports the chosen lots to the IRS; a sale defaulted to FIFO cannot be changed after settlement

Worked example. Selling 100 shares at 80.00 from a lot bought at 70.00 instead of the oldest lot bought at 30.00 realizes 4,000 less gain and saves about 800 in tax at a 20 percent rate, with the low-basis lot left to be sold later, given away or inherited. The inputs are illustrative numbers, not market data.

When it tends to work. It tends to work for any taxable investor who sells part of a position with lots at different prices, which includes anyone who has been adding to a holding over years.

When it fails. It fails to help if the account is set to average cost or FIFO and the sale has already settled, and it only defers tax rather than removing it unless the low-basis lots are donated or inherited.

Main risk. Recordkeeping errors and broker defaults; the saving depends on choosing lots before the trade, not after.

What is the Tax-Lot Optimization strategy?

Tax lot optimization chooses which specific shares to sell when part of a position is sold, selecting lots by their cost basis and holding period to minimize the tax on the sale, typically selling lots with losses first, then the highest-cost long-term lots, and avoiding short-term gains.

Strategy snapshot

AttributeValue
FamilyTax-Aware Investing
SubcategoryTax Management
Investor levelAdvanced
Primary objectiveTax Efficiency
Typical time horizonMonths to Years
Active or passiveActive / Discretionary or Rules-Based
Complexity (1-5)4
Risk levelModerate to High
Capital requirementLow to Moderate
LeverageNone / Optional
Derivatives requiredNo
Income-focusedNo
Hedging-focusedNo

How Tax-Lot Optimization works

Set the brokerage account's default cost-basis method to specific identification, not first-in first-out or average cost. When selling, pick lots in this order: losses, then highest-cost long-term gains, then highest-cost short-term, and never a short-term gain when a long-term lot is available. Track lots across reinvested dividends, which create many small lots with different dates. Confirm the broker reports the chosen lots to the IRS; a sale defaulted to FIFO cannot be changed after settlement.

Who uses Tax-Lot Optimization?

This strategy is typically used by advanced investors with a months to years time horizon who are targeting tax efficiency. Suitability depends on individual risk tolerance, capital availability, knowledge, and existing portfolio composition. This page is educational only and does not constitute personalized investment advice.

Strengths

Weaknesses and limitations

Risk considerations

The risk level for Tax-Lot Optimization is broadly Moderate to High. Investors should understand the source of returns, the leverage employed (None / Optional), and how the strategy behaves in bear markets, high-volatility regimes, and liquidity events before deploying capital.

Related concepts: tax-lot optimization strategy, how tax-lot optimization works, tax-lot optimization risks, tax-lot optimization example.

Editorial note

Strategy descriptions here reflect general educational characterizations, not trading recommendations or guarantees of performance. Verify current details, costs, and applicable regulations before implementing any investment strategy.

Frequently Asked Questions

What is the Tax-Lot Optimization strategy?

Tax lot optimization chooses which specific shares to sell when part of a position is sold, selecting lots by their cost basis and holding period to minimize the tax on the sale, typically selling lots with losses first, then the highest-cost long-term lots, and avoiding short-term gains. It tends to work for any taxable investor who sells part of a position with lots at different prices, which includes anyone who has been adding to a holding over years. Recordkeeping errors and broker defaults; the saving depends on choosing lots before the trade, not after.

What is the risk level of Tax-Lot Optimization?

Recordkeeping errors and broker defaults; the saving depends on choosing lots before the trade, not after. It fails to help if the account is set to average cost or FIFO and the sale has already settled, and it only defers tax rather than removing it unless the low-basis lots are donated or inherited.

What type of investor uses Tax-Lot Optimization?

Suitability depends on individual objectives, risk tolerance, capital, and knowledge level. Tax-Lot Optimization may suit investors who have evaluated it against their specific goals and constraints. This page is educational only and does not constitute personalized investment advice.

How complex is Tax-Lot Optimization?

Complexity for Tax-Lot Optimization is 4/5. More complex strategies require deeper understanding of underlying instruments, risk factors, and execution mechanics. Complexity increases implementation risk for less experienced investors.

Can Tax-Lot Optimization be backtested?

Any systematic strategy can be backtested, but results are subject to overfitting, survivorship bias, look-ahead bias, and unrealistic execution assumptions. Historical performance does not guarantee future results. Robust backtesting requires out-of-sample validation and regime analysis.

Swoopr Editorial Team

The Swoopr Editorial Team produces independent investment education, research, and tools for understanding markets, evaluating opportunities, and managing risk. All content is educational only and does not constitute personalized investment advice.

See our editorial policy and corrections policy.