2026 state guide
How the District of Columbia taxes capital gains
Both short-term and long-term gains are taxed at the District of Columbia’s ordinary income tax rates. The gain is stacked on top of your other taxable income, so each slice of it is taxed at the rate of the bracket it lands in.
| Rate | Taxable income |
|---|---|
| 4% | Up to $10,000 |
| 6% | $10,000 – $40,000 |
| 6.5% | $40,000 – $60,000 |
| 8.5% | $60,000 – $250,000 |
| 9.25% | $250,000 – $500,000 |
| 9.75% | $500,000 – $1,000,000 |
| 10.75% | Over $1,000,000 |
This calculator applies the same brackets to every filing status. District of Columbia taxes dividends as ordinary income at up to 10.75%.
Official source: District of Columbia tax agency. Federal rates come from IRS Rev. Proc. 2025-32 and IRC §1411.
District of Columbia 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 the District of Columbia’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 the District of Columbia 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 |
| District of Columbia tax | $4,250 | $4,250 |
| Total tax | $11,750 | $16,136 |
| Net take-home profit | $38,250 | $33,864 |
- 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 DC rate on the gain: 8.50% long-term vs. 8.50% 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 |
| District of Columbia tax | $22,375 |
| Total tax | $65,575 |
| Effective total rate | 26.23% |
| Effective DC rate on the gain | 8.95% |
| After-tax profit | $184,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.
- District of Columbia: taxed 8.5% on $100,000 and 9.25% on $150,000, for $22,375.
- Sold short-term instead, the same gain would cost $86,847 in total tax ($22,375 of it District 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 |
| District of Columbia tax | $151,375 |
| Total tax | $485,790 |
| Effective total rate | 32.39% |
| Effective DC rate on the gain | 10.09% |
| After-tax profit | $1,014,210 |
- 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.
- District of Columbia: taxed 8.5% on $50,000, 9.25% on $250,000, 9.75% on $500,000, and 10.75% on $700,000, for $151,375.
- Sold short-term instead, the same gain would cost $724,216 in total tax ($151,375 of it District tax), so holding past one year saves $238,426.
District of Columbia vs. neighboring states
How the District of Columbia 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 |
|---|---|---|---|---|
| District of Columbia (this page) | Ordinary Income | 10.75% | $4,250 | $151,375 |
| Maryland | Ordinary Income + Capital Gains Surtax | 8.5% | $2,563 | $122,688 |
| Virginia | Ordinary Income | 5.75% | $2,875 | $86,250 |
On a $50,000 long-term gain for a single filer with $100,000 of other taxable income (Example 1), Maryland and Virginia would take less in state tax than the District of Columbia. 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.
District of Columbia capital gains tax FAQ
Does the District of Columbia tax long-term stock capital gains in 2026 and 2027?
Yes. The District of Columbia taxes capital gains as ordinary income at up to 10.75%, with the same brackets for every filing status. Long-term and short-term gains are taxed alike, with a top rate of 10.75%. In 2026, a $50,000 long-term gain for a single filer with $100,000 of other taxable income owes $4,250 in the District of Columbia tax. The District of Columbia's rules are unchanged for 2027 under current law.
What is the combined federal and the District of Columbia capital gains tax rate?
Adding the top marginal rates, long-term gains face up to 34.55% (20% federal + 3.8% NIIT + 10.75% District of Columbia) and short-term gains up to 51.55% (37% + 3.8% + 10.75%). 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 23.50% ($7,500 federal, $0 NIIT and $4,250 the District of Columbia tax).
Are short-term and long-term gains taxed differently in the District of Columbia?
No. The District of Columbia taxes short-term and long-term gains at the same rates. Holding more than a year still lowers your federal tax.
How much DC 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, the District of Columbia tax is $4,250 (8.50% of the gain). Adding $7,500 federal tax and $0 NIIT brings the total to $11,750, leaving $38,250 after tax.
How can the District of Columbia 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 the District of Columbia tax dividends?
District of Columbia taxes dividends as ordinary income at up to 10.75%.
For the full federal picture (bracket stacking, the NIIT and ways to reduce the tax), read the 2026 stock capital gains tax guide.