How Many Mines Are There in the US? MSHA's Mine Data Explained
On this page
Problem statement
How many mines does the United States have? MSHA's register answers 12,099 that are active or working intermittently, out of 92,090 ever registered, and most of them are not what the word suggests: sand and gravel pits and stone quarries outnumber coal mines by nearly twenty to one. A mine, to MSHA, is any place where minerals are extracted or processed, including mills and preparation plants and portable crushers that move from site to site. This page counts the working mines by commodity and type, shows who runs them and how many people they employ, with how to get the data without code.
Quick answer
Count the mines by status and pick out those working:
print(mines.CURRENT_MINE_STATUS.value_counts().to_string())
working = mines.CURRENT_MINE_STATUS.isin(["Active", "Intermittent"])
print(f"active or intermittent: {working.sum():,}; of them coal: {(working & (mines.COAL_METAL_IND == 'C')).sum():,}")
CURRENT_MINE_STATUS
Abandoned 69608
Abandoned and Sealed 8823
Active 6667
Intermittent 5432
Temporarily Idled 902
NonProducing 369
New Mine 289
active or intermittent: 12,099; of them coal: 577
12,099 mines are active or intermittent, and only 577 of them are coal mines. Abandoned mines, 69,608, and sealed ones, 8,823, make up most of the file, along with a few hundred idle, non-producing and new mines that are not yet working.
Commodity, operators and portable plants
1. What a mine is to MSHA
w = mines[working]
print(pd.crosstab(w.PRIMARY_CANVASS, w.CURRENT_MINE_TYPE, margins=True).to_string())
CURRENT_MINE_TYPE Facility Surface Underground All
PRIMARY_CANVASS
Coal 174 278 125 577
Metal 30 169 50 249
Nonmetal 118 728 33 879
SandAndGravel 23 6027 0 6050
Stone 163 4064 108 4335
All 508 11266 316 12090
Of the 12,090 working mines with a type, 11,266 are surface operations, 508 facilities such as mills and preparation plants, and only 316 underground. Sand and gravel is 6,050 mines and stone 4,335, most of the working mines; coal is 577, non-metal minerals 879 and metal 249. Underground mining, the image of the industry, is a few hundred mines, 125 of them coal.
2. Who runs them
print(w.COMPANY_TYPE.value_counts(dropna=False).to_string())
print(f"operators: {w.CURRENT_OPERATOR_ID.nunique():,}; mines per operator, median {w.groupby('CURRENT_OPERATOR_ID').size().median():.0f}, most {w.groupby('CURRENT_OPERATOR_ID').size().max()}")
COMPANY_TYPE
Corporation 7017
Other 4317
Sole Proprietor 477
Partnership 241
NaN 47
operators: 6,304; mines per operator, median 1, most 221
7,017 working mines are run by corporations, 4,317 by "other" entities, the file's category for everything that is not a corporation, partnership or sole proprietor, 477 by sole proprietors and 241 by partnerships. The 6,304 operators run a median of one mine each, and the largest runs 221, almost all of them quarries and pits.
3. Portable operations
print(w.PORTABLE_OPERATION.value_counts().to_dict())
print(w[w.PORTABLE_OPERATION == "Y"].PRIMARY_CANVASS.value_counts().to_dict())
{'N': 7859, 'Y': 4240}
{'SandAndGravel': 2979, 'Stone': 1073, 'Nonmetal': 131, 'Coal': 28, 'Metal': 27}
4,240 of the working mines are portable operations, crushers and screening plants that move between sites, and they are mostly sand and gravel, 2,979, and stone, 1,073. A portable mine's position is wherever it was last registered; count them as operations, not places.
How many people work at mines
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: how many people work at mines
print(f"employees reported at active or intermittent mines: {w.NO_EMPLOYEES.sum():,.0f}; mines reporting none or no figure: {(w.NO_EMPLOYEES.fillna(0) == 0).sum():,}")
print(w.groupby("PRIMARY_CANVASS").NO_EMPLOYEES.sum().sort_values(ascending=False).astype(int).to_string())
employees reported at active or intermittent mines: 191,914; mines reporting none or no figure: 11
PRIMARY_CANVASS
Stone 61004
Metal 42462
Coal 36065
SandAndGravel 30143
Nonmetal 22240
The working mines report 191,914 employees, and only 11 report none or nothing. Stone quarries employ the most, 61,004, then metal mines with 42,462, coal 36,065, sand and gravel 30,143 and non-metal minerals 22,240. Coal, the face of mining in politics, is less than a fifth of mining jobs. These are the employee counts on the mines' information forms; the employment and production file has annual averages.
Getting the mine data without code
- Look first: MSHA's Mine Data Retrieval System looks up any mine by name, id, state or operator and shows its details, inspections, violations, accidents and employment.
- Download: the Open Government Data page has the Mines file, accidents, inspections, violations, assessed penalties and employment and production, each as a zipped pipe-delimited text file with a definition file. In a spreadsheet, import as delimited text with
|as the separator and every id column as text. - What is included: every mine and facility MSHA has jurisdiction over, coal and metal and non-metal, with closed mines kept, some with status dates back to the 1920s. Oil and gas wells are not mines and are not in it.
- How current it is: MSHA rebuilds the files weekly. These pages use the files of 23 October 2026, downloaded on 28 October 2026 and saved at data.spatialworkflow.io, with the accident narratives left out.
- Credit: US Department of Labor, Mine Safety and Health Administration, with the date of the files. It is public domain.
Internal links
- Reading the Mines file β the columns and their types
- Active mines by county β where they are
- Quarries and pits β most of the working mines
- Coal production since 2000 β the employment and production file