Capital Gains Tax on a Home Sale in Illinois: When You Owe It

Capital Gains Tax on a Home Sale in Illinois: When You Owe It

Selling a Home in Illinois  | 

By REALTOR®Real People Realty in Mokena, Illinois. Last updated November 18, 2026.

The question

What is capital gains tax on a home sale in Illinois?

The short answer

Capital gains tax on a home sale in Illinois starts with the federal rule. If you owned and lived in your main home 2 of the 5 years before selling, you can exclude up to $250,000 of gain, or $500,000 jointly. The exclusion can be used once every 2 years. Illinois taxes gain above it at 4.95 percent.

Selling a home you bought years ago can raise a worry before you even list: how much of the profit goes to taxes?

The goal is to know, before the sign goes up, whether your gain fits under the exclusion, with the papers that prove it in one folder. Here is how the federal rule and the Illinois return fit together.

Key facts

Most gain excluded

$250,000, or $500,000 on a joint return [2]

Owned and lived in the home

24 months of the 5 years before the sale [1]

How often

Once in any 2-year period [1]

Illinois income tax rate

4.95 percent of net income [4]

Illinois return starts with

Federal adjusted gross income, IL-1040 Line 1 [5]

Keep basis records

Until 3 years after the return's due date for the year of sale [1]

This question sits inside step 12, Closing Table, of Chris's Seller's Guide.

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]:

  1. Amount realized is the sale price minus your selling expenses [1].
  2. 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

  1. 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].
  2. Check the last 2 years Make sure you took no home sale exclusion in the 2 years before this sale [1].
  3. Find your purchase papers Pull your purchase closing statement for the price and the closing costs that add to basis [1].
  4. Gather improvement receipts Collect the invoices for the roof, furnace, kitchen and other improvements [1].
  5. Ask about Form 1099-S Ask whoever handles your closing whether you can sign the main home certification [6].
  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

Next question

How much is real estate transfer tax in Illinois?

Questions people ask

Do I pay capital gains tax if I sell my house at a loss?

A loss on the sale of your main home cannot be deducted, and you do not owe tax on the money you received from the sale [1]. The IRS says losses from selling personal-use property, such as your home or car, are not tax deductible [3].

When is capital gains tax on a home sale paid?

Taxable gain goes on your return for the year you sell [1]. Publication 523 says you may have to increase your withholding or make estimated tax payments [1]. The Illinois instructions say you may need estimated payments on Form IL-1040-ES if you expect more than $1,000 of Illinois tax after withholding and credits [5].

Sources

  1. Publication 523 (2025), Selling Your Home, Internal Revenue Service. Read November 17, 2026.
  2. Topic no. 701, Sale of your home, Internal Revenue Service. Read November 17, 2026.
  3. Topic no. 409, Capital gains and losses, Internal Revenue Service. Read November 17, 2026.
  4. Income Tax Rates, Illinois Department of Revenue. Read November 17, 2026.
  5. 2025 Form IL-1040 Instructions, Illinois Department of Revenue. Read November 17, 2026.
  6. Instructions for Form 1099-S, Internal Revenue Service. Read November 17, 2026.

Related reading

About the author

Chris Piercy is a REALTOR® with Real People Realty and leads the Piercy Sells Group, based in Will & Grundy County, Illinois. He helps people buy and sell homes in Wilmington, Braidwood, Coal City, Diamond, Morris, Manhattan, New Lenox, Mokena, Channahon and Shorewood, and across Will and Grundy counties. Chris is a Top 1% Realtor in Illinois with 70+ five-star reviews.

Office: 9981 W 190th St, Unit H, Mokena, IL 60448. Call or text (815) 205-0395. Website: .

Reviews and profiles: Zillow, Realtor.com, Facebook, Instagram, LinkedIn, YouTube, TikTok, X.

Talk to Chris

Have a question about buying, selling or your own home in Will or Grundy County? Call or text Chris. Who YOU use Matters!

Call or text (815) 205-0395

Real People Realty, Illinois  |  Equal Housing Opportunity

Work With Chris

Get assistance in determining current property value, crafting a competitive offer, writing and negotiating a contract, and much more. Contact me today.