Do You Pay Tax on Municipal Bonds? Federal, State, and AMT

Yes, you can pay taxes on municipal bonds, but usually not on the interest. Under Section 103 of the Internal Revenue Code, interest paid on most bonds issued by states, cities, counties, and other local governments is exempt from federal income tax, and interest on bonds issued in your home state is often exempt from state and local income tax as well.1Office of the Law Revision Counsel. 26 USC 103 – Interest on State and Local Bonds The taxable pieces are the parts investors miss: capital gains when you sell, certain private-activity bond interest under the alternative minimum tax, and knock-on effects that push more of your Social Security into the taxable column or bump up your Medicare premium.

Federal Tax on the Interest

The main benefit is simple. When a municipal bond pays you interest, that interest is not included in your gross income for federal purposes.1Office of the Law Revision Counsel. 26 USC 103 – Interest on State and Local Bonds The exemption reaches bonds from states, the District of Columbia, U.S. territories, and their political subdivisions such as cities, counties, and school districts. Only the interest is exempt. Any profit you make from selling the bond itself is a different question, handled below.

Not every bond labeled municipal qualifies. Some issuers sell taxable municipal bonds whose interest is fully subject to federal tax. Build America Bonds, created during the 2008 financial crisis, are the best-known example: investors received taxable interest while the issuing government got a direct federal subsidy. If the tax break is the reason you are buying, confirm the specific bond is tax-exempt before you commit.

You Still Report the Interest

Exempt does not mean invisible. Tax-exempt interest goes on Line 2a of Form 1040, and your broker or the issuer will send you a Form 1099-INT showing that interest in Box 8.2Internal Revenue Service. Instructions for Form 1040 The IRS uses that number in several other calculations, including how much of your Social Security is taxable and whether you owe higher Medicare premiums. Leaving the line blank because “it isn’t taxed anyway” is a common way to draw a notice.

State and Local Tax

The federal exemption says nothing about what your state does. Most states exempt interest on bonds their own governments issue and tax interest on bonds from other states. In a high-income-tax state, buying an out-of-state muni can hand back a meaningful chunk of the yield to your state revenue department.

Residents of states with no income tax can ignore the distinction. Everyone else generally comes out ahead sticking to in-state bonds, even at a slightly lower headline yield, because the after-tax return can still beat a higher-yielding out-of-state alternative once state tax is factored in.

Territory Bonds Are Triple Exempt

Bonds issued by U.S. territories sit in their own category. Puerto Rico bonds are exempt from federal, state, and local income tax regardless of where in the United States you live.3Office of the Law Revision Counsel. 48 USC 745 – Tax Exempt Bonds The same treatment applies to bonds from Guam, the U.S. Virgin Islands, American Samoa, and the Commonwealth of the Northern Mariana Islands.4Internal Revenue Service. TEB Phase III Lesson 4 – US Territories and Possessions The trade-off is credit risk. Some territory issuers, Puerto Rico most prominently, have seen serious fiscal distress, so the tax break comes with higher default risk than typical stateside bonds.

Capital Gains When You Sell

The tax exemption protects the interest, not the bond. If you sell a municipal bond for more than you paid, the profit is a capital gain and it is fully taxable at the federal level. You report it on Schedule D like any other investment sale.

How much you owe depends on how long you held it. Under a year, the gain is taxed at your ordinary income rate. Over a year, long-term capital gains rates apply: 0%, 15%, or 20% depending on your taxable income.5Internal Revenue Service. Topic No. 409, Capital Gains and Losses

Cost basis drives the size of the gain. For bonds bought at par and sold above par, the math is straightforward. For bonds bought at a discount on the secondary market, the market discount rules can convert what looks like a gain into ordinary income.

The De Minimis Rule

When you buy a muni below face value on the secondary market, the IRS looks at how big that discount is. The dividing line is 0.25% of face value multiplied by the number of full years remaining to maturity.6Municipal Securities Rulemaking Board. Tax and Liquidity Considerations for Buying Discount Bonds A discount within that threshold produces a capital gain at sale or maturity. A discount above it is taxed as ordinary income to the extent of the accrued market discount.7Office of the Law Revision Counsel. 26 U.S. Code 1276 – Disposition Gain Representing Accrued Market Discount Treated as Ordinary Income For a higher-bracket investor, that swing can nearly double the tax.

A quick example: a $1,000 face-value bond with 10 full years to maturity has a de minimis threshold of $25. Pay $980 and any gain at maturity is a capital gain. Pay $950 and the full $50 gain is ordinary income. A slightly higher purchase price can leave you with a better after-tax result.

Private Activity Bonds and the AMT

Some municipal bonds finance projects that mainly benefit private businesses. The IRS classifies these as private activity bonds. Their interest is still exempt from regular federal income tax, but it is added back for the alternative minimum tax.8Office of the Law Revision Counsel. 26 USC 57 – Items of Tax Preference The addback applies to private activity bonds issued after August 7, 1986, with exceptions for certain housing bonds, veterans’ mortgage bonds, and bonds benefiting 501(c)(3) nonprofits.

AMT only creates a bill if your income is high enough. For 2026 the AMT exemption is $90,100 for single filers and $140,200 for joint filers, with phaseouts starting at $500,000 and $1,000,000.9Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026 Investors with substantial private activity bond holdings should run the AMT numbers before buying rather than after.

No Deduction for Interest on Loans Used to Buy Munis

If you borrow to purchase or hold tax-exempt bonds, the interest on that loan is not deductible. Section 265 of the Internal Revenue Code bars interest deductions tied to carrying tax-exempt obligations.10Office of the Law Revision Counsel. 26 U.S. Code 265 – Expenses and Interest Relating to Tax-Exempt Income The government is not going to exempt the income and subsidize the borrowing.

Margin accounts are the common trap. If the IRS decides your borrowed funds were carrying municipal bonds, it can disallow the corresponding interest deduction, and the connection does not have to be direct. Holding munis in a separate, unleveraged account is the cleanest way to sidestep the issue.

The 3.8% Net Investment Income Tax

Higher-income investors owe a 3.8% surtax on net investment income under Section 1411. Tax-exempt municipal bond interest is excluded from that calculation, so the interest escapes both regular tax and the surtax.11Internal Revenue Service. Topic No. 559, Net Investment Income Tax Capital gains from selling munis are not excluded. If you sell at a profit and your modified adjusted gross income exceeds $200,000 (single) or $250,000 (joint), the 3.8% surtax applies to the gain on top of the regular capital gains tax.

Effect on Social Security Taxation

Tax-exempt interest does not sit in your taxable income, but the Social Security Administration counts it when deciding how much of your benefits become taxable. The “combined income” formula adds your adjusted gross income, any tax-exempt interest, and half of your annual Social Security benefits.12Social Security Administration. Must I Pay Taxes on Social Security Benefits? There are two thresholds:13Office of the Law Revision Counsel. 26 USC 86 – Social Security and Tier 1 Railroad Retirement Benefits

  • First tier ($25,000 single / $32,000 joint): up to 50% of your Social Security benefits become taxable.
  • Second tier ($34,000 single / $44,000 joint): up to 85% of your benefits become taxable.

These thresholds have not been adjusted for inflation since the 1980s, so even a modest amount of municipal bond interest can push retirees over the line. A $30,000 muni portfolio yielding 4% throws off $1,200 in exempt interest, and that $1,200 counts here. The interest itself stays untaxed. What it does is make more of your Social Security taxable.

Effect on Medicare Premiums

Municipal bond interest also feeds the modified adjusted gross income figure used to set your Medicare premiums. For this purpose, MAGI is your adjusted gross income plus tax-exempt interest, which is Line 11 plus Line 2a on Form 1040.14Social Security Administration. POMS HI 01101.010 – Modified Adjusted Gross Income (MAGI) If MAGI exceeds certain thresholds, you pay an Income-Related Monthly Adjustment Amount (IRMAA) on top of the standard Part B and Part D premiums.

For 2026 the standard Part B premium is $202.90 per month. IRMAA surcharges for Part B, based on your 2024 tax return, look like this:15Centers for Medicare and Medicaid Services. 2026 Medicare Parts A and B Premiums and Deductibles

  • MAGI up to $109,000 single / $218,000 joint: no surcharge, $202.90 total.
  • $109,001–$137,000 / $218,001–$274,000: $81.20 surcharge, $284.10 total.
  • $137,001–$171,000 / $274,001–$342,000: $202.90 surcharge, $405.80 total.
  • $171,001–$205,000 / $342,001–$410,000: $324.60 surcharge, $527.50 total.
  • $205,001–$499,999 / $410,001–$749,999: $446.30 surcharge, $649.20 total.
  • $500,000 or more / $750,000 or more: $487.00 surcharge, $689.90 total.

Part D prescription drug coverage carries its own IRMAA surcharges at the same income brackets, ranging from $14.50 to $91.00 per month.15Centers for Medicare and Medicaid Services. 2026 Medicare Parts A and B Premiums and Deductibles For a married couple just over the first threshold, combined Part B and Part D surcharges add roughly $2,300 per year. Muni interest counts toward MAGI, so it can quietly land a retiree in a higher IRMAA tier before the premium notice arrives.