Why Selling Stock Before Year-End Costs More Than You Think
A lot of investors plan to sell winners before December 31, but the tax bill they picture in their head is almost always lower than the one they actually owe.
The Holding-Period Trap That Catches Investors Every Fall
The single most expensive mistake investors make in autumn is selling a position just days or weeks before it qualifies for long-term treatment. Hold an asset for more than one year and you pay 0%, 15%, or 20% federal capital gains tax depending on your income. Sell even one day too early and the entire gain gets taxed as ordinary income, which for many earners means rates of 22%, 24%, or higher.
A $20,000 gain taxed at 24% ordinary income versus 15% long-term capital gains is a difference of $1,800 in federal tax alone. That is real money sitting on the table because someone did not check the calendar before clicking sell.
Income Stacking and the Hidden Rate Bump
Here is the part most people miss completely. Capital gains do not exist in isolation; they sit on top of your other income for the year. If your salary already pushes you close to a bracket threshold, a large realized gain can push the gain itself into a higher rate tier. Try the capital gains tax calculator to see your own numbers.
Say a married couple filing jointly earns $80,000 in wages and realizes a $60,000 long-term gain in September. Their total income hits $140,000. In the 2026 tax year, the 15% long-term rate threshold for married filers sits around $94,000. The first $14,000 of their gain clears at 0%, but the remaining $46,000 is taxed at 15%. If they had instead realized a $120,000 gain, a chunk above roughly $583,000 would tick into 20% territory. Knowing exactly where you land before selling changes the strategy entirely.
A capital gains tax estimator that accounts for filing status, ordinary income, and asset holding period gives you a real number rather than a rough guess. Many investors who run the numbers discover that splitting a sale across two tax years, or harvesting some losses first, saves more than they expected.
State Taxes Turn a Federal 15% Into an Effective 25%
Federal rates get all the attention, but state capital gains taxes can be just as punishing. California taxes capital gains as ordinary income, so a high earner there adds another 9.3% or more on top of the federal bill. Even states with moderate flat income taxes, like Illinois at 4.95%, push the combined effective rate well past 20% for long-term gains.
Someone moving from California to Texas or Florida changes their capital gains math dramatically. If you relocated in the past year or plan to before December 31, confirming your state of domicile at the time of sale is worth checking with a tax professional. The savings on a six-figure gain can easily exceed five figures.
Three Scenarios Where Running the Numbers First Pays Off
First, inherited assets. When you inherit stock or real estate, you typically receive a stepped-up cost basis to the fair market value at the date of death. That means years of accumulated gains simply disappear for tax purposes. Many heirs do not realize this and either hold the asset unnecessarily or sell assuming a massive bill.
Second, primary home sales. The IRS allows single filers to exclude up to $250,000 in home-sale gains and married couples up to $500,000, provided they meet the two-year ownership and use tests. If your gain exceeds the exclusion, the overage is taxable. With home values still elevated across many markets heading into late 2026, plenty of sellers will owe something even after the exclusion.
Third, selling a small business or rental property. These transactions often involve depreciation recapture taxed at 25%, layered under regular long-term gains rates, layered under the 3.8% net investment income tax for higher earners. Running each piece separately before closing gives you a reliable estimate of proceeds net of tax.