What You Can Earn in 2027 and Still Owe $0 in Capital Gains Tax

$0 Capital Gains Tax in 2027

Credit: Shutterstock

The IRS is now offering investors a legal way to sell appreciated stocks, funds, and other assets and pay no federal tax on the profits.

Every fall, the IRS adjusts dozens of tax provisions for inflation. Most people notice the changes related to income tax. Far fewer pay attention to the capital gains brackets, and that is a costly oversight.

For 2027, the IRS has raised the income limit for the 0% long-term capital gains rate. This means more investors can sell profitable assets and owe absolutely nothing in federal capital gains tax. For married couples filing jointly, the limit now exceeds six figures.

So if you hold appreciated investments in a taxable brokerage account, understanding this amendment could change how you plan your finances this year.

What Are Long-Term Capital Gains?

A capital gain is the profit you make when you sell an asset for more than you paid for it. Stocks, mutual funds, exchange-traded funds (ETFs), bonds, and real estate can all generate capital gains when sold.

The IRS sorts these gains into two categories based on how long you held the asset before selling:

  1. Short-term capital gains: They apply when you sell an asset within one year of buying. The IRS taxes these at the same rates as ordinary income, meaning they are treated just like wages or salary.
  2. Long-term capital gains: They apply when you hold an asset for more than one year before selling. These gains receive lower, preferential tax rates: 0%, 15%, or 20%. That 0% rate can be an opportunity for you.

The 2027 Thresholds

On November 5, 2026, the IRS released Revenue Procedure 2026-35, its annual inflation adjustment publication. Among the dozens of updated figures were the official long-term capital gains brackets for 2027.

For 2027, the 0% long-term capital gains rate applies to taxable income up to:

  • $51,050 for single filers
  • $102,100 for married couples filing jointly
  • $68,350 for heads of household

These are higher than the 2026 limits, which stood at $49,450 for single filers and $98,900 for joint filers.

Here is how all three rates break down for each filing status in 2027:

Rate Single Married Filing Jointly Head of Household
0% Up to $51,050 Up to $102,100 Up to $68,350
15% $51,051 to $563,200 $102,101 to $633,600 $68,351 to $598,400
20% Above $563,200 Above $633,600 Above $598,400

Source: IRS Rev. Proc. 2026-35, released November 5, 2026

These brackets apply to income earned and appreciated gains during the 2027 calendar year. You will report them on the tax return you file in early 2028.

Gross Income vs. Taxable Income

The 0% threshold applies to taxable income, not gross income.

Taxable income is what remains after you subtract deductions from your adjusted gross income (AGI). For most Americans, the key deduction is the standard deduction, which the IRS also adjusts for inflation each year.

The 2027 standard deductions, per Rev. Proc. 2026-35, are:

  • $16,600 for single filers
  • $33,200 for married couples filing jointly
  • $24,925 for heads of household

You can earn more in total gross income than the 0% threshold suggests and still qualify, as long as your deductions bring your taxable income below the limit.

For people who take the standard deduction, the effective gross income maximums for the 0% rate in 2027 are:

Filing Status Taxable Income Limit Standard Deduction Gross Income Ceiling
Single $51,050 $16,600 $67,650
Married Filing Jointly $102,100 $33,200 $135,300
Head of Household $68,350 $24,925 $93,275

A married couple earning $130,000 in total income, for example, could potentially pay zero federal capital gains tax on long-term profits as long as their taxable income is at or below $102,100.

How the 0% Bracket Works in Practice

Your ordinary income, such as wages, salary, Social Security, and retirement distributions, fills the lower part of your taxable income first. Long-term capital gains and qualified dividends sit on top of that. The 0% rate then applies to the portion of those gains that fits within the 0% limit.

Here is a simple example. Say you are single with $38,000 in taxable income from wages. The 0% long-term capital gains tax for single filers in 2027 is $51,050. That leaves $13,050 of room. If you sell appreciated stock and earn a $10,000 long-term gain, the entire gain falls within the 0% bracket, and you owe nothing in federal capital gains tax on it.

If your gain were $20,000 instead, the first $13,050 would be taxed at 0%, and the remaining $6,950 would be taxed at 15%.

Qualified dividends follow the same rate schedule as long-term capital gains. They also count against your 0% bracket room, so factor them in when calculating how much space you have.

Tax-Gain Harvesting

Knowing about the 0% bracket is one thing. Actively using it is another.

The strategy is called Tax-Gain Harvesting. When your taxable income is low enough to leave room in the 0% long-term capital gains tax bracket, you deliberately sell appreciated investments to get gains at a 0% federal rate. You then immediately buy those assets back if you want to keep holding them. This resets your cost basis to the new, higher price, reducing the size of any taxable gain if you sell again in the future.

This is different from Tax-Loss Harvesting, where the Wash-Sale Rule prevents you from buying back a substantially identical investment within 30 days. With tax-gain harvesting, there is no such restriction.

To estimate how much room you have, use this simple formula:

Available 0% space = your 0% threshold (by filing status) subtracted from your projected taxable income

If that number is positive, that is roughly the amount of long-term gains you can realize at 0% federal tax in 2027.

One Important Condition: This strategy only works in taxable brokerage accounts. Traditional IRAs, Roth IRAs, and 401(k) plans don’t generate taxable gains when you sell within them, so the 0% bracket strategy doesn’t apply inside those accounts.

Important Caveats

The 0% long-term capital gains tax rate applies only at the federal level. State income taxes are separate.

Most states tax capital gains as ordinary income. Some, like California, offer no special rate for capital gains at all. So even if you owe nothing in federal tax on a gain, your state may still take a share.

Another consideration worth watching: capital gains taxed at 0% are still income. They count toward your modified adjusted gross income (MAGI), which affects several other calculations:

  • Medicare premium surcharges, known as IRMAA
  • Eligibility for Affordable Care Act premium tax credits
  • The taxable portion of your Social Security benefits

There is also the net investment income tax (NIIT). This is an additional 3.8% tax on investment income that applies when MAGI exceeds $200,000 for single filers or $250,000 for married couples filing jointly. Unlike the capital gains brackets, these NIIT thresholds are not adjusted for inflation and stay fixed year to year.

So while the 0% bracket offers a genuine benefit, it is worth looking at the full picture of how realized gains interact with the rest of your financial situation before selling.

Who Benefits Most

The 0% capital gains bracket is most valuable to people who can control how much income they recognize in a given year.

That group includes several types of investors:

  • Early retirees who are living off savings before Social Security or required minimum distributions kick in, and whose annual income is relatively modest
  • Retirees in general, who can often manage withdrawals to stay within the bracket from year to year
  • People in lower-income years, such as those between jobs, on sabbatical, or starting a new business
  • Investors doing Roth conversions, who must balance conversion amounts with capital gains room to avoid pushing past the 0% ceiling

For retirees especially, the 0% bracket can become a repeatable annual strategy. It lets them reset the cost basis on appreciated holdings each year they stay under the threshold, gradually reducing the tax liability embedded in their portfolio over time.

The Bottom Line

The 0% capital gains rate is not a tax loophole. It is a deliberately designed feature of the U.S. tax code, and the IRS has once again raised the income limits for 2027. Single filers can now have up to $51,050 in taxable income, and married couples filing jointly up to $102,100, and still owe nothing in federal long-term capital gains tax.

For many investors, particularly those with some flexibility over their annual income, this is one of the most valuable and underused tax benefits available. The bracket resets on January 1 of each year. Any room you do not use, you lose.

The 2027 figures come from IRS Rev. Proc. 2026-35, released November 5, 2026, and apply to tax returns filed in early 2028. As always, consult a qualified tax professional for guidance specific to your situation.

Written by  
1 day ago