A bond’s maturity tells you how long you may wait to get your principal back, and that timeline can have a major effect on risk. Short-term bonds generally experience smaller price swings when interest rates change. Longer-term bonds may offer higher yields, but they are typically more sensitive to rising rates.