Pomegra Wiki

The Market Discount Tax Trap in Municipal Bonds

Buying a municipal bond at a market discount—paying less than par in the secondary market—creates a tax trap: the coupon remains tax-exempt, but when you sell, your gain is taxed as ordinary income, not as a capital gain. This rule surprises many bond investors who assume municipal bond income is universally tax-free.

How the Trap Works

Suppose a $1,000 par municipal bond is trading at $950 in the secondary market because interest rates have risen since issuance. You buy it at $950. Over the bond’s remaining life, you collect the coupon payments—which are federally tax-exempt. At maturity, you receive $1,000 par plus the final coupon. Your $50 gain ($1,000 par minus $950 purchase price) is taxed as ordinary income, not as a long-term capital gain.

If you instead sold the bond before maturity for $980, your $30 gain would also be taxed as ordinary income, not capital gains. The fact that you held it for years does not change this; the market discount rule overrides the usual capital-gains treatment.

This is counterintuitive because muni bonds are famous for tax-exempt income. The coupon is exempt. The discount gain is not. Many retail buyers discover this too late, after they’ve already purchased.

Why the Rule Exists

The market discount rule prevents a tax arbitrage. Without it, investors could buy bonds issued years ago—whose coupon rates fell below market—at steep discounts, enjoy tax-exempt coupons, and then realize large tax-exempt gains at maturity or sale. The IRS treats the discount gain as accrued interest compensation for the below-par purchase, taxing it as ordinary income to level the playing field.

The rule applies to all bonds, not just munis. But it stings muni buyers most, because the primary allure of munis is tax exemption.

The Accretion Requirement

There is a further wrinkle: if your muni bond has a market discount, you may be required to accrete (or “amortize”) the discount annually and include it in your taxable income each year, even if you haven’t sold. This is done on Form 6198 (Ordinary Gain or Loss) attached to your tax return.

For example, if you buy the $950 bond and hold it to maturity in 5 years, some election-dependent accounting methods require you to add ~$10 per year to your gross income (spread over the holding period), even though you’ve collected no cash and realized no gain. Then, when you mature the bond or sell it, any remaining gain is taxed again.

This creates a cash-flow mismatch: you are taxed on accreted gain annually but receive cash only at maturity or sale. Some investors find this administratively annoying and abandon the secondary market for munis because of it.

When the Trap Doesn’t Apply

Primary market purchases are safe. If you buy a municipal bond directly from the issuer at par or above par, the market discount rule does not trigger, even if the bond later falls below par. You can hold it to maturity, collect the tax-exempt coupons, and receive par at maturity with no surprise tax on the discount gain. The rule applies only to bonds you purchase below par in the secondary market.

Similarly, if you buy a secondary-market bond above par, the bond is said to be “premium,” and different rules apply (premium amortization may reduce the amount of tax-exempt income each period, but no ordinary-income tax on gain; in fact, loss on sale may be capital loss).

Worked Example

A municipal bond issued at par ($1,000) carries a 3% coupon. After 5 years, market rates have risen to 4%, so the bond’s price in the secondary market is $950 (because new bonds offer higher coupons). You buy at $950.

Over the next 5 years to maturity:

  • You collect 10 coupons of $30 each (3% coupon), totaling $300 — all tax-exempt federally.
  • You receive $1,000 par at maturity.
  • Your total gain is $50 ($1,000 – $950 purchase price).
  • That $50 is taxed as ordinary income at your marginal rate (say 37% in the top bracket), costing you $18.50 in federal tax.

If you had instead sold the bond at year 3 for $970:

  • Your gain is $20 ($970 – $950).
  • That $20 is taxed as ordinary income, not capital gain, costing you $7.40 in federal tax (at 37%).

Compare this to a stock purchase: if you bought a stock at $950, held it 3 years, and sold at $970, your $20 would be taxed as a long-term capital gain (15% or 20% in the top brackets), costing $3 to $4 in federal tax. The muni market-discount rule costs more.

Impact on Yield Calculations

The market discount rule distorts the after-tax yield you actually earn on a secondary-market muni. A bond quoted at a 3.5% tax-exempt yield may deliver a much lower real yield after accounting for the tax-ordinary discount gain at sale. Savvy muni investors account for this when comparing secondary-market buys.

Avoidance Strategies

  • Buy primary-market municipal bonds at issuance, where the discount rule does not apply.
  • Buy at or above par in the secondary market, so no discount gain triggers the rule.
  • Hold to maturity if the discount is small; this minimizes reinvestment decisions and ensures you receive par.
  • Use tax-loss harvesting to offset the ordinary income gain with losses in other securities, reducing net taxable income.

See also

Wider context