Quick answer: For tax year 2027, long-term capital gains and qualified dividends are taxed at 0% while total taxable income is at or below $51,050 for single filers, $102,100 for married couples filing jointly and $68,350 for heads of household. The 15% rate applies above those amounts up to $563,200, $633,600 and $598,400, and 20% applies beyond. Gains are counted on top of ordinary income, so the 0% band is whatever room your wages leave.
Data as of November 16, 2026, from Revenue Procedure 2026-35 (section 3.03) and IRS News Release IR-2026-133 (November 5, 2026). These figures apply to sales and dividends in 2027.
2027 long-term capital gains thresholds
The thresholds are taxable income, after the standard or itemized deduction, including the gains themselves. The Rev. Proc. calls the 0% ceiling the “maximum zero rate amount.”
| Filing status | 0% up to, 2026 | 0% up to, 2027 | 15% up to, 2026 | 15% up to, 2027 |
|---|---|---|---|---|
| Single | $49,450 | $51,050 | $545,500 | $563,200 |
| Married filing jointly, surviving spouse | $98,900 | $102,100 | $613,700 | $633,600 |
| Head of household | $66,200 | $68,350 | $579,600 | $598,400 |
| Married filing separately | $49,450 | $51,050 | $306,850 | $316,800 |
Above the 15% ceiling the rate is 20%. A long-term gain comes from an asset held more than one year. Two categories have different maximum rates under IRS Topic 409: collectibles such as coins and art (28%) and unrecaptured section 1250 gain on real property (25%). This article covers ordinary stock and fund gains.
How gains stack on top of ordinary income
The IRS worksheet fills taxable income in a fixed order: ordinary income first (wages, interest, short-term gains), then long-term gains and qualified dividends. The ordinary portion is taxed under the regular brackets in our 2027 tax brackets explainer. The gain portion is taxed at 0% for whatever part sits below the zero-rate ceiling, then 15%.
Worked example: part at 0%, part at 15%
MGI calculation. Single filer, $50,000 of wages, $30,000 long-term gain from selling index fund shares held three years, standard deduction of $16,600.
- Total taxable income: $50,000 + $30,000 − $16,600 = $63,400.
- Ordinary taxable income: $63,400 − $30,000 = $33,400.
- Room left in the 0% band: $51,050 − $33,400 = $17,650. That much of the gain is taxed at 0%.
- Rest of the gain: $30,000 − $17,650 = $12,350, taxed at 15% = $1,852.50.
- Tax on the ordinary $33,400: $1,280 (10% of $12,800) + 12% × $20,600 = $1,280 + $2,472 = $3,752.
- Total tax: $3,752 + $1,852.50 = $5,604.50.
The tax on the $30,000 gain is $1,852.50, an average of 6.18% on the gain even though the top rate applied to it is 15%.
Same gain, held one year or less
Net short-term gains are taxed as ordinary income at the graduated rates. If the $30,000 were short-term, all $63,400 would be ordinary: $5,987 + 22% × ($63,400 − $52,025) = $5,987 + $2,502.50 = $8,489.50. Holding past one year would save $8,489.50 − $5,604.50 = $2,885 in this case.
| Item | Long-term gain | Short-term gain |
|---|---|---|
| Gain taxed at 0% | $17,650 | $0 |
| Gain taxed at 15% | $12,350 | $0 |
| Gain taxed at ordinary rates | $0 | $30,000 |
| Total federal income tax | $5,604.50 | $8,489.50 |
Harvesting gains in the 0% band (hypothetical)
A hypothetical married couple, both under 65, has $80,000 of pension and interest income in 2027 and a taxable brokerage account with large unrealized gains. MGI calculation:
- Ordinary taxable income: $80,000 − $33,200 = $46,800.
- Room in the 0% band: $102,100 − $46,800 = $55,300.
- Selling shares with $55,300 of long-term gain brings taxable income to exactly $102,100. Federal income tax on the gain: $0.
- Realizing $65,300 instead would push $10,000 into the 15% rate, or $1,500 of tax.
Shares bought back afterward start with a higher cost basis, which can reduce gains on a later sale. The trade-offs: the gain still raises adjusted gross income, which can make more Social Security benefits taxable (see our combined-income guide), reduce income-based credits and the senior deduction, and add state tax. Fund switches raise the same question; our QQQ versus QQQM comparison works through the cost of selling to switch.
The 3.8% net investment income tax
Higher earners may owe an additional 3.8% net investment income tax on gains, dividends, interest and similar income. It applies to the lesser of net investment income or the amount by which modified adjusted gross income exceeds the threshold.
| Filing status | Threshold |
|---|---|
| Married filing jointly, qualifying surviving spouse | $250,000 |
| Single, head of household | $200,000 |
| Married filing separately | $125,000 |
The IRS states that these thresholds are not indexed for inflation, so the same dollar amounts apply in 2027. Example (MGI calculation): a single filer with $230,000 of MAGI, including $40,000 of investment income, has $230,000 − $200,000 = $30,000 over the threshold. The lesser of $30,000 and $40,000 is $30,000, and $30,000 × 3.8% = $1,140. Because the thresholds are fixed, the same real income crosses them more easily each year; see our nominal versus real guide.
State taxes
State income tax is separate. Many states tax capital gains as ordinary income with no 0% band, a few have no income tax, and some have their own exclusions; a gain taxed at 0% federally can still be taxable at the state level. We have not verified state rules for 2027; check your state revenue department.
Common mistakes
- Testing only the gain against the threshold. The 0% ceiling applies to total taxable income. Our single filer’s $30,000 gain is under $51,050, but only $17,650 of it gets 0%.
- Forgetting the standard deduction. The thresholds are taxable income; $51,050 of taxable income corresponds to $67,650 of gross income for a single filer with no other deductions.
- Assuming a gain pushes wages into a higher bracket. Long-term gains sit on top; they do not change the rate on ordinary income. They can still affect income-based items such as the NIIT.
- Selling at 12 months exactly. Long-term requires more than one year.
Frequently asked questions
What are the 2027 capital gains brackets?
0% up to $51,050 of taxable income (single), $102,100 (joint), $68,350 (head of household) or $51,050 (separate); 15% up to $563,200, $633,600, $598,400 or $316,800; 20% above.
Are qualified dividends taxed the same way?
Yes. The IRS describes qualified dividends as dividends that qualify for the lower capital gain rates, and they stack in the same layer as long-term gains. Nonqualified dividends are ordinary income.
Does the 0% rate mean I do not report the gain?
No. The sale is still reported; the tax on the qualifying part is zero.
Is the NIIT threshold higher in 2027?
No. It is $200,000 single and $250,000 joint, unchanged and not indexed.
Sources
- IRS, Revenue Procedure 2026-35, sections 3.01 (tax rate tables), 3.03 (maximum capital gains rate) and 3.15 (standard deduction): https://www.irs.gov/pub/irs-drop/rp-26-35.pdf
- IRS, IR-2026-133, tax inflation adjustments for tax year 2027 (November 5, 2026): https://www.irs.gov/newsroom/irs-releases-tax-inflation-adjustments-for-tax-year-2027-taxpayers-continue-to-benefit-from-the-working-families-tax-cuts
- IRS, Revenue Procedure 2025-32, section 3.03 (2026 thresholds): https://www.irs.gov/pub/irs-drop/rp-25-32.pdf
- IRS, Topic no. 409, Capital gains and losses: https://www.irs.gov/taxtopics/tc409
- IRS, Topic no. 404, Dividends: https://www.irs.gov/taxtopics/tc404
- IRS, Topic no. 559, Net investment income tax: https://www.irs.gov/taxtopics/tc559
- IRS, Questions and answers on the net investment income tax: https://www.irs.gov/newsroom/questions-and-answers-on-the-net-investment-income-tax
General educational information, not individual tax or investment advice. The examples omit credits, other deductions and state taxes.