Personal

Taxes

Does your home loan reduce the gain when you sell?

Paying off the loan from the sale money doesn't lower your gain. Interest you already claimed can't be added to cost, and an early sale can undo old deductions.

Team Quicko

· Updated

Share
Share

TL;DR

No. Your gain is the sale price minus the cost of the house, whatever you owe the bank. Interest you claimed as a deduction can't be added to cost. If you sell within 5 years from the end of the financial year in which you got possession, principal deductions you claimed under the old regime come back as income.

No. Your gain is the sale price minus the cost of the house, whatever you owe the bank. Interest you claimed as a deduction can't be added to cost. If you sell within 5 years from the end of the financial year in which you got possession, principal deductions you claimed under the old regime come back as income.

The outstanding loan doesn't lower your gain

You’re selling a house or flat you bought with a home loan, and part of the sale money goes straight to the bank. It’s easy to assume you’re taxed only on what’s left. You aren’t.

Your capital gain is the sale price minus what the house cost you and your transfer expenses. How you paid for it, with savings or a loan, doesn’t change the cost. Repaying the loan settles a debt. It isn’t an expense of the sale. This article covers sales in Tax Year 2026-27 (1st Apr 2026 to 31st Mar 2027), under the Income-tax Act, 2025.

Example

Kabir sells a flat with a loan still running

  • He bought the flat in Jun 2022 for ₹60,00,000, with a ₹45,00,000 home loan

  • He sells it in Sep 2026 for ₹75,00,000

  • The bank takes the outstanding loan of ₹38,00,000 from the sale money

  • Kabir keeps ₹75,00,000 − ₹38,00,000 = ₹37,00,000

At 12.5% without indexation:

  • Gain: ₹75,00,000 − ₹60,00,000 = ₹15,00,000

  • Tax: ₹1,87,500, plus 4% cess of ₹7,500 = ₹1,95,000

At 20% with indexation:

  • Indexed cost: ₹60,00,000 × 384 ÷ 331 = ₹69,60,725

  • Gain: ₹75,00,000 − ₹69,60,725 = ₹5,39,275

  • Tax: ₹1,07,855, plus 4% cess of ₹4,314 = ₹1,12,169

  • He pays the lower: ₹1,12,169

The ₹38 lakh he repaid plays no part in either gain. He held the flat for more than 24 months, so the gain is long-term. As a resident who bought before 23rd Jul 2024, he can choose 20% with indexation. The CII is 331 for FY 2022-23 and 384 for Tax Year 2026-27.

Can you add home loan interest to the cost?

Over the years you’ve paid lakhs in interest, so it feels like part of what the house cost. The law splits it in two:

  • Interest you claimed as a deduction: you can’t add it to the cost. You’ve already had the tax benefit once.

  • Interest you never claimed: whether it can be added is less settled. Tax tribunals have taken different views.

The rule against counting claimed interest twice has applied since FY 2023-24, under the 1961 Act. It covers interest claimed under the home loan interest deduction (Section 24(b) of the 1961 Act) or under any other deduction for home loan interest.

Example

Kabir's interest, continued

  • Interest paid from Jun 2022 to Sep 2026: ₹14,00,000

  • Claimed as a deduction, ₹2,00,000 a year for 4 years: ₹8,00,000

  • Interest he can't add to cost: ₹8,00,000

The remaining ₹6,00,000 was never claimed. Adding it to the cost is a grey area, so most people leave it out.

Selling within 5 years: deductions come back

Under the old regime, you may have claimed a deduction for home loan principal, stamp duty and registration under Section 123 of the Income-tax Act, 2025 (Section 80C of the 1961 Act). It counts towards the ₹1.5 lakh a year limit.

That deduction comes with a condition. If you sell the house within 5 years from the end of the financial year in which you got possession, the deductions you claimed for it are added back to your income in the year you sell. They’re taxed at your slab rate that year.

You got possession in

The 5 years end on

Sell before this date and

FY 2021-22

31st Mar 2027

Principal deductions are added back

FY 2022-23

31st Mar 2028

Principal deductions are added back

FY 2023-24

31st Mar 2029

Principal deductions are added back

You also can’t claim this deduction for the house in the year you sell it.

Example

Kabir sells before the 5 years end

  • Possession: Jun 2022, in FY 2022-23

  • The 5 years end on 31st Mar 2028; he sells in Sep 2026

  • Principal, stamp duty and registration claimed for the flat, FY 2022-23 to FY 2025-26: ₹4,50,000

  • Added to his income for Tax Year 2026-27: ₹4,50,000

This is on top of his capital gain. It's taxed at his slab rate, not at the capital gains rate.

If you were in the new regime in all those years, you didn’t claim this deduction, so nothing comes back.

Interest deductions stay

The 5-year rule covers only the principal, stamp duty and registration deduction. The home loan interest you claimed isn’t added back, even if you sell early. That interest still can’t be added to your cost.

What you claimed

If you sell within 5 years of possession

Can you add it to cost?

Principal repaid (old regime)

Added back to your income

No, it’s repayment of the loan

Home loan interest

Not added back

No

Interest you never claimed

Not relevant

Unsettled

What to check before you sell

  1. Find the date you got possession. Use the possession letter, not the loan date.

  2. Add 5 years to the end of that financial year.

  3. If you plan to sell before that date, total the principal, stamp duty and registration you claimed.

  4. Ask your bank for a statement of interest paid, year by year.

  5. Check your past returns. Mark the interest you claimed.

If you sell within the 5 years, report the deductions you claimed as income in that year's return. If you leave them out, you may get a notice and pay interest. Total them from your past returns before you file.

Watch out

Key takeaways

The outstanding loan changes how much cash you keep, not how much gain you're taxed on.

Home loan interest you already claimed as a deduction can't be counted again as cost.

Interest deductions you claimed aren't reversed when you sell early. Principal deductions are.

Was this article helpful?

General information, not tax advice. Rules change, so check with a CA before you act.