‹ Macro for Markets Lesson 4 of 16
Contents Lesson 4 of 16

4 min read · foundations

What is the yield curve — and why does its inversion scare people?

Line up one borrower's rates across every borrowing length — 3 months, 2 years, 10 years, 30 years — and connect the dots. That line is the yield curve, and entire trading floors start their morning by looking at it.

The normal shape

Usually the curve slopes upward: lending for 10 years pays more than lending for 3 months. Sensible — more waiting, more inflation uncertainty, more time for things to go wrong (lesson 1's three rents, stretched over time). An upward slope is the market saying "the future is normal."

Schematic diagram: yield curve normal

The inverted curve

Sometimes the curve flips: short-term rates rise ABOVE long-term ones. That's an inversion, and it encodes a striking market opinion: "rates are high now, but we expect the central bank will have to CUT them soon — because the economy will weaken." An inversion is thousands of bond traders collectively pricing in tomorrow's rescue.

Schematic diagram: yield curve inverted

The famous track record — stated honestly

In the United States, an inverted curve has preceded every recession of the past half-century — which is why headlines treat inversions as alarms. Now the honest fine print, in the spirit of Course 3's data-literacy unit: among the inversions that WERE followed by a recession, the lead time ranged from a few months to about two years, the economy sometimes kept booming long after the flip, and a small sample of recessions makes "every time so far" weaker evidence than it sounds.

And an inversion is not a promise. The US curve inverted in July 2022 and stayed inverted for about 26 months — the longest stretch on record — and at its deepest, in July 2023, short rates sat more than a full percentage point above long ones, the widest gap since 1981. The economy kept growing right through it, and as of 2026 no recession has been dated for that period at all. So the record has two halves, and headlines usually quote one: every recession was preceded by an inversion, but not every inversion has been followed by a recession. That is exactly why the curve is a warning light, not a timer — it says pressure is building, never the date, and sometimes no fire follows.

Reading it like a practitioner

You don't need to predict recessions (we don't do predictions here). You need to know what everyone else is watching: when the curve inverts, expect louder markets, jumpier reactions to central-bank words, and a news cycle full of the R-word — all context for everything else in this course.

In the data

The US Treasury publishes its curve every business day, one yield per maturity, fourteen maturities from one month to thirty years. Here are seven of them from the latest day:

Live API response: mf3 ust curve latest

Read it top to bottom and you are walking along the curve from the shortest loan to the longest; if the numbers mostly rise, the curve slopes up. An inversion is a comparison between two maturities on the same day. One caution for the short end: Treasury bills are quoted two ways, on a discount basis and as a bond-equivalent yield, and the two differ for the same bill. Compare a bill against a longer yield in the same convention, or the gap you find is arithmetic rather than economics.

Try it now

  1. Sketch from memory: a normal curve and an inverted one, axes labeled.
  2. Compute the number the whole floor quotes. Below are the two-year and the ten-year yields of the most recent date. Subtract the first rate from the second. That difference is the 2s10s spread, and its sign is the entire headline: positive is a normal curve, negative is the inversion this lesson is about.
Live API response: mf ust 2s10s latest
  1. Do it again for a date in 2023 and compare the two signs. The table below is the third of July 2023, the deepest day of a year in which every trading day was inverted. You have just measured a yield-curve inversion and its resolution out of raw rows, which is what everybody quoting the number is actually holding.
Live API response: mf ust 2s10s 2023 07 03
  1. Explain in one sentence what an inversion says about expected FUTURE policy rates.
  2. Data-literacy reflex check: name the caveats that keep "inversions predict recessions" honest — including the inversion that wasn't followed by one.