TaxSavvy Think Tank· PRP

Prepaying the home loan from share sale gains

Question: Shares bechkar ₹20 lakh gain hua, home loan chuka doon to capital gains tax bachega?

Short answer

Not by repaying a loan on its own.

How we worked it out

  1. Checked what Sec 86 says
    Long-term gain on an asset other than a house is exempt if the net sale price is invested in one residential house within the time limits, subject to conditions on other houses owned.
  2. Checked what Capital Gains Accounts Scheme 1988 says
    Gain not invested in a new house before the return due date must be deposited in a capital gains account to keep the exemption.
  3. Checked what Sec 22(1)(b) says
    Interest on money borrowed to buy, build, repair or renovate a house is deductible; for a self-occupied house the cap is ₹2,00,000 (₹30,000 in some cases), and interest before completion is allowed in five equal parts.
    ₹2,00,000₹30,000
  4. Checked the deadline
    House bought one year before or two years after, or built within three years
  5. Checked which form applies
    Share sale statements, House purchase deed and loan records

What this means for you

  • The exemption under Sec 86 (old Sec 54F) needs the net sale proceeds to be invested in buying or building a residential house within the time limits.
  • Some courts allowed it where the house was bought within one year before the sale and the money repaid that purchase loan, but this is fact-specific.
  • If your house was bought two years ago, repaying its loan with share gains does not fit the time window.
  • If you bought it within one year before the sale, there is an argument, but expect questions.
  • A new house purchase within the limits is the safer route.
  • Otherwise, pay the tax and then prepay.

Assuming any loan repayment counts as investment in a house is a common error.

What you need

  • Current loan statement and outstanding
  • Sanction letter and loan agreement
  • New lender offer and KFS
  • Interest and principal certificates
  • Top-up purpose and bills
  • Property papers list with lender
  • Income proof and credit report
Next step
Home loan balance transfer, top-up and prepayment
₹2,499 before GST

A Savvy does this for you, start to finish.

See the service
Prefer to do it yourself? The steps
  1. Check the date your house was bought.
  2. See if it falls in the window before the share sale.
  3. Take advice before claiming the exemption.
  4. Otherwise pay tax on the gain and then prepay.

Sources

  1. Income Tax Department: tutorial on exemptions from capital gains
  2. Income Tax Department: Capital Gains Accounts Scheme 1988
  3. Income Tax Department: Sec 22, Income-tax Act 2025
Last checked 25 Nov 2026Medium confidence

General guidance from TaxSavvy’s Think Tank. Laws change; your Savvy confirms the answer on your exact case before anything is filed.

Connect now

A Savvy replies in minutes.

Fixed price before you pay. Your Savvy is paid only after you accept the work.