How Gain on a Home Sale Is Figured
Your gain is your amount realized minus your adjusted basis, according to IRS Publication 523. Amount realized is your selling price minus selling expenses. Adjusted basis starts with what you paid for the home, including your down payment and any mortgage debt. Certain closing costs also count.
To use the main-home gain exclusion under IRS Topic 701, you must have owned the home and used it as your residence for 24 months of the last 5 years. You generally can’t use the exclusion if you excluded gain on another home sale in the prior 2 years.
The portion of the gain you can’t exclude is a capital gain. Under capital gains rules, a home held more than one year produces a long-term gain, which may get a lower rate than ordinary income like wages. A loss on your home isn’t deductible.
How Your Shared-Equity Contract Changes the Tax Picture
Publication 523 doesn’t specifically address shared-equity or shared-appreciation agreements. So the tax result depends on what your contract gives the program. Here’s how common structures compare.
| Contract structure | What the program has | How it may affect your taxes |
|---|---|---|
| Co-owner on title | A share of ownership | You generally figure gain only on your share |
| Loan with a shared-appreciation payment | A loan repaid from sale proceeds | Treatment of the extra payment is unclear |
| Option or home equity investment | A right to buy part of the home’s value | General IRS option rules may apply |
| Government down payment assistance | Sometimes a federally subsidized mortgage | You may owe recapture tax |
If the Program Is a Co-Owner
If the investor is on your title, you generally own only part of the home. You then generally figure gain only on your share, using the same formula.
If the Program Made You a Loan
The payoff, including the shared-appreciation payment, comes out of your sale proceeds. Publication 523 doesn’t say how that extra payment is classified, for example as interest or a selling cost. Ask a tax professional how to report it.
If the Program Holds an Option
Some home equity investment contracts work like an option to buy into your home. Under general option income rules, money you got for granting an option is part of the sale price if the option was exercised. If it expired in the year of sale, you report it as ordinary income on Schedule 1 (Form 1040), line 8z.
If You Used Government Down Payment Assistance
Some state first-time buyer programs come with federal mortgage subsidies. If you got a federally subsidized mortgage in the 9 years before selling, you may owe recapture tax, which the home sale exclusion doesn’t reduce. File Form 8828 whether you sold at a gain or loss, though you repay nothing after a loss.
How to Report the Sale When You E-File
You must report the sale if you receive Form 1099-S, even if all your gain is excludable. You also report it if you can’t exclude all your gain. Under home sale reporting rules, you use Schedule D (Form 1040), Capital Gains and Losses, and Form 8949, Sales and Other Dispositions of Capital Assets.
Before you start your return, gather these documents:
- Your closing statement showing the selling price and selling costs
- Form 1099-S, if you received one
- Your original purchase records, including closing costs
- Your shared-equity contract and the program’s payoff statement
If your contract is unclear about ownership or the payout, a tax professional can review it before you file.