What Are Good Tax Shelters and How Do They Work?

Good tax shelters are the deductions, deferrals, and exclusions Congress wrote into the tax code on purpose: retirement accounts, health savings accounts, real estate depreciation, tax-exempt bonds, 529 plans, and a handful of business and charitable structures that reduce what you owe without crossing any legal line. The right ones for you depend on your income, your assets, and how long you can leave money untouched. Everything that follows is a shelter you can actually use. None of it is the kind of promoter-driven scheme the IRS targets.

Retirement Accounts

Employer-sponsored plans and IRAs are the most widely used tax shelters in the country. They either shrink the income you report this year or wipe out the tax on your investment growth later.

Traditional 401(k) and IRA

Contributions to a traditional 401(k) come out of your paycheck before income tax is calculated, so those dollars never show up as taxable wages on your W-2.1Internal Revenue Service. Topic No. 424, 401(k) Plans A traditional IRA works the same way through a deduction on your return, though the deduction may be limited when you or your spouse also participates in a workplace plan.2Internal Revenue Service. Retirement Topics – IRA Contribution Limits Investments inside the account grow without any annual tax bill, and you pay ordinary income tax only on withdrawals in retirement. The bet is that your rate then will be lower than it is now.

Roth 401(k) and Roth IRA

Roth accounts flip the timing. You contribute money you’ve already paid tax on, so there’s no deduction today. Qualified withdrawals in retirement, including every dollar of growth, come out completely tax-free.3Internal Revenue Service. Roth IRAs That is one of the few true tax exclusions available to individuals.

Roth IRAs come with income limits. For 2026, single filers can make full contributions with modified adjusted gross income below $153,000, phasing out completely at $168,000. Married couples filing jointly phase out between $242,000 and $252,000. Above those thresholds, a backdoor Roth conversion through a traditional IRA may still be possible, but the mechanics need careful execution.

Health Savings Accounts

An HSA offers something no other account can match: a triple tax benefit. Contributions reduce taxable income, the money grows tax-free, and withdrawals for qualified medical expenses are never taxed.

You must be enrolled in a high-deductible health plan to fund one. For 2026, the contribution limits are $4,400 with individual coverage and $8,750 with family coverage, plus a $1,000 catch-up at age 55 or older if you aren’t yet on Medicare.

The funds never expire and stay with you across jobs. After age 65, you can withdraw HSA money for any purpose; non-medical withdrawals are taxed as ordinary income, which makes the account behave like a traditional IRA at that point. Medical withdrawals stay tax-free at any age. If you can pay current medical bills out of pocket and let the balance compound, an HSA becomes one of the strongest retirement tools in the code.

Real Estate Shelters

Real estate stacks several tax benefits that paper investments can’t replicate.

Depreciation

The biggest advantage of owning rental property is depreciation: a deduction for the gradual wear on a building, even though you haven’t spent cash on it. Residential rental structures are written off over 27.5 years using the straight-line method.4Internal Revenue Service. Depreciation and Recapture 4 Land isn’t depreciable, so you split the purchase price between the structure and the lot. This deduction frequently turns a property with positive cash flow into a paper loss on your tax return. When you sell, the depreciation you claimed is recaptured and taxed at a federal rate up to 25%.

Interest and Operating Expenses

Landlords can also deduct property taxes, insurance, maintenance, management fees, and mortgage interest. In the early years of a loan, when payments are mostly interest, the interest deduction alone can be substantial.

Section 1031 Like-Kind Exchanges

Selling an investment property normally triggers capital gains tax and depreciation recapture. A Section 1031 exchange defers both by rolling the proceeds into another investment property of equal or greater value.5Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Real Property Held for Productive Use or Investment The gain isn’t forgiven; it’s pushed into the future through a carried-over basis.

The timelines are strict. You have 45 days from the sale to identify the replacement and 180 days to close.5Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Real Property Held for Productive Use or Investment A qualified intermediary must hold the proceeds the whole time. You never touch the cash. Investors who roll from property to property can defer gains for decades, and holding the final property until death may wipe out the deferred tax through a stepped-up basis.

Primary Residence Exclusion

Your own home carries its own shelter. If you’ve lived in it for at least two of the last five years, you can exclude up to $250,000 of gain from the sale, or $500,000 for married couples filing jointly.6Internal Revenue Service. Sale of Your Home This one is a permanent exclusion, not a deferral.

The Passive Activity Limit

Rental losses generally can only offset other passive income. If you actively participate in managing the rental, you can deduct up to $25,000 of losses against wages and other non-passive income, but that allowance phases out as AGI rises above $100,000 and disappears at $150,000. Real estate professionals who spend more than 750 hours per year in real estate businesses and more than half their total working hours there get a broader exemption and can treat rental losses as non-passive. That’s the mechanism behind the shelter’s reputation among people in the industry.

Tax-Exempt Investments

Municipal Bonds

Interest on bonds issued by state and local governments is excluded from federal gross income. Buy bonds issued by your own state and the interest is often exempt from state income tax too. For investors in higher brackets, that double exemption can make municipal bonds more valuable after tax than corporate bonds with higher stated yields. The exclusion covers states, cities, counties, and their political subdivisions, but not private activity bonds that fail to qualify under IRS rules.7Office of the Law Revision Counsel. 26 USC 103 – Interest on State and Local Bonds Municipal interest also avoids the 3.8% net investment income tax that hits higher earners (MAGI above $200,000 single, $250,000 joint).8Internal Revenue Service. Net Investment Income Tax

529 Education Savings Plans

Earnings in a 529 plan grow tax-free, and withdrawals are tax-free when used for qualified education expenses: tuition, room and board, books, and required supplies at eligible colleges. The Tax Cuts and Jobs Act added up to $10,000 per year in K-12 tuition. Many states also offer a deduction or credit for contributions, though the amount varies.

There are no federal income limits on who can contribute. The account owner (usually a parent) stays in control, and unused funds can be transferred to another family member. Recent legislation also allows limited rollovers from a 529 into a Roth IRA for the beneficiary under certain conditions.

Business Owner Strategies

Accelerated Depreciation

Businesses can front-load the tax benefit of buying equipment and other tangible property. Section 179 lets you deduct the full cost of qualifying property in the year you place it in service, up to an annual dollar limit indexed for inflation. Bonus depreciation is a separate provision that historically allowed a large first-year write-off. Under the Tax Cuts and Jobs Act phase-down, the rate has dropped 20 percentage points per year since 2022; for property placed in service in 2026, the rate is 20%.

Qualified Business Income Deduction

Income from a sole proprietorship, partnership, or S corporation may qualify for a deduction of up to 20%.9Internal Revenue Service. Qualified Business Income Deduction The deduction applies whether or not you itemize and sits on top of your ordinary business expense deductions. The full benefit is available below certain income thresholds; service businesses like law firms, medical practices, and consulting operations face phase-outs starting around $200,000 for single filers and $400,000 for joint filers. Above those levels, W-2 wages paid and depreciable property held by the business can further limit the deduction.

Credits for R&D and Clean Energy

Credits reduce your tax bill dollar-for-dollar, which makes them far more valuable than a deduction of the same size. The Research and Development Tax Credit rewards companies that invest in developing new products, processes, or software; the activity needs a process of experimentation but doesn’t have to be groundbreaking. Energy tax credits are available for solar panels, wind turbines, battery storage, and other qualifying clean energy property, expanded under the Inflation Reduction Act. Documentation requirements are heavy, but the payoff usually justifies the compliance work.

Tax-Loss Harvesting

Anyone with a taxable brokerage account can turn losing positions into a tax benefit. Selling an investment below its purchase price creates a capital loss that offsets capital gains from elsewhere in your portfolio. If losses exceed gains, you can deduct up to $3,000 of the net loss against ordinary income each year ($1,500 if married filing separately), and the rest carries forward indefinitely.10Internal Revenue Service. Topic No. 409, Capital Gains and Losses

Watch the wash sale rule. Buy a substantially identical investment within 30 days before or after selling at a loss and the IRS disallows it. The workaround is simple: replace the sold position with a similar but not identical one. Sell an S&P 500 index fund, buy a total market fund, keep your market exposure, and lock in the loss. The savings grow for high earners facing the 3.8% net investment income tax on top of ordinary capital gains rates.8Internal Revenue Service. Net Investment Income Tax

Charitable Giving

What you donate and how you structure it matters more than the deduction itself.

Giving appreciated stock or property directly to a qualified charity lets you deduct the full fair market value while avoiding capital gains tax on the appreciation. Bought shares for $10,000 that are now worth $50,000? Donating them beats selling first and writing a check.

Donor-advised funds add flexibility. Make a lump-sum contribution (often of appreciated assets), take the full deduction in the contribution year, then grant to charities over time. That lets you bunch multiple years of giving into one year to clear the standard deduction threshold, then take the standard deduction in off years.

Charitable remainder trusts extend the idea for people with large concentrated positions. You transfer appreciated assets into an irrevocable trust that sells them without triggering immediate capital gains tax. The trust pays you an income stream for a set period, and the remaining assets go to charity when the trust terminates. Capital gains are recognized gradually as income is distributed.

Life Insurance and Estate Planning

Cash value life insurance (whole life and universal life) grows the cash value tax-deferred. You can access it through policy loans without triggering a taxable event, as long as the policy stays in force, and the death benefit passes to beneficiaries income-tax-free. The costs are high compared to buying term and investing the difference, but the shelter is real.

If a policy is classified as a modified endowment contract because too much money was contributed too quickly relative to the death benefit, loans and distributions become taxable and may carry a 10% penalty before age 59½. The tax advantages depend on the policy being structured correctly from the start.

For wealthier families, an irrevocable life insurance trust can remove the death benefit from your taxable estate. The trust owns the policy, not you, so the proceeds aren’t counted in your estate for federal estate tax. Transferring an existing policy into the trust requires surviving at least three years for the exclusion to work; setting up the trust before buying the policy avoids that waiting period.

How To Tell a Real Shelter From an Abusive One

Every strategy above uses provisions Congress deliberately wrote into the tax code. Abusive tax shelters are a different animal. They manufacture artificial losses, hide income through layers of shell entities, or rely on transactions with no economic purpose beyond cutting taxes.

The clearest warning sign is a pitch that sounds too good: guaranteed deductions several times your investment, no risk, “IRS-proof” structures, secrecy about the details. Legitimate planning is transparent. If the promoter won’t explain how the deduction arises or discourages you from running the strategy past your own accountant, walk away.

The IRS applies steep accuracy-related penalties on underpayments tied to abusive transactions, and criminal prosecution remains on the table for the most egregious schemes. A good tax shelter attaches to a real investment or business activity and relies on provisions that have been tested and upheld. If you wouldn’t make the investment without the tax benefit, that’s reason to pause.