Capital Gains Tax Basics

Capital Gains Set-Off Rules in India: Complete Guide with Examples

11 min read read · Updated 22 February 2026

Understanding Capital Gains Set-Off in India

The Indian Income Tax Act allows you to offset capital losses against capital gains, reducing your overall tax liability. However, the set-off rules are not symmetrical — different types of losses have different offsetting capabilities. Understanding these rules is fundamental to effective tax planning.

Set-off refers to adjusting losses against gains within the same financial year. There are two levels of set-off relevant to capital gains: intra-head set-off (within the head of Capital Gains) and inter-head set-off (across different heads of income like Salary, Business, and Capital Gains).

Capital losses can only be set off against capital gains. They cannot be set off against salary income, business income, rental income, or any other head of income. This is a crucial limitation. If you have Rs 5 lakh in capital losses and Rs 10 lakh in salary income but zero capital gains, you cannot use those capital losses to reduce your salary tax. The losses must be carried forward.

Within the capital gains head, the set-off follows a specific priority order based on whether the loss and gain are short-term or long-term. This priority system creates opportunities for tax optimization that savvy investors can exploit.

The Four Key Set-Off Rules

There are four fundamental rules that govern capital gains set-off in India. Master these four rules and you understand the entire framework.

Rule 1: Short-Term Capital Loss (STCL) can be set off against both STCG and LTCG. This makes STCL the most flexible type of capital loss. If you have STCL, you first set it off against STCG. If STCL remains after exhausting all STCG, the remaining STCL can be set off against LTCG.

Rule 2: Long-Term Capital Loss (LTCL) can be set off only against LTCG. This is the critical asymmetry. LTCL cannot offset STCG under any circumstances. If you have LTCL but no LTCG in a year, the LTCL is entirely wasted for that year (though it can be carried forward).

Rule 3: Capital losses (both STCL and LTCL) cannot be set off against income from any other head. You cannot use stock market losses to reduce tax on salary, business income, house property income, or other sources.

Rule 4: Within the same type, losses are set off before exemptions are applied. If you have Rs 2 lakh LTCG and Rs 50,000 LTCL, the LTCL is first set off against LTCG, bringing net LTCG to Rs 1,50,000. Then the Rs 1.25 lakh exemption applies, making taxable LTCG just Rs 25,000.

Priority Order for Set-Off

When you have multiple types of losses and gains in the same year, the set-off follows a specific priority. Here is the step-by-step process:

Step 1: Set off STCL against STCG first. This is intra-category set-off within the short-term category.

Step 2: If STCL still remains after Step 1, set off the remaining STCL against LTCG. This is inter-category set-off.

Step 3: Set off LTCL against LTCG. If STCL has already reduced LTCG in Step 2, LTCL can only offset the remaining LTCG.

Step 4: If any losses remain after all possible set-offs, carry them forward to subsequent years.

This priority order has important tax implications. Since STCG is taxed at 20% and LTCG at 12.5%, it is more tax-efficient to use STCL to offset STCG (saving 20% per rupee) rather than LTCG (saving only 12.5% per rupee). The law mandates that STCL offsets STCG first, which happens to be the most tax-efficient order.

However, this also means you cannot choose to selectively apply STCL only against LTCG to carry forward the STCL for future use against higher STCG. The set-off is mandatory in the prescribed order — you cannot elect to skip setting off in the current year to preserve losses for future years.

Worked Example 1: Basic Set-Off

Let us walk through a straightforward scenario with one type of loss.

Ravi's capital gains and losses in FY 2025-26: - STCG from selling Infosys: Rs 80,000 - STCG from selling TCS: Rs 40,000 - STCL from selling Yes Bank: Rs 60,000 - LTCG from selling HDFC Bank: Rs 2,00,000

Step 1: Total STCG = Rs 80,000 + Rs 40,000 = Rs 1,20,000 Set off STCL of Rs 60,000 against STCG: Rs 1,20,000 - Rs 60,000 = Rs 60,000 net STCG

Step 2: No remaining STCL, so nothing to set off against LTCG.

Step 3: No LTCL in this case.

Final position: - Net taxable STCG: Rs 60,000 (taxed at 20%) = Rs 12,000 - LTCG after Rs 1.25L exemption: Rs 2,00,000 - Rs 1,25,000 = Rs 75,000 (taxed at 12.5%) = Rs 9,375 - Total tax (before cess): Rs 21,375 - With 4% cess: Rs 22,230

Without the STCL set-off, Ravi's STCG tax would have been Rs 24,000 (20% of Rs 1,20,000). The STCL saved him Rs 12,000 in STCG tax plus cess. This is the basic power of loss harvesting — every rupee of short-term loss saves 20.8 paise in tax when offset against STCG.

Worked Example 2: Mixed Losses and the LTCL Restriction

Now let us examine a more complex scenario that demonstrates the asymmetry between STCL and LTCL.

Sunita's capital gains and losses in FY 2025-26: - STCG: Rs 3,00,000 - LTCG: Rs 2,00,000 - STCL: Rs 1,50,000 - LTCL: Rs 1,00,000

Step 1: Set off STCL against STCG. STCG after set-off: Rs 3,00,000 - Rs 1,50,000 = Rs 1,50,000

Step 2: No remaining STCL (fully exhausted in Step 1). Nothing to set off against LTCG from STCL.

Step 3: Set off LTCL against LTCG. LTCG after set-off: Rs 2,00,000 - Rs 1,00,000 = Rs 1,00,000

Final position: - Net STCG: Rs 1,50,000 (taxed at 20%) = Rs 30,000 - Net LTCG: Rs 1,00,000 (within Rs 1.25L exemption) = Rs 0 - Total tax (before cess): Rs 30,000 - With 4% cess: Rs 31,200

Now consider what would happen if Sunita's losses were reversed — Rs 1,50,000 LTCL and Rs 1,00,000 STCL:

Step 1: Set off STCL Rs 1,00,000 against STCG Rs 3,00,000. Net STCG = Rs 2,00,000. Step 2: No remaining STCL. Step 3: Set off LTCL Rs 1,50,000 against LTCG Rs 2,00,000. Net LTCG = Rs 50,000 (within Rs 1.25L exemption) = Rs 0.

Total tax: Rs 2,00,000 x 20% = Rs 40,000 + cess = Rs 41,600.

With more LTCL and less STCL, Sunita pays Rs 10,400 more in tax even though the total loss amount is the same. This demonstrates why STCL is more valuable than LTCL for tax planning purposes.

Worked Example 3: LTCL with No LTCG to Offset

This scenario illustrates the worst case for LTCL holders.

Vikram's capital gains and losses in FY 2025-26: - STCG: Rs 5,00,000 - LTCG: Rs 0 (no long-term sales this year) - STCL: Rs 0 - LTCL: Rs 3,00,000 (sold a stock held for 2 years at a significant loss)

Step 1: No STCL to set off. Step 2: No STCL to carry to LTCG. Step 3: LTCL of Rs 3,00,000 can only offset LTCG. Since LTCG is Rs 0, no set-off is possible.

Final position: - Net STCG: Rs 5,00,000 (taxed at 20%) = Rs 1,00,000 - LTCL of Rs 3,00,000 cannot be used at all this year - LTCL of Rs 3,00,000 is carried forward to next year (can be used against LTCG for up to 8 years) - Total tax: Rs 1,00,000 + 4% cess = Rs 1,04,000

Vikram pays Rs 1,04,000 in tax despite having Rs 3 lakh in losses. Had that Rs 3 lakh loss been short-term instead of long-term, he could have offset it against the Rs 5 lakh STCG, saving Rs 62,400 in tax.

This scenario highlights a key tax-planning insight: If you hold a loss-making stock that is approaching the 12-month mark and you have significant STCG, consider selling before the stock becomes long-term. A short-term loss gives you more offset flexibility than a long-term loss.

Set-Off Rules: Summary Table

Loss TypeCan Offset STCG?Can Offset LTCG?Can Offset Other Income?Carry Forward?
Current Year STCLYes (first priority)Yes (after STCG exhausted)NoYes, 8 years
Current Year LTCLNoYesNoYes, 8 years
Carried Forward STCLYesYesNoRemaining balance, up to 8 years
Carried Forward LTCLNoYesNoRemaining balance, up to 8 years

Strategic Implications of Set-Off Rules

Understanding set-off rules opens up several tax planning strategies.

Prefer booking short-term losses over long-term losses. Since STCL offsets both STCG (20%) and LTCG (12.5%), while LTCL offsets only LTCG, STCL is inherently more valuable. If a stock is in loss and approaching 12 months, consider selling before it crosses the threshold, especially if you have STCG to offset.

Do not let losses go to waste. If you are nearing the end of a financial year and have unrealized losses in your portfolio, consider selling them to realize the loss. Unrealized losses provide zero tax benefit. Realized losses can offset current year gains or be carried forward for up to 8 years.

Plan your set-off sequence. Since the set-off order is mandatory (STCL offsets STCG first), you cannot cherry-pick which gains to offset. However, you can control which losses to realize. If you have both short-term and long-term loss positions, analyze your gain profile to determine which loss realization provides the greatest tax savings.

Remember the Rs 1.25 lakh LTCG exemption interaction. If your LTCG after loss set-off is below Rs 1.25 lakh, the LTCL offset is effectively wasted since the gain was exempt anyway. In such cases, it may be better not to offset the LTCL against LTCG and instead carry it forward for a year when LTCG exceeds the exemption. However, the current law mandates set-off in the current year when possible — you cannot voluntarily skip set-off.

Time your loss harvesting with your gain realization to maximize the tax benefit within each financial year.

See how this applies to your portfolio

Upload your Zerodha or Groww reports and get personalized recommendations in under 2 minutes.

Analyze My Portfolio Free

Frequently Asked Questions

Can I use stock market losses to reduce tax on my salary income?

No. Capital losses (both short-term and long-term) can only be set off against capital gains. They cannot be set off against salary, business income, rental income, or any other head of income. This is a fundamental rule under the Indian Income Tax Act. If you have capital losses but no capital gains, the losses must be carried forward.

Is the set-off of losses mandatory or can I choose to carry forward instead?

Set-off is mandatory if you have eligible gains in the current year. You cannot voluntarily skip the set-off to preserve losses for future years. The law requires that current year losses be set off against current year gains in the prescribed priority order. Only the remaining unabsorbed losses can be carried forward.

What happens if I have both STCL and LTCL along with both STCG and LTCG?

The set-off follows a strict priority: First, STCL is set off against STCG. If STCL remains, it offsets LTCG. Then, LTCL is set off against the remaining LTCG (LTCL cannot touch STCG). Any losses that remain after all possible set-offs are carried forward for up to 8 years.

If my LTCG is below Rs 1.25 lakh, does setting off LTCL still help?

In practical terms, no. If your LTCG is already below the Rs 1.25 lakh exemption, it is tax-free anyway. Setting off LTCL against it would waste the loss since the gain was not taxable. Unfortunately, the law requires mandatory set-off in the current year. This is why planning your loss and gain realization timing is important.

🤝

Support Our Mission

TaxHarvestLab is free and always will be. Help us keep it that way for 10,000+ Indian investors.

10K+
Active Users
₹0
Ads • Ever
Contribute Now

One-time or monthly, your choice

Ready to optimize your capital gains tax?

TaxHarvestLab analyzes your actual broker data and shows you exactly what to sell — and what to hold — before March 31.

Analyze My Portfolio Free

Free forever. Works with Zerodha and Groww. Takes under 2 minutes.