Does a Trust Avoid Capital Gains Tax? Step-Up, NIIT, and CRTs

A trust does not automatically avoid capital gains tax. Whether a trust avoids capital gains tax depends on the type of trust, whether the gains are kept inside or distributed to beneficiaries, and whether the assets qualify for a stepped-up basis when the grantor dies. A few structures can dramatically reduce or eliminate the tax; most simply shift who pays it, and often at worse rates.

Revocable Trusts Do Nothing During Your Lifetime

A revocable trust, sometimes called a living trust, offers no capital gains tax reduction while the grantor is alive. The IRS treats it as a grantor trust, meaning the person who created it is still considered the owner of everything inside for income tax purposes.1IRS. Trust Primer The trust doesn’t file its own return or use a separate taxpayer identification number. Capital gains from selling assets inside it land on the grantor’s personal Form 1040 at the grantor’s individual rates.

Moving an appreciated asset into a revocable trust is not itself a taxable event. You’re transferring property to yourself in the eyes of the IRS, so there’s no sale and no gain to report. The asset carries over its original cost basis. The real capital-gains benefit of a revocable trust arrives later, at death, through the basis step-up.

Irrevocable Trusts and the Compressed Bracket Trap

An irrevocable trust is a separate taxpaying entity. Once you fund it, you generally give up control, and the trust files its own return on Form 1041.2Internal Revenue Service. About Form 1041, U.S. Income Tax Return for Estates and Trusts Who owes the capital gains tax when the trust sells an asset depends on where the proceeds go.

If the trust keeps the gains, the trust pays the tax, and trust brackets are brutally compressed. For 2026, the rates are:

  • 10% on taxable income up to $3,300
  • 24% from $3,301 to $11,700
  • 35% from $11,701 to $16,000
  • 37% above $16,000

The top 20% long-term capital gains rate kicks in at just $16,250 of trust income for 2026.3Internal Revenue Service. 2026 Form 1041-ES Estimated Income Tax for Estates and Trusts A single individual would not reach that 20% rate until taxable income exceeded roughly $518,900. A trust gets there almost immediately.

The alternative is distributing gains to beneficiaries. When the trust distributes income, it takes a deduction, and each beneficiary receives a Schedule K-1 reporting their share.2Internal Revenue Service. About Form 1041, U.S. Income Tax Return for Estates and Trusts Beneficiaries then pay tax at their own rates, which for most people are substantially lower than the trust’s. Trustees who accumulate gains inside the trust without a specific reason are often leaving money on the table.

The 3.8% Net Investment Income Tax Hits Trusts Early

Capital gains inside a trust face an extra layer many people overlook. The Net Investment Income Tax (NIIT) adds 3.8% on top of regular capital gains rates. For individuals, the surtax applies only when adjusted gross income exceeds $200,000 (single) or $250,000 (joint). For trusts, the threshold is the dollar amount where the highest ordinary income bracket begins, which is $16,000 for 2026.4Office of the Law Revision Counsel. 26 U.S.C. 1411 – Imposition of Tax

The NIIT applies to the lesser of the trust’s undistributed net investment income or the excess of its adjusted gross income above that threshold.5Internal Revenue Service. Topic No. 559, Net Investment Income Tax A trust that retains a sizable long-term gain can end up paying 23.8% on every dollar above $16,250 (20% capital gains plus 3.8% NIIT). Because only undistributed investment income triggers the trust-level NIIT, pushing gains out to beneficiaries can reduce or eliminate the surtax at the trust level.

The Step-Up in Basis Is the Real Avoidance Tool

The single most powerful way a trust can wipe out capital gains tax is not a distribution strategy. It’s the step-up in basis at death. When someone dies, the cost basis of most assets they owned resets to the fair market value on the date of death.6Office of the Law Revision Counsel. 26 U.S.C. 1014 – Basis of Property Acquired From a Decedent Every dollar of appreciation that built up during the owner’s lifetime vanishes for tax purposes.

Say someone bought stock for $50,000 and it was worth $400,000 at their death. The heirs inherit it with a $400,000 basis. Sold immediately for $400,000, it produces zero capital gains tax on the $350,000 of lifetime appreciation.

Revocable Trusts Qualify for the Step-Up

Assets in a revocable trust qualify because the tax code specifically treats property in a revocable trust as property acquired from the decedent.6Office of the Law Revision Counsel. 26 U.S.C. 1014 – Basis of Property Acquired From a Decedent The assets are included in the grantor’s gross estate, and beneficiaries take the full basis adjustment. This is the main capital-gains benefit of a revocable trust: not avoiding tax during life, but erasing decades of unrealized gains at death.

Irrevocable Trusts Often Do Not

Irrevocable trusts are trickier. In 2023, the IRS issued Revenue Ruling 2023-2, which held that assets in an irrevocable grantor trust do not get a step-up at the grantor’s death if those assets are not included in the grantor’s gross estate.7IRS. Bulletin No. 2023-16, Revenue Ruling 2023-2 The basis stays exactly what it was.

An irrevocable trust can still qualify for the step-up, but only if the grantor retained powers that pull the assets back into the taxable estate. Some are deliberately drafted that way. Trusts structured to remove assets from the estate for estate tax purposes will not qualify. The tradeoff is genuine: pulling assets out of your estate may save estate tax while locking in a low basis, producing larger capital gains whenever the assets are eventually sold.

Inherited Assets Get Automatic Long-Term Treatment

When you inherit an asset that qualifies for the stepped-up basis, the tax code treats you as having held it for more than one year, regardless of how quickly you actually sell it.8Office of the Law Revision Counsel. 26 U.S.C. 1223 – Holding Period of Property Sell inherited stock the day after you receive it and any gain above the stepped-up basis is still a long-term capital gain, taxed at 0%, 15%, or 20% rather than ordinary rates. This applies to assets inherited through both revocable and irrevocable trusts, as long as basis was determined under the step-up rules.

Home Sale Exclusion Works, but Only in a Grantor Trust

If your principal residence sits in a grantor trust, including a revocable living trust, you can still claim the Section 121 home sale exclusion. Treasury regulations treat the grantor as the owner of the residence for the two-year ownership requirement, and the trust’s sale is treated as if you made it directly.9eCFR. 26 CFR 1.121-1 – Exclusion of Gain From Sale or Exchange of a Principal Residence Up to $250,000 of gain ($500,000 for married couples filing jointly) is excludable, the same as if the home were held outright.

A home held in an irrevocable non-grantor trust is different. The beneficiary is not treated as the owner for income tax purposes, so the Section 121 exclusion generally does not apply. The trust itself cannot claim it because the trust is not an individual using the property as a principal residence. If a home might be sold after the grantor’s death, the trust’s structure can decide whether hundreds of thousands of dollars in gain are excludable or fully taxable.

Charitable Remainder Trusts Actually Sidestep the Tax on Sale

A charitable remainder trust (CRT) is one of the few structures that genuinely avoids capital gains tax on a sale. Under the tax code, a CRT is exempt from income tax in any year it operates properly.10Office of the Law Revision Counsel. 26 U.S.C. 664 – Charitable Remainder Trusts Transfer appreciated stock or real estate into a CRT, let the trust sell it, and the trust owes no capital gains tax on the sale. The full proceeds stay invested and generate income.

The tax isn’t gone forever. As the CRT pays income to you or other non-charitable beneficiaries, those payments carry the character of the trust’s income. Capital gains come out under a specific ordering: ordinary income first, then capital gains, then other income, and finally return of principal.10Office of the Law Revision Counsel. 26 U.S.C. 664 – Charitable Remainder Trusts The result is deferral and spreading of the tax over many years rather than outright elimination. When the trust ends, the remaining principal goes to the designated charity. CRTs fit best when you hold a highly appreciated asset, want ongoing income, and are willing to leave the remainder to charity.