The Tax Advantages of Municipal Bonds Explained
The muni tax exemption is the single most valuable feature in fixed income. Here is exactly what it means, how to measure it, and where it does not apply.

Municipal bonds exist as an asset class because of a single line in the Internal Revenue Code that exempts most interest paid on state and local government debt from federal income tax. That exemption, largely unchanged since 1913, is what makes a 4% muni yield genuinely competitive with a 6.35% Treasury for an investor in the 37% federal bracket. Understanding the mechanics of the exemption — where it applies, where it doesn't, and how to translate a stated yield into after-tax return — is the core competency of every serious muni investor.
The federal exemption
Interest paid on bonds issued by U.S. state and local governments — cities, counties, school districts, special districts, public authorities — is generally exempt from federal income tax under Section 103 of the Internal Revenue Code. This exemption applies to the interest, not to capital gains on sale. It applies whether the bonds are held in a taxable brokerage account or a taxable trust. It does not apply, however, if the bonds are held inside a tax-deferred vehicle like an IRA — the exemption is wasted there, which is why munis belong in taxable accounts.
The state exemption
Nearly every state that levies an income tax also exempts interest on bonds issued within its own borders (and some also exempt other states' bonds; Utah and a handful of others exempt any tax-exempt muni). This creates the double-exempt bond — free of both federal and state tax — that is the highest-value security available to a resident of a high-tax state like California, New York, New Jersey or Massachusetts. For an investor in the top California bracket, the state exemption alone can add 40 to 100 basis points to the effective yield.
| State | Top rate | Effective TEY |
|---|---|---|
| California | 13.3% | 7.32% |
| New York City | 14.8% | 7.46% |
| New Jersey | 10.75% | 7.11% |
| Massachusetts | 9.0% | 6.98% |
| Texas / Florida | 0% | 6.35% |
Tax-equivalent yield: the math you must know
The single most important calculation for a muni investor is tax-equivalent yield: what pre-tax yield would a fully-taxable bond need to offer in order to match the after-tax yield of the muni you are considering. The formula is straightforward: TEY = tax-free yield ÷ (1 – marginal tax rate). For a bond that is both federally and state exempt, use the combined marginal rate. Do this calculation before comparing a muni against a Treasury, a corporate bond, or a CD — the raw yields are not directly comparable.
Once you've run the tax-equivalent yield math, the next step is putting it to work in a real trade — our step-by-step guide to buying municipal bonds walks through broker selection, EMMA due diligence and placing the order.

Alternative Minimum Tax and private activity bonds
A subset of municipal bonds — private activity bonds — are federally tax-exempt for regular tax purposes but are added back into income for Alternative Minimum Tax (AMT) calculations. These are typically bonds that finance projects with some private user, such as airports, industrial development facilities, or student housing. If you are subject to AMT, an AMT bond is functionally taxable and should be avoided; if you are not, AMT bonds often offer 25–50 basis points of extra yield for the same credit quality. Every trade ticket should clearly disclose AMT status.
The de minimis rule
The de minimis rule is a quirk of tax law that catches many otherwise-sophisticated investors. When a muni is purchased at a discount to par — say at 95 on a bond maturing at 100 — the accretion of that discount toward par is taxed at ordinary income rates (up to 37%) rather than capital gains rates, unless the discount is less than the de minimis threshold (0.25% × years to maturity). For long-dated discount bonds, this can meaningfully reduce your after-tax return. Ask your broker to calculate the de minimis-adjusted yield before you buy any discount bond.
Capital gains on sale
The interest is exempt. The gain on sale is not. If you sell a muni for more than your amortized cost basis, the difference is a capital gain — short- or long-term depending on holding period — and taxed at the applicable rate. Premium bonds amortize their premium down over the life of the bond, reducing basis each year and creating a smaller taxable gain on sale (or even a wash if held to maturity). Discount bonds accrete up, increasing basis and reducing gain.
"The federal muni exemption is the single largest tax expenditure aimed at capital markets in the U.S. code. It is also the reason state and local governments can build schools and water systems at borrowing costs 100 to 200 basis points below equivalent corporate credit."
— Government Finance Officers Association, 2026 policy brief
Questions readers ask about this topic
Continue with our pillar guides
Every article on this site connects back to two core guides — one on the muni market itself, one on portfolio strategy. Start there for the full picture.


