Tax Strategies
Municipal Bonds and Other Tax-Exempt Income: How the Exemptions Work and Where They Stop
How municipal bond interest is taxed federally and by states, AMT on private activity bonds, tax-equivalent yield, and Treasury and savings bond rules.
"Tax-free" is one of the most appealing phrases in investing and one of the least precise in the tax code. Municipal bond interest is exempt from federal income tax, but often not from state tax, sometimes not from the alternative minimum tax, and never from the calculations that decide how much of your Social Security is taxable or what you pay for Medicare. The bond's gains are taxable. And Treasury interest, exempt from state tax but not federal, runs the opposite way.
This guide covers how each kind of tax-exempt income is treated: federal and state exemptions, the AMT, how tax-exempt interest still affects other parts of the return, the rules for discount and premium bonds, municipal bond funds, and Treasury and savings bond exemptions. It covers tax treatment only; whether a particular bond or fund belongs in your portfolio is a question for your investment advisor.
The exemption map
| Income | Federal income tax | 3.8% NIIT | State income tax | AMT |
|---|---|---|---|---|
| In-state municipal bond interest | Exempt | Exempt | Usually exempt | Exempt, except some private activity bonds |
| Out-of-state municipal bond interest | Exempt | Exempt | Usually taxable | Exempt, except some private activity bonds |
| Private activity bond interest | Exempt | Exempt | Depends on state | Preference item, taxable for AMT |
| Taxable municipal bonds (such as Build America Bonds) | Taxable | Taxable | Depends on state | Taxable |
| Treasury bills, notes, and bonds | Taxable | Taxable | Exempt | Taxable |
| Series EE and I savings bonds | Taxable, deferrable; excludable for education | Taxable | Exempt | Taxable |
| U.S. territory bonds (Puerto Rico, Guam, and others) | Exempt | Exempt | Generally exempt in all states | Exempt, except private activity bonds |
| Gain on selling any of these | Taxable | Taxable | Taxable | Taxable |
A few states tax all municipal interest, including their own; a few exempt out-of-state bonds too. Check your state's rules.
Where tax-exempt interest still counts
Tax-exempt interest is reported on line 2a of Form 1040 for a reason. It is excluded from taxable income, but it is included in several calculations:
- Social Security taxation. Provisional income includes tax-exempt interest, so municipal interest can make more of your Social Security benefits taxable. In that range, the effective tax on "tax-free" interest can be substantial. See taxes on retirement income for how provisional income works.
- Medicare premium surcharges (IRMAA). Modified AGI for IRMAA adds back tax-exempt interest.
- Marketplace premium tax credits. Tax-exempt interest counts in household income.
- Some state calculations add it back or use it in credit eligibility.
It does not count toward the NIIT or the senior deduction phase-out, which use different definitions of MAGI.
Tax-equivalent yield
Comparing a tax-exempt bond with a taxable one means converting to after-tax terms:
Tax-equivalent yield = tax-exempt yield ÷ (1 − marginal tax rate)
| Combined marginal rate | 3.0% tax-exempt equals | 3.5% tax-exempt equals |
|---|---|---|
| 22% | 3.85% | 4.49% |
| 24% | 3.95% | 4.61% |
| 32% | 4.41% | 5.15% |
| 35% + 3.8% NIIT | 4.90% | 5.72% |
| 37% + 3.8% NIIT | 5.07% | 5.91% |
For an in-state bond, include the state rate, adjusted for whether state tax is deductible on your federal return, which under the SALT cap it often is not. The comparison should also account for the Social Security and IRMAA effects above, which can lower the real advantage for retirees.
Discount and premium bonds
Market discount. If you buy a municipal bond in the secondary market below its face value, the discount is generally taxable as ordinary income when the bond matures or is sold, not tax-exempt and not capital gain. A de minimis rule treats very small discounts, less than 0.25% of face value per full year to maturity, as capital gain instead. Bonds that slip below that line can lose value for this reason.
Original issue discount on tax-exempt bonds is itself tax-exempt and accrues to increase your basis.
Premium. If you pay more than face value for a municipal bond, you must amortize the premium over the life of the bond. The amortization reduces your basis but produces no deduction, since the interest is tax-exempt. Selling or holding to maturity then produces no artificial loss.
Gains and losses on selling a municipal bond before maturity, beyond those adjustments, are capital gains and losses.
Municipal bond funds and ETFs
Funds that hold municipal bonds pass through their income in pieces, reported on Form 1099-DIV:
- Exempt-interest dividends (box 12): federally tax-exempt, with the private activity bond portion in box 13 for AMT.
- Capital gain distributions (box 2a): taxable as long-term capital gain.
- Ordinary dividends (box 1a): taxable, from any taxable income the fund earned.
- State exemption: funds report the percentage of income from each state, so you can exclude your own state's share on a state return that allows it. Single-state funds are designed for this.
Selling fund shares produces a capital gain or loss.
Other rules to know
Interest to carry tax-exempt bonds. Interest on money borrowed to buy or hold tax-exempt bonds is not deductible. A margin loan in an account that also holds municipal bonds can be partly disallowed.
Tax-exempt bonds in retirement accounts. Interest earned inside a traditional IRA or 401(k) is already sheltered, and withdrawals are taxed as ordinary income regardless of source, so the municipal exemption provides no additional benefit there.
Reporting. Tax-exempt interest is reported on Form 1099-INT (box 8, with private activity bond interest in box 9) or Form 1099-DIV for funds, and must be shown on the return even though it is not taxed.
Treasury and savings bonds
Treasury bills, notes, and bonds. Federally taxable, state-exempt. Treasury bill discount is interest income in the year the bill matures. For residents of high-tax states, the state exemption can make Treasuries comparable to or better than bank deposits and some municipal bonds on an after-tax basis.
Series EE and I savings bonds.
- Deferral. You can report interest each year or defer it until redemption or final maturity, up to 30 years.
- Education exclusion. Interest can be excluded when bonds are redeemed for qualified higher education expenses, if the owner was at least 24 when the bond was issued, the bond is in the parent's name rather than the child's, and modified AGI is below the phase-out range. Claimed on Form 8815; not available for married filing separately. Redeeming bonds and contributing the proceeds to a 529 plan also qualifies.
- At death, deferred savings bond interest is income in respect of a decedent and does not get a step-up.
Agency bonds. Interest on some federal agency obligations, such as the Federal Home Loan Banks and the Federal Farm Credit Banks, is state-exempt. Mortgage-backed securities from Ginnie Mae, Fannie Mae, and Freddie Mac are generally taxable by states.
Other tax-exempt and tax-free income
Several other kinds of income or growth are exempt or excluded under their own rules, covered in their own guides:
- Roth IRA and Roth 401(k) qualified withdrawals. See tax-deferred, tax-free, and taxable accounts.
- Health savings accounts for medical expenses. See HSAs.
- 529 plans for education. See the 529 plan tax guide.
- Qualified small business stock gain. See QSBS tax savings.
- Gain on a principal residence up to $250,000 or $500,000. See capital gains timing.
- Gifts and inheritances received, which are not income to the recipient.
The short version
Municipal bond interest is exempt from federal tax and the NIIT, and usually from state tax only for in-state bonds; some private activity bond interest is taxable under the AMT. Tax-exempt interest still counts for Social Security taxation and Medicare surcharges. Market discount is ordinary income, premium must be amortized, and gains on sale are taxable. Treasury and savings bond interest runs the other way: federally taxable, state-exempt, with an education exclusion for savings bonds.
Rubric Financial reports tax-exempt income correctly across federal and state returns, including state-by-state fund allocations, AMT items, and savings bond exclusions, and models how it interacts with Social Security and Medicare thresholds.
Sources
- IRS Publication 550, Investment Income and Expenses
- 26 U.S.C. § 103 (interest on state and local bonds)
- 26 U.S.C. § 265 (expenses relating to tax-exempt income)
- IRS: About Form 1099-INT
- IRS: About Form 1099-DIV
- IRS: About Form 8815, Exclusion of Interest from Series EE and I Savings Bonds
- IRS Publication 915, Social Security and Equivalent Railroad Retirement Benefits
- IRS Publication 1212, Guide to Original Issue Discount (OID) Instruments
- TreasuryDirect: Tax information for EE and I bonds
Figures are federal and current as of the date above. Tax law and inflation-adjusted amounts change; confirm current figures before acting.
Educational content, not tax, legal, investment, or accounting advice. Confirm the specifics with a CPA before acting. See our Terms.
Frequently asked questions
Are municipal bonds tax-free?
Interest on most bonds issued by states, cities, and other local governments is exempt from federal income tax and from the 3.8% NIIT. It is usually exempt from state income tax only if you live in the state that issued the bond. Gains when you sell a municipal bond are taxable, and the interest still counts toward the taxable portion of Social Security and Medicare premium surcharges.
What is tax-equivalent yield?
The taxable yield that would leave you with the same after-tax income as a tax-exempt yield. Divide the tax-exempt yield by one minus your marginal tax rate. A 3.5% municipal yield for someone facing a combined 38.8% federal rate, 35% plus the 3.8% NIIT, is equivalent to about a 5.7% taxable yield, before considering state tax.
Do municipal bonds affect the alternative minimum tax?
Interest on most municipal bonds does not. Interest on certain private activity bonds, issued to finance projects such as airports, stadiums, or private housing, is a preference item for the AMT, so it can be taxable for people subject to AMT. Private activity bonds issued in 2009 and 2010 are excepted. Form 1099-INT or 1099-DIV reports the AMT-preference portion separately.
Is Treasury interest taxable?
Interest on Treasury bills, notes, bonds, and savings bonds is subject to federal income tax but exempt from state and local income tax. Some federal agency bonds, such as those of the Federal Home Loan Banks, share the state exemption; others, such as Ginnie Mae and Fannie Mae securities, do not.
Can savings bond interest be tax-free for education?
Interest on Series EE and I savings bonds can be excluded from federal income when the bonds are redeemed to pay qualified higher education expenses for yourself, your spouse, or a dependent, if the bonds were bought by someone at least 24 years old and your income is below the phase-out range. The exclusion is claimed on Form 8815 and is not available to married couples filing separately.
About the author
Aparna Devalla, CPA, Partner, Tax & Accounting
Licensed CPA. Decades of experience in U.S. taxation, accounting, and banking. Leads the tax and accounting practice at Rubric Financial.
Guides on this topic
The same ground in slide format, if you want the three-minute version.
More insights
Tax Strategies
What the 2025 Tax Law Changed for 2026 and Beyond: A Planning Guide for Owners and Families
Tax Strategies
529 Plans: A Tax Perspective on Contributions, Withdrawals, Ownership, and Estate Planning
Tax Strategies
Cost Basis Step-Up at Death: When It Applies, How It Works, and How to Plan Around It
Want this handled instead of researched?
Tell us what your business looks like and a partner at Rubric Financial will scope the work: a fixed engagement cost, a monthly retainer, or hourly, whichever fits.