Capital Gains Tax Planning for Investors in 2026: Loss Harvesting, the 0% Rate and the 3.8% Surtax
    Back to Blog

    Capital Gains Tax Planning for Investors in 2026: Loss Harvesting, the 0% Rate and the 3.8% Surtax

    J&E Advisory TeamNovember 4, 2026

    Why capital gains tax planning matters before year-end

    Capital gains tax planning is one of the few areas where a few decisions in November and December can change your tax bill for the whole year. J&E Advisory Group works with investors and business owners who sell stock, funds, real estate or part of a business, and the same question comes up every fall: what will this sale cost me in tax?

    The answer depends on three things: how long you held the asset, how much income you report, and whether you have losses to set against the gains. For 2026, federal long-term gains are taxed at 0%, 15% or 20%, and high earners can owe an extra 3.8% on top. Short-term gains are taxed at your ordinary income rate, which can reach 37%.

    Most of these levers can only be used before December 31. This article explains each one in plain English, with the 2026 numbers.

    Strategy 1: Know the 2026 long-term capital gains tax rates

    A gain is long-term when you held the asset for more than one year. The IRS counts from the day after you acquired it through the day you sold it. Hold it one year or less and the gain is short-term, taxed like wages or business income.

    The long-term rate depends on your taxable income, not your total income. Here are the 2026 thresholds:

    • Single: 0% up to $49,450 of taxable income, 15% up to $545,500, and 20% above that.
    • Married filing jointly: 0% up to $98,900, 15% up to $613,700, and 20% above that.
    • Head of household: 0% up to $66,200, 15% up to $579,600, and 20% above that.
    • Married filing separately: 0% up to $49,450, 15% up to $306,850, and 20% above that.

    For comparison, the top ordinary income rate of 37% starts above $640,600 of taxable income for single filers and above $768,700 for joint filers. The gap between 37% and 20% is the reason holding period matters so much.

    Two categories are taxed differently. Gains on collectibles such as art and coins are taxed at a maximum 28%. The part of a real estate gain that comes from depreciation you claimed, called unrecaptured Section 1250 gain, is taxed at a maximum 25%.

    Strategy 2: Use the 0% capital gains rate when your income is low

    The 0% bracket is not only for low earners. It also helps business owners and investors who have a lean year, retirees living on savings before Social Security starts, and families whose income dropped after a career change.

    If your 2026 taxable income is well below the 0% ceiling for your filing status, you may be able to sell appreciated investments and pay no federal tax on the part of the gain that falls inside the bracket. Some investors then buy the same investment back, which resets their cost basis at a higher number.

    Before you try this, remember that gains stack on top of your other income. A large gain can push you past the 0% line, and state tax may still apply. We run the projection first.

    Strategy 3: Harvest capital losses to offset gains

    Tax-loss harvesting means selling investments that are worth less than you paid, so the loss offsets gains elsewhere. Losses first offset gains of the same type, and any net loss can then offset the other type.

    Here is a simple example. You have $20,000 of gains from a stock you sold earlier this year and $8,000 of unrealized losses in a fund. Selling the fund brings your net gain down to $12,000.

    If your losses are larger than your gains, you can deduct up to $3,000 of the excess against other income each year ($1,500 if married filing separately). The rest carries forward to later years. A $10,000 net loss with no gains, for example, gives you a $3,000 deduction this year and $7,000 carried forward.

    Strategy 4: Avoid the wash sale rule

    The wash sale rule can undo a harvested loss. If you sell a security at a loss and buy a substantially identical one within 30 days before or after the sale, the loss is disallowed for that year. That is a 61-day window in total, counting the day of the sale.

    Three situations catch investors by surprise:

    • Automatic dividend reinvestment that buys shares inside the window.
    • A purchase in a different account, including an IRA, that holds the same security. The IRS has ruled that a loss can be disallowed when the replacement shares are bought in an IRA.
    • Buying the same security for a spouse or another account you control.

    If you want to stay invested, ask us about replacing the holding with something that is not substantially identical. Whether two securities are substantially identical depends on the facts, so check before you trade.

    Strategy 5: Check the 3.8% net investment income tax

    The net investment income tax, or NIIT, is a 3.8% tax on the lesser of your net investment income or the amount your modified adjusted gross income exceeds a threshold. The thresholds are:

    • $250,000 for married filing jointly or a qualifying surviving spouse.
    • $200,000 for single or head of household.
    • $125,000 for married filing separately.

    Net investment income includes interest, dividends, rents, royalties, passive business income and net gains from selling stocks, bonds, mutual funds and real estate. It does not include wages or income from a business you actively run.

    A large gain in a year when your income is already near a threshold can trigger this tax, so timing a sale for a different year or pairing it with losses can matter. For business owners, how you participate in the business also changes whether income is treated as investment income. That is a question to settle before a sale, not after.

    Strategy 6: Plan the sale of a business or real estate

    Sales of a business, a rental property or a large concentrated stock position are where capital gains planning matters most. A single sale can move you through several brackets and into the NIIT range in one year.

    Questions to settle before you sign:

    • How long have you held the asset, and is the gain long-term?
    • Does part of the gain come from depreciation, which can be taxed at up to 25%?
    • Can the closing date, installment terms or related losses be arranged so the gain is not all in one year?
    • Does the way you own the asset, such as an LLC, S corporation or personal name, change how the gain is reported?

    If your business is still choosing its structure, read our comparison of LLCs and S corporations: https://www.jeadvisorygroup.com/blogs/llc-vs-s-corporation-2026-entity-structure-tax-savings

    For the investor side of the picture, see our post on IRS and Treasury scrutiny of tax-driven investment strategies: https://www.jeadvisorygroup.com/blogs/new-irs-and-treasury-scrutiny-of-tax-driven-investment-strategies-what-investors-need-to-know

    If you pay quarterly tax on investment income, our guide to estimated taxes explains how to avoid penalties: https://www.jeadvisorygroup.com/blogs/estimated-taxes-are-a-pain-here-s-how-to-avoid-costly-penalties

    Common mistakes with capital gains

    • Selling a position a few days before it turns long-term. Check the holding period first.
    • Harvesting a loss and then repurchasing the same security inside the 30-day window.
    • Ignoring state tax. Federal rates are only part of the cost.
    • Forgetting the NIIT when income is near $200,000 or $250,000.
    • Keeping poor records. Without clear cost basis and purchase dates, you may overpay.
    • Letting tax drive the whole decision. A bad investment decision made to save tax is still a bad investment decision.

    A year-end checklist for investors and business owners

    • Pull your 2026 realized gains and losses to date from every brokerage account.
    • List unrealized gains and losses, with purchase dates.
    • Estimate your 2026 taxable income and see which bracket your gains would fall in.
    • Check how close you are to the NIIT thresholds.
    • Note any capital loss carryover from prior years.
    • Review sales planned for early 2027 that could be affected by what you do now.
    • Gather records for any foreign accounts, since the FBAR rules apply separately from capital gains rules.

    Frequently asked questions about capital gains tax planning

    What is the capital gains tax rate for 2026?

    Most long-term gains are taxed at 0%, 15% or 20%, depending on taxable income and filing status. For a single filer, the 15% rate applies above $49,450 and the 20% rate above $545,500. For joint filers, the thresholds are $98,900 and $613,700.

    How long do I have to hold an investment to get the long-term rate?

    More than one year. If you hold it one year or less, the gain is short-term and taxed as ordinary income.

    How much capital loss can I deduct in a year?

    Capital losses offset capital gains first. If losses exceed gains, you can deduct up to $3,000 against other income ($1,500 if married filing separately) and carry the rest forward.

    What is the wash sale rule?

    It disallows a loss when you buy a substantially identical security within 30 days before or after selling at a loss. The window covers 61 days in all.

    Who pays the 3.8% net investment income tax?

    It applies when modified adjusted gross income is above $200,000 for single and head of household filers, $250,000 for joint filers or $125,000 for married filing separately, and you also have net investment income. The tax applies to the lesser of the two amounts.

    Is the 0% capital gains rate real?

    Yes. If your taxable income falls within the 0% bracket, the portion of your long-term gain inside that bracket is not taxed federally. Gains stack on top of your other income, so a large sale can move part of the gain into the 15% bracket.

    Do these rules change if I have foreign accounts or investments?

    They can add reporting duties. A U.S. person with foreign financial accounts above $10,000 in total at any time during the year generally must file an FBAR, due April 15 with an automatic extension to October 15. J&E Advisory Group helps clients with both the investment tax planning and the international reporting.

    What if I already sold investments this year and did not plan?

    You still have options before year-end, including realizing losses, adjusting estimated tax payments or deferring other income. If an IRS notice arrives, respond promptly and get help early.

    Should I sell a losing investment only to save tax?

    Not on tax grounds alone. A tax loss is only as useful as your plan for the money afterward. We look at the investment case, the tax case and your goals together.

    Capital gains planning is a year-round discipline, and the weeks before December 31 are when it pays to review your numbers with someone who sees the full picture. J&E Advisory Group, based in Miami, serves high-income earners across the U.S. and international taxpayers worldwide, from tax planning and FBAR reporting to foreign national tax preparation, complex international tax matters and IRS tax resolution, in English and Spanish.

    Schedule a confidential consultation at: https://outlook.office.com/book/JEAdvisoryGroup@jeadvisorygroup.com/s/WTstmtX_2Uqcb1XsqTi49Q2?ismsaljsauthenabled

    Or call (786) 622-2869.

    Learn more about our tax planning and preparation services: https://www.jeadvisorygroup.com/tax-preparation-miami

    This article is general information, not tax, legal or investment advice for your situation. Tax rules change and the right strategy depends on your facts, so consult a qualified advisor before acting. Figures reflect federal law as of November 2026, and state rules vary.

    Sources

    IRS, Tax inflation adjustments for tax year 2026 (news release IR-2025-103): https://www.irs.gov/newsroom/irs-releases-tax-inflation-adjustments-for-tax-year-2026-including-amendments-from-the-one-big-beautiful-bill

    IRS, Rev. Proc. 2025-32: 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. 559, Net investment income tax: https://www.irs.gov/taxtopics/tc559

    IRS, Publication 550, Investment income and expenses: https://www.irs.gov/publications/p550

    IRS, Rev. Rul. 2008-5 (wash sales, Section 1091): https://www.irs.gov/pub/irs-drop/rr-08-05.pdf

    IRS, Report of Foreign Bank and Financial Accounts (FBAR): https://www.irs.gov/businesses/small-businesses-self-employed/report-of-foreign-bank-and-financial-accounts-fbar