Compare housing starts and completions in Python

Compare starts, completions and unfinished construction using Census NRC annual housing estimates.

Compare new activity with unfinished construction

A housing analyst wants to compare the one-unit and larger multifamily markets. Starts show new construction activity, completions show homes finishing construction, and the December-end stock shows units still underway. Looking at all three gives a more useful market comparison than treating permits or starts as completed homes.

Download annual.csv below. It contains 18 genuine observations from the purchased table: U.S. one-unit and five-plus-unit structures in 2023–2025, for starts, completions and under-construction stock. All 23 fields are unchanged. The years, structures and measures are selected in the Python code below.

The full $29 edition contains 83,856 period observations and 3,768 annual observations, plus six supporting CSV tables. Its five construction stages cover the United States and four regions, with series-specific starting dates. Inspect the complete download.

Code example

This standard-library code runs in a notebook cell, IPython or a script. It selects the published annual figures, checks the units and observation basis, and converts thousands of housing units to housing units for display. It also rejects duplicate or missing inputs.

Paths are relative to your working folder; use from pathlib import Path; print(Path.cwd()) to check it, or supply full paths.

Python 3.10+ · Jupyter, IPython or a script
import csv
from decimal import Decimal
from pathlib import Path

# The free sample and paid archive use the same annual.csv columns.
data_dir = Path('.')
years = (2023, 2024, 2025)
structures = {'one_unit': 'One-unit homes', 'five_plus': 'Units in 5+ unit buildings'}
measures = ('starts', 'completions', 'under_construction')
selected = {}
with (data_dir / 'annual.csv').open(newline='', encoding='utf-8') as file:
    for row in csv.DictReader(file):
        if (row['area_code'] != 'US' or row['structure_type'] not in structures
                or row['measure'] not in measures or int(row['year']) not in years):
            continue
        key = (row['structure_type'], int(row['year']), row['measure'])
        if key in selected:
            raise ValueError(f'Duplicate annual observation: {key}')
        expected_basis = 'year_end_stock' if row['measure'] == 'under_construction' else 'annual_flow'
        if (row['adjustment'] != 'ANNUAL' or row['availability'] != 'reported'
                or row['unit'] != 'thousands_of_housing_units' or row['period_basis'] != expected_basis):
            raise ValueError(f'Unavailable or incompatible annual observation: {key}')
        selected[key] = Decimal(row['value']) * 1000

results = []
print('Housing units; under construction is the December-end count.\n')
for structure, label in structures.items():
    for year in years:
        keys = [(structure, year, measure) for measure in measures]
        if any(key not in selected for key in keys):
            raise ValueError(f'Missing annual observations for {label}, {year}')
        starts, completions, underway = (selected[key] for key in keys)
        results.append(dict(structure_type=structure, year=year, starts=int(starts),
                            completions=int(completions), year_end_under_construction=int(underway)))
        print(f'{label:26} {year}: starts {starts:>9,.0f} | completed {completions:>9,.0f} | underway {underway:>9,.0f}')

Analysis of the output

Housing units; under construction is the December-end count.

One-unit homes             2023: starts   947,700 | completed   998,900 | underway   658,100
One-unit homes             2024: starts 1,012,900 | completed 1,018,600 | underway   623,500
One-unit homes             2025: starts   939,700 | completed 1,004,800 | underway   565,000
Units in 5+ unit buildings 2023: starts   458,800 | completed   438,300 | underway   978,500
Units in 5+ unit buildings 2024: starts   336,200 | completed   591,700 | underway   763,500
Units in 5+ unit buildings 2025: starts   396,900 | completed   467,700 | underway   675,100

For five-plus-unit buildings, annual completions rose from 438,300 units in 2023 to 591,700 in 2024 while starts declined. The under-construction stock fell from 978,500 to 763,500 units. In 2025, starts rose to 396,900 units, completions declined to 467,700, and the year-end stock fell further to 675,100.

This separates new activity from work finishing and work still underway. A supplier or researcher can use those measures to compare construction-market conditions. Completions in one year can reflect starts from earlier years; these aggregate tables do not match individual projects or establish a completion rate for a cohort.

One-unit homes show a different pattern: 2025 starts declined to 939,700 while completions were 1,004,800 and the year-end stock was 565,000. Five-plus-unit buildings do not include two-to-four-unit buildings, so the second group is not all multifamily housing. These are rounded estimates, not exact project counts or a test of statistical significance.

Using the full dataset

Extract the purchased ZIP and replace the sample with its complete annual.csv; the code runs unchanged. Change years, structures and the geography filter to compare other periods or regional one-unit/total series. Check series.csv first: different construction stages and adjustments begin in different years.

observations.csv holds period estimates. Select a measure, geography, structure type and adjustment before comparing dates. Unadjusted monthly flows, annualized adjusted monthly rates and end-period stocks have different meanings. Do not sum twelve annualized rates or twelve stocks to create an annual count. Annual stock figures in annual.csv are December-end values.

coverage.csv distinguishes reported values, source blanks, unavailable values, unreliable seasonal patterns and absent period slots. Early authorized-not-started observations are quarterly endpoints, not a complete monthly series. Early adjusted five-plus starts include two-to-four-unit structures through July 1963, with an explicit scope flag.

The audit tables retain eight annual/monthly comparisons and four component comparisons beyond display-rounding bounds. Original values remain unchanged; these differences do not by themselves establish a publisher error. Source notes and coordinates let you trace every observation.

The construction collection adds county permits and national spending. Permits and authorized-not-started cover permit-issuing places; the other three stages cover all areas. There is no county starts estimate or allocation of national figures to counties.

Sources and versions

Source: Census/HUD New Residential Construction historical workbooks, captured November 9, 2026 UTC. This edition contains revised history through 2025. Starts and permits reach 1959; other series begin later. Partial 2026 observations and seasonal-factor tables remain in retained source files but are excluded from the purchased analytical tables.

Read the Survey of Construction definitions and Building Permits Survey definitions for the different stages and geographic universes. Housing units are not buildings; these are new privately owned housing estimates.

Census provides the original workbooks free. ACD sells preparation, validation, documentation and delivery. Processing improvements and publisher error corrections to this purchased edition are included; future source editions may be separate purchases. Read the source and preparation record.

Example checked November 9, 2026 against both these samples and the complete purchased files. Source and processing records, sample checksums · Expected result CSV. Independent preparation; no agency endorsement.