Skip links

Selling Mutual Funds to Buy a House: The Tax Math Most People Get Wrong

Table of Contents

You want to buy a house. You have ₹40 lakh in equity mutual funds. You’d need to sell some of them for the down payment. The capital gains tax on that sale could be a serious chunk.

Most people don’t know that Section 54F can completely exempt those gains. Worth lakhs in tax savings, and almost nobody talks about it.

Here’s how it works.

The Section 54F exemption explained

If you sell long-term capital assets like equity mutual funds and use the proceeds to buy a residential house, you can claim a full or partial exemption on the capital gains under Section 54F.

Conditions that matter.

The asset sold must be a long-term capital asset. For equity mutual funds, that means held for at least 12 months.

You should not own more than one house at the time of the sale, other than the new one you’re buying.

You must invest the entire net consideration, not just the gain, in the new house to claim full exemption. If you invest only part of it, you get a proportional exemption.

The new house must be purchased within 2 years of the sale, or constructed within 3 years. If you’ve already bought it 1 year before the sale, that also qualifies.

The 1-year, 2-year, 3-year timelines.

Sold mutual funds today and the house purchase will happen within 2 years? You qualify.

Bought a house 1 year ago and now selling mutual funds to fund the loan or remaining payment? Also qualifies, the 1-year before window is allowed.

Plan to construct? You have 3 years from the sale date.

The trap of staggered redemption.

Some people sell mutual funds in pieces over months because they’re worried about market timing. If you split the sale across financial years, the calculation gets messy. The cleaner approach is to do the sale in one financial year and ensure the house purchase or construction starts within the rules.

If you can’t deploy the full amount immediately, the unused portion can be deposited in a Capital Gains Account Scheme account, which preserves the exemption while you finalize the property.

A worked example.

You sell ₹40 lakh of long-term equity mutual funds. Cost basis was ₹25 lakh. Capital gain is ₹15 lakh.

Without 54F. LTCG above ₹1 lakh is taxed at 12.5%. Tax on ₹14 lakh of taxable gain is ₹1.75 lakh.

With 54F, full investment in a new house. The entire ₹15 lakh gain is exempt. Tax saved: ₹1.75 lakh.

For larger transactions, the savings scale. ₹1 crore sold with ₹40 lakh gain saves around ₹4.9 lakh in tax. That money can go into the down payment instead of into government coffers.

What qualifies and what doesn’t

The 1-year, 2-year, 3-year timelines

The exemption is for residential property only. Commercial property doesn’t qualify. Plot purchase qualifies only if you actually construct within 3 years.

The exemption is reversed if you sell the new house within 3 years of buying it. So you can’t use this to optimize tax and then flip the property.

A few practical rules.

Talk to a CA before selling. The order of operations matters, and the documentation needs to be right.

If you’re partially funding the house with a loan, the math gets more complex. Plan the sale and loan timing together.

The trap of staggered redemption

Don’t trigger the redemption in March if your purchase paperwork isn’t ready. Better to wait into April than to risk the timeline.

A worked example with real numbers

Section 54F is one of the most powerful tools for HENRYs buying their first or second home. It’s worth understanding before you start the transaction, not after.

Leave a comment