Home sale exclusion: the federal rule
The home sale exclusion is federal. If you sell your main home at a gain, you may exclude up to $250,000 of that gain from your income [2]. On a joint return with your spouse, the limit is $500,000 [2]. A capital gain is what you realized from the sale above your adjusted basis, which is generally what the home cost you [3].
For the full exclusion, IRS Publication 523 asks three things [1]:
- Ownership. You owned the home at least 24 months of the 5 years before the closing date [1].
- Residence. You lived in it at least 24 months of those 5 years, in a row or not; 730 days in total is enough [1].
- Look-back. You did not take the exclusion on another home in the 2 years before this sale [1].
On a joint return, either spouse can meet the ownership test, but each spouse must meet the residence test [1].
Illinois income tax: what the state adds
Illinois income tax has no home sale rule of its own. The IL-1040 starts on Line 1 with the adjusted gross income from your federal return [5]. Gain the federal exclusion keeps out of your income [2] never reaches that line, and none of the other additions listed for Line 3 adds it back [5].
Gain above the exclusion is different. Taxable home sale gain is reported on Form 8949 and Schedule D of your federal return [1], so it is part of the federal adjusted gross income the IL-1040 starts with [5]. The Illinois Department of Revenue lists one income tax rate for individuals: 4.95 percent of net income, in effect since July 1, 2017 [4]. Its rate page lists no separate rate for capital gains [4].
Figuring gain: price, expenses and basis
Publication 523 figures your gain in two subtractions [1]:
- Amount realized is the sale price minus your selling expenses [1].
- Gain is the amount realized minus your adjusted basis [1].
Selling expenses are the costs directly tied to selling, such as sales commissions, advertising fees and legal fees [1]. A seller who pays transfer taxes can count them as selling expenses too [1]. Here is how much Illinois real estate transfer tax is when you sell. A mortgage payoff is not on that list [1]; here is how the payoff works when you sell with a mortgage in Illinois.
Basis is the IRS word for your cost in the home, starting with what you paid [1]. Some purchase closing costs add to it, including legal fees, recording fees, survey fees, transfer taxes and owner's title insurance, the policy that protects your ownership against title problems [1]. Loan costs such as points and mortgage insurance do not [1].
Improvements: what adds to basis
Improvements add to your basis, and a higher basis means a smaller gain. Publication 523 describes improvements as work that adds to the home's value, prolongs its life or adapts it to new uses [1]. Repairs that only keep the home in good condition do not count [1].
Counts as an improvement [1] | Does not count [1] |
|---|---|
A new roof, new siding or storm windows | Painting, inside or out |
A furnace, central air or new wiring | Fixing leaks |
Kitchen modernization or new flooring | Filling holes or cracks |
A deck, patio, fence or driveway | Replacing broken hardware |
A water heater or septic system | An improvement no longer there, like carpet you later replaced |
Worked example: one sale, two sellers
Here is an example with round numbers, not a real sale. Two spouses filing a joint return paid $220,000 for their home, and the purchase costs that count added $5,000. A new roof and a kitchen redo later added $40,000, so their adjusted basis is $265,000 [1].
After 6 years living there, the home sells for $480,000 with $30,000 in selling expenses. The amount realized is $450,000 and the gain is $185,000 [1]. The whole $185,000 fits under the $500,000 limit [2], so none of it reaches their federal income or their IL-1040 [5].
Now change one thing. A seller who does not file jointly has the same sale but a basis of $150,000, so the gain is $300,000. The first $250,000 is excluded and $50,000 is taxable [2].
A gain on a home held more than a year is long-term, taxed federally at 0, 15 or 20 percent depending on taxable income [3]. At 15 percent, the federal tax on $50,000 is $7,500 [3]. Illinois adds 4.95 percent of $50,000, or $2,475 [4].
Partial exclusion: selling before 2 years
A partial exclusion is a limit below the full $250,000 or $500,000. Publication 523 allows one when you miss the 24-month tests but sold mainly because of a work move, a health issue or an unforeseeable event [1]. A work move counts when the new job is at least 50 miles farther from the home than the old one [1].
Form 1099-S: reporting the sale
Form 1099-S reports a real estate sale to the IRS, and the person responsible for closing the sale files it [6]. Form 1099-S is not required when each seller signs a written certification under penalties of perjury [6]. The certification says the home was the seller's main home and the full gain is excludable [6]. The price must be $250,000 or less, or $500,000 or less for a married seller [6].
If you get a Form 1099-S, you report the sale on Form 8949 even when none of the gain is taxable [1]. Without one, and with all of your gain excluded, you do not need to report the sale [1].
Before you list: your capital gains file
- Count your months Add up the months you owned and lived in the home in the last 5 years, for each spouse on a joint return [1].
- Check the last 2 years Make sure you took no home sale exclusion in the 2 years before this sale [1].
- Find your purchase papers Pull your purchase closing statement for the price and the closing costs that add to basis [1].
- Gather improvement receipts Collect the invoices for the roof, furnace, kitchen and other improvements [1].
- Ask about Form 1099-S Ask whoever handles your closing whether you can sign the main home certification [6].
- Keep the file Keep the records until 3 years after your return's due date for the year you sell [1].
What it means if you sell in Illinois
In Illinois, the state return follows the federal number [5]. If you meet the tests and your gain fits under the $250,000 or $500,000 limit, neither return taxes it [1][2][5]. Gain above the limit is taxed at the federal capital gains rate and at the Illinois rate of 4.95 percent [3][4].
The work is in the records: your purchase closing statement, your improvement receipts and the closing statement from the sale. A tax professional can run your own numbers. When you are ready to talk about the sale itself, the two steps below are where to begin.
Complimentary Home ValuationSchedule Your Seller Consultation