Newshot

US home prices: record highs in dollars, but not after inflation

Original text(via Hacker News)

US home prices set another record in 2026 Q3, according to the Federal Housing Finance Agency’s index, and 43 of the 100 largest metro areas it tracks were at a record too. I wondered how many of those records survive once you take out inflation. For the country, none: after inflation, prices peaked in 2024 Q4 and are 1.8% lower now. Among the metros, 11 are at a real record. In Austin homes have lost 26% of their real value since the spring of 2022, the largest drop of the 100.

How do I adjust prices for inflation in R?

Divide each price by the price index for its period, then multiply by the index for the period you want to express it in: real = price / index * index_base. Home prices here are the FHFA House Price Index (purchase-only, seasonally adjusted, quarterly), which follows repeat sales of the same homes with mortgages bought by Fannie Mae or Freddie Mac. Inflation is the price index for consumer spending (PCE) from the U.S. Bureau of Economic Analysis (BEA). This runs on R 4.6.1 with readr 2.2.0 and dplyr 1.2.1:


        library(tidyverse)
options(timeout = 300)                               # the BEA file is 36 MB

hpi <- read_csv("https://www.fhfa.gov/hpi/download/monthly/hpi_master.csv") |>
  filter(hpi_type == "traditional", hpi_flavor == "purchase-only", frequency == "quarterly",
         place_id == "USA" | level == "MSA") |>
  transmute(place_id, place_name, level, quarter = yq(paste(yr, period)), hpi = index_sa) |>
  drop_na(hpi)

txt <- tempfile(fileext = ".txt")
download.file("https://apps.bea.gov/national/Release/TXT/NipaDataQ.txt", txt, quiet = TRUE)
bea <- read_csv(txt, skip = 1, col_names = c("code", "quarter", "value"), col_types = "ccc") |>
  mutate(quarter = yq(quarter), value = parse_number(value))
pce <- bea |> filter(code == "DPCERG") |> select(quarter, pce = value)

homes <- hpi |>
  inner_join(pce, by = "quarter") |>
  mutate(real = hpi / pce * pce[quarter == max(quarter)][1])   # in latest-quarter dollars

peak <- homes |> filter(place_id == "USA") |> slice_max(real, n = 1) |> pull(quarter)
      

yq() turns a year and a quarter number into the first day of that quarter in both files, so the join has one date format to match. An index has no dollar value: FHFA’s is 100 in 1991 Q1, so only changes can be read off it.

US home prices since 1991

You can copy the gray theme below for your own plots.


        dsp_colors <- c("#0066CC", "#E8862D", "#159A6C", "#7D5BD6",
                "#D64580", "#2AA9B8", "#C9A227")
dsp_theme <- theme_minimal(base_size = 13) +
  theme(plot.background    = element_rect(fill = "#ECECEF", color = NA),
        panel.background   = element_rect(fill = "#ECECEF", color = NA),
        panel.grid.minor   = element_blank(),
        panel.grid.major.x = element_blank(),
        panel.grid.major.y = element_line(color = "grey78"),
        axis.ticks         = element_blank(),
        plot.title         = element_text(face = "bold"),
        strip.text         = element_text(face = "bold"),
        legend.position    = "top")

homes |>
  filter(place_id == "USA") |>
  select(quarter, `In dollars of the day` = hpi, `After inflation, in latest-quarter dollars` = real) |>
  pivot_longer(-quarter, names_to = "measure") |>
  ggplot(aes(quarter, value, color = measure)) +
  geom_line(linewidth = 1) +
  scale_color_manual(values = dsp_colors[1:2], name = NULL) +
  labs(x = NULL, y = "FHFA House Price Index (1991 Q1 = 100 in dollars)") +
  dsp_theme
      
US home prices since 1991: image from “Inflation-adjusted home prices in R: record highs in dollars, but not after inflation”
US home prices since 1991: image from “Inflation-adjusted home prices in R: record highs in dollars, but not after inflation”

In dollars the line keeps rising after a pause in 2022. After inflation it has been nearly flat since then, with its highest point in 2024 Q4. It is still 27% above the top of the 2000s boom (2006 Q1).

A hundred metros, two answers

For each metro I compare the latest quarter with 2022 Q2 and check whether the latest quarter is the highest in the series:


        metros <- homes |>
  filter(level == "MSA") |>
  group_by(place_name) |>
  summarise(dollars_2022  = hpi[quarter == max(quarter)] / hpi[quarter == as.Date("2022-04-01")] - 1,
            real_2022     = real[quarter == max(quarter)] / real[quarter == as.Date("2022-04-01")] - 1,
            dollar_record = hpi[quarter == max(quarter)] == max(hpi),
            real_record   = real[quarter == max(quarter)] == max(real),
            vs_boom       = real[quarter == max(quarter)] / max(real[year(quarter) < 2010]) - 1)

metros |>
  summarise(up_in_dollars = sum(dollars_2022 > 0), up_in_real_terms = sum(real_2022 > 0),
            records_in_dollars = sum(dollar_record), records_in_real_terms = sum(real_record))
## # A tibble: 1 × 4
##   up_in_dollars up_in_real_terms records_in_dollars records_in_real_terms
##           <int>            <int>              <int>                 <int>
## 1            87               52                 43                    11
      

Since 2022 Q2, 87 of the 100 metros have gained in dollars and 52 after inflation. The plot shows the ten with the largest real losses and the ten with the largest real gains:


        bind_rows(slice_min(metros, real_2022, n = 10), slice_max(metros, real_2022, n = 10)) |>
  mutate(place_name = str_remove(place_name, " \\(MSAD\\)"),
         place_name = fct_reorder(place_name, real_2022)) |>
  ggplot(aes(y = place_name)) +
  geom_vline(xintercept = 0, color = "grey50") +
  geom_segment(aes(x = dollars_2022, xend = real_2022), color = "grey65") +
  geom_point(aes(x = dollars_2022, color = "In dollars"), size = 2.8) +
  geom_point(aes(x = real_2022, color = "After inflation"), size = 2.8) +
  scale_color_manual(values = c("In dollars" = dsp_colors[2], "After inflation" = dsp_colors[1]),
                     breaks = c("In dollars", "After inflation"), name = NULL) +
  scale_x_continuous(labels = scales::percent) +
  labs(x = "Change in home prices since 2022 Q2", y = NULL) +
  dsp_theme +
  theme(panel.grid.major.x = element_line(color = "grey78"),
        panel.grid.major.y = element_blank())
      
A hundred metros, two answers: image from “Inflation-adjusted home prices in R: record highs in dollars, but not after inflation”
A hundred metros, two answers: image from “Inflation-adjusted home prices in R: record highs in dollars, but not after inflation”

The largest gains are in the Northeast and the Midwest, led by Rochester, NY (20% after inflation) and Hartford, CT (19%). Seven of the ten largest losses are in California, Colorado and Washington State, and the other three are Austin, Cape Coral and New Orleans. 16 of the 100 are still below the real peak they reached before 2010, 7 of them in California.

Which price index?

Consumer spending includes housing, so dividing home prices by PCE partly divides housing by housing. BEA also publishes PCE without food, energy and housing:


        core <- bea |> filter(code == "IA001176") |> select(quarter, core = value)

us_core <- homes |>
  filter(place_id == "USA") |>
  inner_join(core, by = "quarter") |>
  mutate(real_core = hpi / core)
      

With that index the US peak falls in 2024 Q4 and the latest quarter is 1.3% below it, against 1.8% with the full index.

Updated December 2026: rebuilt with the FHFA House Price Index and BEA prices. The first version used a different home price index, so its numbers differ, including the date of the real peak. Source: FHFA House Price Index® (purchase-only, seasonally adjusted) and U.S. Bureau of Economic Analysis.

The text above was extracted automatically from the source page and may miss images, tables or code blocks. The original is authoritative.

Published by Hacker News
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗