2026 state guide
How Illinois taxes capital gains
Both short-term and long-term gains are taxed at Illinois’s flat 4.95% rate.
This calculator applies the same brackets to every filing status. Illinois taxes dividends as ordinary income at a flat 4.95%.
Official source: Illinois state tax agency. Federal rates come from IRS Rev. Proc. 2025-32 and IRC §1411.
Illinois capital gains tax: worked examples
Each example below is calculated with the same 2026 engine as the calculator, using federal long-term rates, the 3.8% NIIT and Illinois’s rules. Example 1 matches the calculator's starting inputs; Examples 2 and 3 show larger, long-term sales.
Example 1: $50,000 stock gain, long-term vs. short-term
A single filer earning $100,000 of taxable income sells shares for a $50,000 gain ($50,000 cost basis, $100,000 sale price). What they pay in Illinois if they held the shares more than a year versus one year or less:
| Line item | Long-termheld > 1 yr | Short-termheld ≤ 1 yr |
|---|---|---|
| Federal tax | $7,500 | $11,886 |
| Net Investment Income Tax (3.8%) | $0 | $0 |
| Illinois tax | $2,475 | $2,475 |
| Total tax | $9,975 | $14,361 |
| Net take-home profit | $40,025 | $35,639 |
- Long-term: the $50,000 gain is stacked on $100,000 of taxable income and taxed at federal long-term rates (15% on $50,000).
- Short-term: the same gain is taxed like wages at federal ordinary rates (22% on $5,700 and 24% on $44,300).
- No NIIT: income plus gain ($150,000) is below the $200,000 single-filer threshold.
- Effective state rate on the gain: 4.95% long-term vs. 4.95% short-term.
- Holding past one year saves $4,386 in total tax.
Example 2: $250,000 long-term gain, married filing jointly
A married couple filing jointly with $150,000 of other taxable income sells long-held shares for a $250,000 profit ($100,000 cost basis, $350,000 sale price).
| Federal capital gains tax | $37,500 |
|---|---|
| Net Investment Income Tax (3.8%) | $5,700 |
| Illinois tax | $12,375 |
| Total tax | $55,575 |
| Effective total rate | 22.23% |
| Effective state rate on the gain | 4.95% |
| After-tax profit | $194,425 |
- Federal: the $250,000 gain is stacked on $150,000 of taxable income and taxed at long-term rates (15% on $250,000), for $37,500.
- NIIT: income plus gain is $400,000, above the $250,000 married filing jointly threshold, so 3.8% applies to $150,000: $5,700.
- Illinois: taxed 4.95% on $250,000, for $12,375.
- Sold short-term instead, the same gain would cost $76,847 in total tax ($12,375 of it state tax), so holding past one year saves $21,272.
Example 3: $1.5 million long-term gain, married filing jointly
A married couple filing jointly with $200,000 of other taxable income sells a concentrated, long-held stock position for a $1,500,000 profit ($500,000 cost basis, $2,000,000 sale price).
| Federal capital gains tax | $279,315 |
|---|---|
| Net Investment Income Tax (3.8%) | $55,100 |
| Illinois tax | $74,250 |
| Total tax | $408,665 |
| Effective total rate | 27.24% |
| Effective state rate on the gain | 4.95% |
| After-tax profit | $1,091,335 |
- Federal: the $1,500,000 gain is stacked on $200,000 of taxable income and taxed at long-term rates (15% on $413,700 and 20% on $1,086,300), for $279,315.
- NIIT: income plus gain is $1,700,000, above the $250,000 married filing jointly threshold, so 3.8% applies to $1,450,000: $55,100.
- Illinois: taxed 4.95% on $1,500,000, for $74,250.
- Sold short-term instead, the same gain would cost $647,091 in total tax ($74,250 of it state tax), so holding past one year saves $238,426.
Illinois vs. neighboring states
How Illinois compares with the states it borders, using the same worked examples.
| State | Treatment | Top long-term rate | State tax: $50K gain, single | State tax: $1.5M gain, joint |
|---|---|---|---|---|
| Illinois (this page) | Flat Income Tax | 4.95% | $2,475 | $74,250 |
| Indiana | Flat Income Tax | 2.95% | $1,475 | $44,250 |
| Iowa | Flat Income Tax | 3.8% | $1,900 | $57,000 |
| Kentucky | Flat Income Tax | 3.5% | $1,750 | $52,500 |
| Missouri | No Capital Gains Tax | 0% | $0 | $0 |
| Wisconsin | Ordinary Income with Long-Term Exclusion | 5.355% | $1,855 | $74,600 |
On a $50,000 long-term gain for a single filer with $100,000 of other taxable income (Example 1), Indiana, Iowa, Kentucky, Missouri, and Wisconsin would take less in state tax than Illinois. State tax is owed to the state where you live when you sell, so the comparison matters only if you are actually changing residency. See capital gains tax rates for all 50 states + DC.
Illinois capital gains tax FAQ
Does Illinois tax long-term stock capital gains in 2026 and 2027?
Yes. Illinois taxes capital gains as ordinary income at a flat 4.95%. Long-term and short-term gains are taxed alike, with a top rate of 4.95%. In 2026, a $50,000 long-term gain for a single filer with $100,000 of other taxable income owes $2,475 in Illinois tax. Illinois's rules are unchanged for 2027 under current law.
What is the combined federal and Illinois capital gains tax rate?
Adding the top marginal rates, long-term gains face up to 28.75% (20% federal + 3.8% NIIT + 4.95% Illinois) and short-term gains up to 45.75% (37% + 3.8% + 4.95%). Most investors pay far less than the top rates: on a $50,000 long-term gain for a single filer with $100,000 of other taxable income, the combined effective rate is 19.95% ($7,500 federal, $0 NIIT and $2,475 Illinois tax).
Are short-term and long-term gains taxed differently in Illinois?
No. Illinois taxes short-term and long-term gains at the same rates. Holding more than a year still lowers your federal tax.
How much Illinois tax would I owe on a $50,000 stock gain?
For a single filer with $100,000 of other taxable income and a $50,000 long-term gain, Illinois tax is $2,475 (4.95% of the gain). Adding $7,500 federal tax and $0 NIIT brings the total to $9,975, leaving $40,025 after tax.
How can Illinois investors legally reduce taxes on stock sales?
Hold shares for more than a year: long-term gains get federal rates of 0%, 15% or 20% instead of up to 37%. Harvest losses: realized losses offset gains dollar for dollar, and up to $3,000 of excess loss a year reduces other income on your federal return (see our tax-loss harvesting simulator). Trade inside tax-advantaged accounts such as a 401(k), traditional IRA or Roth IRA, where sales are not taxed when they happen. Donate appreciated long-term shares to charity instead of cash to avoid capital gains tax on the appreciation.
Does Illinois tax dividends?
Illinois taxes dividends as ordinary income at a flat 4.95%.
For the full federal picture (bracket stacking, the NIIT and ways to reduce the tax), read the 2026 stock capital gains tax guide.