Municipal bonds are tax-free at the federal level, and often at the state and local level too — but only the interest you earn, not any profit if you sell the bond early

When you buy a municipal bond, the interest payments you receive are not subject to federal income tax. That is the core tax advantage. If you buy a bond issued by your own state or municipality, you typically avoid state and local income tax on that interest as well. This tax exemption exists because the bonds fund public projects — schools, roads, water systems, hospitals — that benefit the community.

The tax-free status applies only to interest income, not to capital gains. If you buy a bond for $10,000 and sell it for $11,000 before it matures, that $1,000 profit is taxable. The same applies if you buy a bond at a discount — say, $9,500 for a $10,000 bond — and hold it to maturity; the $500 gain is taxable as ordinary income.

Key Takeaways

  • Federal tax exemption applies to all municipal bond interest, regardless of where the bond is issued.
  • State and local tax exemption usually applies only to bonds issued in your home state or municipality.
  • Capital gains from selling a bond before maturity are always taxable, even though the interest itself is tax-free.
  • The tax benefit is most valuable if you are in a higher tax bracket, because you save more in taxes on the same interest payment.
  • Some municipal bonds — those issued for certain private purposes — do not may have access to for tax-free status and are called taxable municipals.

Why the federal government allows this tax break

Municipal bonds are tax-exempt because Congress decided that encouraging investment in public infrastructure serves the national interest. When a city or county can borrow money at a lower interest rate — because investors accept lower returns in exchange for tax savings — the public entity saves money on the project itself.

This is not a loophole for individual investors; it is a deliberate policy choice. The trade-off is that you earn less interest than you would on a taxable bond of similar quality. A municipal bond might pay 3 percent while a comparable corporate bond pays 4.5 percent. Whether the tax savings make up for the lower rate depends on your tax bracket.

State and local tax exemption: the geography rule

Federal tax exemption is universal. State and local tax exemption is not. If you live in New York and buy a New York municipal bond, you typically owe no federal, state, or local income tax on the interest. If you live in New York and buy a California municipal bond, you owe no federal tax, but you do owe New York state and local tax on the interest.

A few states — Illinois, Iowa, Kansas, Louisiana, Missouri, Oklahoma, and South Carolina — do not tax municipal bond interest at all, even on out-of-state bonds. Most other states tax out-of-state municipal bonds but exempt their own. Check your state's tax authority website or ask a tax professional about your specific situation, because state rules vary and change.

How to know if a municipal bond is actually tax-free

Most municipal bonds are tax-exempt, but not all. Bonds issued for certain private purposes — such as financing a sports stadium or a private university building — may be taxable municipals. The bond prospectus or offering statement will clearly state whether the bond is tax-exempt or taxable.

If you are buying through a broker or financial advisor, ask directly: "Is this bond tax-exempt at the federal level? At the state level?" Do not assume based on the name. A bond called a "municipal bond" could be taxable if it was issued for a non-may have access to purpose.

When the tax break actually saves you money

The tax exemption is most valuable if you are in a high federal tax bracket. A person in the 24 percent federal tax bracket saves more in taxes on the same interest payment than someone in the 12 percent bracket. For that reason, municipal bonds are often recommended to higher-income investors.

You can calculate whether a municipal bond makes sense for you by comparing its yield to the after-tax yield of a taxable bond. If a municipal bond pays 3 percent and you are in the 24 percent federal tax bracket, the tax-equivalent yield is roughly 3.95 percent — meaning you would need a taxable bond paying 3.95 percent to come out even after taxes. If taxable bonds are only paying 3.5 percent, the municipal bond is the better deal.

What happens when you sell a municipal bond before maturity

If you hold a municipal bond to maturity, you receive the full face value and pay no tax on the interest. If you sell before maturity, the interest you have already earned remains tax-free, but any gain or loss on the sale itself is taxable.

For example: you buy a $10,000 bond paying 3 percent annually. After two years, you have earned $600 in tax-free interest. You then sell the bond for $10,500. The $600 interest is still tax-free, but the $500 gain on the sale is taxable as a capital gain. If you had sold it for $9,800, you would have a $200 capital loss, which you could use to offset other capital gains or, in some cases, ordinary income.

Municipal bonds and the Alternative Minimum Tax

Most municipal bond interest is exempt from the Alternative Minimum Tax (AMT), a parallel tax system that applies to high-income taxpayers. However, bonds issued for certain private purposes — called "private activity bonds" — may be subject to AMT even though they are exempt from regular federal income tax.

If you have a high income and are subject to AMT, ask whether any municipal bonds you are considering are private activity bonds. The prospectus will state this. Your tax professional can tell you whether the AMT applies to your situation and whether it affects the value of the tax exemption.

Frequently Asked Questions

Do I have to report municipal bond interest on my tax return?

No. You do not report tax-exempt municipal bond interest on your federal return. However, some states require you to report it even though it is not taxable in that state. Check your state tax authority's rules. If you sold a municipal bond at a gain, you do report that capital gain.

What if I buy a municipal bond fund instead of individual bonds?

The interest distributions from a municipal bond fund are tax-free if the fund holds tax-exempt bonds. However, if the fund sells bonds at a profit, those capital gains are taxable to you. Read the fund's prospectus to understand its tax treatment and whether it invests in in-state or out-of-state bonds.

Can I deduct losses on a municipal bond I sold?

Yes. If you sell a municipal bond for less than you paid, you have a capital loss. You can use it to offset capital gains from other investments, or up to $3,000 of ordinary income per year. Any unused loss carries forward to future years.

Are zero-coupon municipal bonds tax-free?

Yes, the interest is tax-free, but zero-coupon bonds work differently. You buy them at a deep discount and receive no payments until maturity. The IRS requires you to report "phantom income" — the annual increase in the bond's value — even though you receive no cash. This makes them less attractive unless held in a tax-deferred account like an IRA.

What if I inherit a municipal bond?

The interest remains tax-free. If you sell the inherited bond, any gain or loss from the sale is taxable. The bond's value is stepped up to fair market value on the date of death, so gains earned before you inherited it are not taxable to you.