How to Chart US Coal Production and Mining Jobs Since 2000
On this page
Problem statement
MSHA's annual employment and production file records every mine's hours worked, average employment and, for coal mines, tons produced, every year since 2000. It is the plant-level record behind the decline of American coal: how much fell, where production went and how few mines now produce most of it. This page sums coal production, employment and mine counts by year, follows productivity per worker, ranks the producing states and the largest mines, and checks how complete the latest years are.
Quick answer
Sum coal production, average employment and mine counts by calendar year:
prod = read("MinesProdYearly.txt")
for c in ["CALENDAR_YR", "ANNUAL_HRS", "ANNUAL_COAL_PROD", "AVG_ANNUAL_EMPL"]:
prod[c] = pd.to_numeric(prod[c], errors="coerce")
coal = prod[prod.C_M_IND == "C"]
y = coal.groupby("CALENDAR_YR").agg(tons=("ANNUAL_COAL_PROD", "sum"), employees=("AVG_ANNUAL_EMPL", "sum"), mines=("MINE_ID", "nunique"))
print((y.loc[[2000, 2008, 2015, 2020, 2024, 2025]] / [1e6, 1, 1]).round(1).to_string())
tons employees mines
CALENDAR_YR
2000 1078.1 75991.0 2119.0
2008 1172.4 90175.0 2122.0
2015 896.7 68394.0 1454.0
2020 535.5 43749.0 1014.0
2024 512.5 45776.0 934.0
2025 527.7 43083.0 869.0
Coal mines produced 1,078.1 million tons in 2000 with 75,991 workers at 2,119 mines. Output peaked at 1,172.4 million tons in 2008, with 90,175 workers, then fell to 896.7 million in 2015 and 535.5 million in 2020. In 2024 and 2025 it held at 512.5 and 527.7 million tons, less than half the 2008 peak, from 934 and 869 mines with 45,776 and 43,083 workers.
Productivity, states and the largest mines
1. Tons per worker
y["tons_per_employee"] = y.tons / y.employees
print(y.tons_per_employee.loc[[2000, 2010, 2020, 2025]].round(0).to_string())
CALENDAR_YR
2000 14187.0
2010 12150.0
2020 12239.0
2025 12247.0
Tons per worker have barely moved: 14,187 in 2000, 12,150 in 2010, 12,239 in 2020 and 12,247 in 2025. Coal lost jobs because it lost production, not because machines replaced miners in this period; the shift towards the huge surface mines of the West, which produce far more per worker, roughly offset Appalachian seams getting thinner and harder.
2. Where it is mined
st = coal[coal.CALENDAR_YR == 2025].groupby("STATE_ABBR").ANNUAL_COAL_PROD.sum().sort_values(ascending=False) / 1e6
print(st.head(6).round(1).to_string())
print(f"Wyoming's share in 2025: {st.loc['WY'] / st.sum():.1%}")
STATE_ABBR
WY 211.7
WV 80.9
PA 42.0
IL 34.1
MT 23.6
ND 23.3
Wyoming's share in 2025: 40.1%
Wyoming mined 211.7 million tons in 2025, 40.1% of the national total, then West Virginia with 80.9 million, Pennsylvania 42.0, Illinois 34.1, Montana and North Dakota. One state's Powder River Basin produces two fifths of American coal.
3. The largest mines
m25 = coal[coal.CALENDAR_YR == 2025].groupby(["MINE_ID", "CURR_MINE_NM", "STATE_ABBR"]).ANNUAL_COAL_PROD.sum().sort_values(ascending=False) / 1e6
print(m25.head(6).round(1).to_string())
print(f"largest 10 mines' share of 2025 production: {m25.head(10).sum() / m25.sum():.1%}")
MINE_ID CURR_MINE_NM STATE_ABBR
4801353 North Antelope Rochelle Mine WY 65.0
4800977 Black Thunder WY 49.4
4801337 Antelope Coal Mine WY 19.1
4800732 Belle Ayr Mine WY 14.5
4800992 Cordero Rojo Mine WY 12.0
3607230 Bailey Mine PA 11.8
largest 10 mines' share of 2025 production: 40.9%
The largest mine, North Antelope Rochelle in Wyoming, produced 65.0 million tons in 2025, and Black Thunder 49.4 million; five of the six largest are Wyoming surface mines, and Pennsylvania's underground Bailey Mine is sixth. The ten largest mines produce 40.9% of the country's coal.
The year is incomplete
The data used on this page
The US Mine Safety and Health Administration's Open Government Data sets: the Mines file of every mine ever registered, annual employment and production by mine since 2000, and the accident reports from 2000 on (24 of their 57 columns, without the narratives), all as published on 23 October 2026, downloaded on 28 October 2026 and saved on this site, because MSHA replaces the files every week. Public domain. The files are pipe-delimited and Latin-1 encoded.
from pathlib import Path
import zipfile
import geopandas as gpd
import numpy as np
import pandas as pd
import requests
Path("data").mkdir(exist_ok=True)
# MSHA's Mines file, annual employment and production by mine since 2000 and accident reports since 2000 (24 columns,
# no narratives), all of 23 October 2026, with the Census Bureau's county estimates, counties and states. Saved
# 28 October 2026: MSHA replaces the files every week.
# Live: https://arlweb.msha.gov/OpenGovernmentData/DataSets/Mines.zip (and MinesProdYearly.zip, Accidents.zip)
ARCHIVE = "msha-mines-2026-10-28.zip"
if not Path(f"data/{ARCHIVE}").exists():
Path(f"data/{ARCHIVE}").write_bytes(requests.get(f"https://data.spatialworkflow.io/{ARCHIVE}", timeout=900).content)
Z = zipfile.ZipFile(f"data/{ARCHIVE}")
for f in ["cb_2024_us_county_20m.zip", "cb_2024_us_state_20m.zip"]:
Path(f"data/{f}").write_bytes(Z.read(f))
def read(name):
return pd.read_csv(Z.open(name), sep="|", encoding="latin-1", dtype=str, low_memory=False) # pipe-delimited, Latin-1, ids keep zeros
mines = read("Mines.txt")
for c in ["LATITUDE", "LONGITUDE", "NO_EMPLOYEES"]:
mines[c] = pd.to_numeric(mines[c], errors="coerce")
print(f"MSHA Mines file: {len(mines):,} mines; {mines.CURRENT_MINE_STATUS.value_counts().head(3).to_dict()}")
MSHA Mines file: 92,090 mines; {'Abandoned': 69608, 'Abandoned and Sealed': 8823, 'Active': 6667}
Example 1: the year is incomplete
print(f"latest year in the file: {prod.CALENDAR_YR.max()}; mines reporting in 2025: {coal[coal.CALENDAR_YR == 2025].MINE_ID.nunique()}, in 2026: {coal[coal.CALENDAR_YR == 2026].MINE_ID.nunique()}")
latest year in the file: 2026; mines reporting in 2025: 869, in 2026: 977
The file's latest year is 2026, the current one, and 977 coal mines already have a record for it, more than the 869 of 2025: a mine gets a row as soon as it reports any quarter, including mines that only report hours for maintenance or development. Production for 2026 covers only the quarters reported so far. Chart full years only, count mines that produced coal rather than mines with a row, and expect the last full year to be revised as late reports arrive.
Internal links
- Mine injury rates β the hours in this file used as a denominator
- Active mines by county β where the coal mines are
- Power plants from EIA-860 β where the coal is burned
- Reading the Mines file β the mine ids that join the two files