Getting Started & Portfolio

Municipal Bonds vs Treasury Bonds: Tax & Yield Guide

Learn how municipal bonds and Treasury bonds differ in tax rules, safety, and after-tax yield for long-term income. Read the full guide.

S

By StockEmber Team

Published Updated

In this articleBrowse All Getting Started & Portfolio
Comparison illustration of municipal bonds and Treasury bonds on a scale.

Direct Answer

Treasury bonds are issued by the federal government and exempt from state income tax, providing maximum credit safety and high liquidity. Municipal bonds are issued by local governments and generally exempt from federal income tax, making them valuable for high earners in top tax brackets. Comparing their after-tax yield depends on your marginal tax rate and account type.

Treasury bonds are debt securities issued by the U.S. federal government that are exempt from state taxes, while municipal bonds are issued by local governments and typically exempt from federal income taxes.

A higher headline yield on a government bond can be deceptive once taxes enter the picture. When comparing municipal bonds vs Treasury bonds for a long-term portfolio, the decision comes down to your personal income tax bracket and account type.

This guide covers how after-tax returns work, the tax-equivalent yield math, and where each bond fits best.

Quick Takeaways

  • Municipal bonds offer tax-free interest at the federal level, making them most valuable for investors in high income tax brackets.
  • Treasury bonds carry virtually zero default risk because they are backed by the U.S. federal government, and their interest is exempt from state and local taxes.
  • Comparing headline yields requires calculating tax-equivalent yield to level the playing field between tax-exempt municipal debt and taxable Treasury bonds.
  • Municipal bonds belong strictly in taxable brokerage accounts because holding them in tax-advantaged accounts like IRAs wastes their core tax benefit.

Core Differences: Issuers and Credit Safety

Treasury bonds are issued by the U.S. Department of the Treasury to fund federal operations, whereas municipal bonds are issued by state and local governments, cities, or public agencies to fund public projects.

The underlying backing of these bonds creates their first major difference: credit safety. Treasury securities are backed by the full faith and credit of the U.S. government. Because the federal government holds taxing authority and controls currency issuance, default risk on Treasury bonds is near zero.

Municipal bonds are backed either by the general taxing power of the local government (General Obligation bonds) or by revenue generated from specific projects like toll roads (Revenue bonds).

While overall default rates for municipal debt are historically very low, credit safety varies from one city or state to another. Both asset classes form foundational building blocks within fixed-income types of bonds for income-focused portfolios.

The Tax Distinction: Federal vs. State Exemptions

The primary difference between municipal bonds and Treasury bonds lies in how tax authorities collect tax on their interest income.

Interest earned from U.S. Treasury bonds is subject to federal income tax, but it is completely exempt from state and local income taxes. For investors who live in high-tax states such as California or New York, this state tax exemption can noticeably increase after-tax returns compared to fully taxable corporate debt.

By contrast, interest from municipal bonds is generally exempt from federal income taxes. If you purchase a municipal bond issued by your home state or local city, the interest is usually exempt from state and local taxes as well.

According to the U.S. Securities and Exchange Commission, this double or triple tax exemption allows municipal issuers to offer lower nominal interest rates while still appealing to high-income earners.

Comparing After-Tax Yields: The Math

To accurately compare treasury bonds vs municipal bonds, you must look at after-tax yield rather than the headline interest rate displayed on a screen.

Because municipal bond interest avoids federal tax, a lower headline yield on a municipal bond can actually put more money in your pocket than a higher headline yield on a Treasury bond. Financial analysts use a formula called Tax-Equivalent Yield (TEY) to translate a tax-free municipal yield into the taxable yield required to match it:

Tax-Equivalent Yield = Municipal Bond Yield / (1 − Marginal Tax Rate)

Consider a practical comparison between a 10-year Treasury bond yielding 4.5% and a 10-year municipal bond yielding 3.5%:

  • For an investor in the 22% federal tax bracket: Tax-Equivalent Yield = 3.5% / (1 − 0.22) = 4.49%. In this bracket, the 4.5% Treasury bond delivers a slightly higher after-tax yield than the 3.5% municipal bond.
  • For an investor in the 37% federal tax bracket: Tax-Equivalent Yield = 3.5% / (1 − 0.37) = 5.56%. For this high earner, the 3.5% tax-free municipal bond generates the same net income as a taxable Treasury bond yielding 5.56%.

A small yield difference matters immensely over time. Over a 10-year period on a $100,000 bond allocation, a 1.0% annual difference in tax drag equals more than $10,000 in lost income.

Note: This is a simplified example only — actual outcomes depend on the specific bonds you hold, reinvestment, and future changes in your income or the tax code.

Risk Profiles: Interest Rates, Credit, and Call Risk

When comparing municipal bonds vs Treasury bonds on risk, both carry interest rate risk, but municipal bonds introduce credit risk and call risk that Treasury bonds do not share.

When market interest rates rise, existing bond prices drop. A 10-year Treasury bond and a 10-year municipal bond with matching duration (how sensitive a bond's price is to rate changes) will experience similar price drops when market interest rates jump. Neither bond type protects your principal from price fluctuations if you sell before maturity.

When evaluating treasury vs municipal bonds, risk profiles diverge in two key areas:

  1. Credit Risk: Treasury bonds carry top-tier credit confidence. Municipal bonds carry credit ratings ranging from AAA down to junk status. Investors seeking higher payouts might look at corporate bond funds or high-yield municipal debt, but both options step up default risk.
  2. Call Risk: Many municipal bonds are callable, meaning the issuer retains the right to pay off the bond early if interest rates fall. This leaves you facing reinvestment risk at lower market rates. Standard Treasury bonds issued today cannot be called prior to maturity.

Asset Location: The Account Placement Trap

Understanding municipal vs treasury bonds requires matching the bond structure to the correct account type.

The core rule of asset location is straightforward: municipal bonds belong strictly in taxable brokerage accounts. Placing a municipal bond inside a tax-advantaged account like a Traditional IRA, Roth IRA, or 401(k) wastes its primary feature.

Because tax-advantaged accounts already shelter investments from annual income tax, holding low-yielding tax-free bonds inside an IRA forces you to accept lower nominal payouts for zero extra tax advantage.

Treasury bonds, on the other hand, can fit comfortably in either account type. Holding Treasuries in a taxable brokerage account preserves their state income tax exemption, while holding them inside a tax-deferred IRA protects their yield from federal income tax until withdrawal.

Common Pitfalls to Watch

Investors weighing municipal bonds vs Treasury bonds often fall into three common traps:

  1. Chasing headline yield: Selecting a 4.5% Treasury bond over a 3.5% municipal bond without calculating after-tax returns for your personal tax bracket.
  2. Buying out-of-state municipal bonds: Purchasing municipal debt issued outside your home state usually voids the state tax exemption, leaving only the federal tax exemption intact.
  3. Assuming tax-free means risk-free: Confusing tax-exempt status with price protection. Rising interest rates lower the market value of municipal bonds just like any other fixed-income asset.

Conclusion

Choosing between municipal debt and Treasury securities comes down to your marginal tax bracket, your state of residence, and which account holds the assets. High-earning investors holding bonds in taxable brokerage accounts generally keep more income with municipal bonds, while investors in lower tax brackets or those buying inside tax-advantaged IRAs capture better value from Treasury bonds.

When you are ready to choose where to hold these, our ETF reviews are the place to start. Investing always puts your money at risk and past returns never promise the future, so treat this as a starting point for your own research, not a recommendation.

FAQ

5 questions

Are municipal bonds safer than Treasury bonds?

No. Treasury bonds are backed by the full faith and credit of the U.S. federal government, giving them virtually zero default risk. Municipal bonds are backed by state or local governments or specific project revenues, which carry a low but real default risk depending on the issuer's financial stability.

Are Treasury bonds tax-free?

No. Interest earned from U.S. Treasury bonds is subject to federal income tax. However, Treasury interest is completely exempt from state and local income taxes. This makes Treasury bonds particularly attractive for investors living in states with high local income tax rates.

What tax bracket makes municipal bonds worth it?

Municipal bonds generally become more advantageous than taxable Treasury bonds for investors in federal marginal tax brackets of 24% or higher. Because higher earners lose more income to federal taxes, the tax-exempt yield of municipal bonds yields a higher after-tax return than a higher-yielding Treasury bond.

Should municipal bonds be held in an IRA or 401(k)?

No. Municipal bonds should strictly be held in taxable brokerage accounts. Holding municipal bonds inside a tax-advantaged account like a Traditional IRA or Roth IRA wastes their tax-exempt status, as IRAs already shelter investments from annual taxes while locking you into lower nominal yields.

What is the main difference between municipal bonds and Treasury bonds?

The main difference lies in the issuer and tax treatment. Treasury bonds are federal debt securities exempt from state taxes but subject to federal tax. Municipal bonds are local government debt securities exempt from federal income taxes and often state taxes if purchased in your home state.

Disclaimer

This guide was written with AI assistance and reviewed by the StockEmber editorial team for accuracy. StockEmber provides independent education, not personal financial advice. Some links may support our work at no additional cost to you.

ST
StockEmber Team

Independent research desk

The StockEmber Team is our in-house desk of independent research writers. We test brokerage platforms, read the fine print on fees and custody, and cover ETFs and long-horizon investing for people who plan to hold for decades — not days.