What Is FIFO in Share Capital Gains?
FIFO means the shares bought first are deemed sold first.
Quick Answer
For shares held in demat form, the Income-tax rules treat the earliest purchased shares as the first sold (FIFO). This decides cost and holding period for each sale.
FIFO matches a sale with the earliest available purchase lot of the same security. It becomes important when the same shares are bought and sold multiple times.
Rule
First in, first out.
Applies
Demat securities in the same ISIN.
Effect
Cost and holding period.
FIFO in practice
You hold 300 shares of a company in your demat account, bought as 100 in 2022, 100 in 2024 and 100 in 2025. Selling 150 shares in 2026 uses the 2022 lot first, then 50 shares of the 2024 lot. The cost and date of each lot decide whether the gain is long or short. The broker’s tax P&L applies FIFO automatically; check that it does.
Mutual funds
AMCs also apply FIFO to units. Bonus shares and split shares carry the original dates and a split-adjusted cost.
Selling 250 shares
| Lot | Shares | Cost | Sale ₹300 | Gain | Type |
|---|---|---|---|---|---|
| Lot 1: 2022 | 100 | ₹100 | ₹30,000 | ₹20,000 | Long-term |
| Lot 2: 2024 | 100 | ₹150 | ₹30,000 | ₹15,000 | Long-term |
| Lot 3: Dec 2025 | 50 | ₹200 | ₹15,000 | ₹5,000 | Short-term |
LTCG ₹35,000 is within the ₹1.25 lakh exemption. STCG ₹5,000 at 20% = ₹1,040. The depository applies FIFO automatically; you cannot choose to sell lot 3 first.
Records
The broker’s tax P&L lists lots, but check the dates against your own statements.
Practical Checklist
- List purchases by date.
- Apply FIFO.
- Compute gains.
- Classify.
- Report.
Frequently Asked Questions
Do brokers use FIFO?
Yes in tax reports.
Is average cost allowed?
For mutual funds in some cases per rules; FIFO is the norm.
Related EZTax Resources
- What Is AIS (Annual Information Statement) in Income Tax?
- AIS vs Form 26AS: What Is the Difference?
- Does AIS Show Capital Gains?
- AIS Reconciliation and AI-Powered Income Tax Filing with EZTax
- Capital Gains Income Tax Guide


