0 Sold prior to maturity*
1 Corporate bonds

Treasury bonds or notes

Municipal bonds†
You could realize a capital gain or loss, depending on the sale price relative to the cost basis.

Note: This could result in a taxable capital gain even for municipal bonds.
Disclosure Title
Disclosures
Disclosure

*Capital gains or losses will be either long or short term, depending on how long you've held the bond. 

†Municipal bonds in this chart are assumed to be general obligation bonds that qualify for the federal exemption. There are also private activity bonds that are exempt from federal income taxation but may be subject to federal alternative minimum tax and may not be exempt from taxation at the state level. If a municipal bond is non-qualified it may be treated as a taxable bond.