Short answer
There is no single official count of US government agencies. Federal law creates 15 executive departments, and USAspending.gov tracks 111 top-tier agencies: those 15 plus 96 independent agencies, commissions and other bodies. USA.gov's A to Z index has 597 entries, including sub-agencies. Below the federal level are 50 state governments and 91,729 local governments, which the Census Bureau publishes in a free spreadsheet with addresses and websites.
- The 15 executive departments are fixed by law in 5 U.S.C. 101; Homeland Security was the last one added, in 2006.
- Official lists disagree: USA.gov has 597 entries, the Federal Register 473 (some defunct), USAspending.gov 111 top-tier agencies.
- HHS obligated $2.79 trillion in fiscal 2025, more than any other agency; most federal money is benefits and grants, not purchases.
- The Census Bureau's free file lists all 91,729 local governments with an address, a website and a contact title.
- 46% of counties, cities and townships serve fewer than 1,000 people, so most local governments are very small buyers.
On this page
- How many government agencies there are
- The 15 executive departments
- Independent agencies and other federal bodies
- Legislative and judicial branch agencies
- State and local governments
- Where to download each list
- Turning a list of agencies into a list of buyers
- Worked example: city clerks in Ohio
- Common mistakes
- Sources
- Questions people ask
This page is for anyone who needs a list of US government agencies: researchers and students, and especially B2B sellers building a list of public-sector organizations to sell to. It lists the federal departments and major independent agencies by branch, with acronyms and fiscal 2025 spending, explains why official counts disagree, counts state and local governments, and shows where to download each list. For how government buying works once you have the list (registration, thresholds, set-asides), read our guide to selling to the government.
How many government agencies there are
It depends on who's counting. Each official source answers a different question:
| Source | What it counts | Count |
|---|---|---|
| 5 U.S.C. 101 | Executive departments created by law | 15 |
| USAspending.gov | Top-tier agencies that report spending | 111 |
| Federal Register agency list | Bodies that publish rules and notices, including sub-agencies and some that no longer exist | 473 (247 top level, 226 sub-agencies) |
| USA.gov A to Z index | Agencies, sub-agencies, offices and programs the public looks for | 597 entries, pointing to 430 distinct websites |
| CISA .gov domain registry | Federal organizations that own a .gov domain | 146 organizations, 1,321 domains |
| Census Bureau, 2026 | Governments of every level | 91,780 (1 federal, 50 states, 91,729 local) |
Counts taken from each source on 26 October 2026, except the Census Bureau figure, which is its 2026 count.
The differences are about scope. The Federal Register list still includes bodies such as the Interstate Commerce Commission, which was terminated at the end of 1995, because their old documents remain on file. USA.gov lists some agencies under two names (the AbilityOne Commission appears as "AbilityOne Commission" and "U.S. AbilityOne Commission"). USAspending.gov leaves out bodies that aren't part of its budget reporting, such as the Postal Service, the Tennessee Valley Authority and the Library of Congress. If you need one number, say which source it comes from.
The 15 executive departments
The heads of these departments make up most of the Cabinet. The table follows the order in 5 U.S.C. 101, which is roughly the order they were created. Obligations are the money each department committed to spend in fiscal 2025 (October 2024 to September 2025), from USAspending.gov.
| Department | Acronym | Well-known components | Obligations, fiscal 2025 |
|---|---|---|---|
| State | DOS | Consular Affairs, embassies | $44.5 billion |
| Treasury | TREAS | IRS, U.S. Mint, Bureau of the Fiscal Service | $1,953.7 billion |
| Defense | DOD | Army, Navy, Air Force, Defense Logistics Agency | $1,451.3 billion |
| Justice | DOJ | FBI, DEA, Bureau of Prisons | $50.5 billion |
| Interior | DOI | National Park Service, Bureau of Land Management, USGS | $42.8 billion |
| Agriculture | USDA | Forest Service, Food Safety and Inspection Service | $276.6 billion |
| Commerce | DOC | Census Bureau, NOAA, NIST, Patent and Trademark Office | $71.8 billion |
| Labor | DOL | OSHA, Bureau of Labor Statistics | $70.6 billion |
| Health and Human Services | HHS | CMS, NIH, CDC, FDA | $2,794.3 billion |
| Housing and Urban Development | HUD | Federal Housing Administration, Ginnie Mae | $90.5 billion |
| Transportation | DOT | FAA, Federal Highway Administration | $169.6 billion |
| Energy | DOE | National Nuclear Security Administration, national laboratories | $98.5 billion |
| Education | ED | Federal Student Aid | $179.7 billion |
| Veterans Affairs | VA | Veterans Health Administration, Veterans Benefits Administration | $412.4 billion |
| Homeland Security | DHS | CBP, FEMA, TSA, Coast Guard | $171.2 billion |
Most of this money is benefits, grants, transfers and interest, not purchases. HHS is the largest agency by obligations because it runs Medicare and Medicaid, but federal contracts across all agencies came to $778.9 billion in fiscal 2025, about two thirds of it at Defense. For a seller, an agency's contract spending on what you sell matters far more than its budget.
Independent agencies and other federal bodies
USAspending.gov tracks 96 top-tier agencies outside the departments. Some are large operating agencies; many are regulators, boards and commissions with small budgets.
| Agency | Acronym | Obligations, fiscal 2025 |
|---|---|---|
| Social Security Administration | SSA | $1,740.4 billion |
| Office of Personnel Management | OPM | $262.0 billion |
| General Services Administration | GSA | $41.9 billion |
| Environmental Protection Agency | EPA | $34.3 billion |
| National Aeronautics and Space Administration | NASA | $28.8 billion |
| Railroad Retirement Board | RRB | $17.5 billion |
| Pension Benefit Guaranty Corporation | PBGC | $13.3 billion |
| Small Business Administration | SBA | $12.5 billion |
| Federal Communications Commission | FCC | $11.7 billion |
| National Science Foundation | NSF | $9.9 billion |
| Federal Deposit Insurance Corporation | FDIC | $5.1 billion |
| Consumer Financial Protection Bureau | CFPB | $2.6 billion |
| Securities and Exchange Commission | SEC | $2.3 billion |
| Executive Office of the President | EOP | $1.1 billion |
| Nuclear Regulatory Commission | NRC | $1.0 billion |
| Federal Trade Commission | FTC | $0.4 billion |
OPM's total is mostly federal retirement and health benefits, and SSA's is mostly Social Security payments. GSA matters more to sellers than its size suggests: it buys for other agencies and runs the Multiple Award Schedule.
Legislative and judicial branch agencies
Congress and the courts have their own agencies, and they buy for themselves:
| Branch | Agencies and bodies |
|---|---|
| Legislative | Government Accountability Office (GAO), Library of Congress, Government Publishing Office (GPO), Congressional Budget Office (CBO), Architect of the Capitol, U.S. Capitol Police |
| Judicial | Supreme Court, 13 courts of appeals (12 regional circuits and the Federal Circuit), 94 district courts, 90 bankruptcy courts, Administrative Office of the U.S. Courts, Federal Judicial Center, U.S. Sentencing Commission |
State and local governments
The Census Bureau counted 91,729 local governments in 2026, in addition to the 50 state governments:
| Type of local government | Number (2026) |
|---|---|
| Special districts (fire, water, housing, drainage and others) | 40,511 |
| Municipalities (cities, towns, villages) | 19,489 |
| Townships | 16,173 |
| Independent school districts | 12,525 |
| Counties | 3,031 |
Illinois has the most local governments (6,933), followed by Texas (5,795), Pennsylvania (4,835), California (4,546) and Colorado (4,158). Hawaii has 21.
Most are small. Of the 38,693 counties, cities and townships, the Census Bureau's population estimates put 17,691 (46%) under 1,000 residents and only 1,930 at 50,000 or more:
| Population served | Counties, cities and townships |
|---|---|
| Under 1,000 | 17,691 |
| 1,000 to 9,999 | 14,193 |
| 10,000 to 49,999 | 4,879 |
| 50,000 to 249,999 | 1,576 |
| 250,000 or more | 354 |
Special districts are the least visible group, and each does one job. The largest functions are local fire protection (5,974 districts), water supply (3,553), housing and community development (3,292), soil and water conservation (2,450), drainage (2,411), sewerage (1,825), libraries (1,673) and parks and recreation (1,464). For schools, see our list of schools, which covers individual schools as well as districts.
Where to download each list
| List | Format | What's in it |
|---|---|---|
| USA.gov A to Z index | Web pages | Name, short description, website and contact page for each federal agency |
| Federal Register agency list | Web pages and a free JSON API | Name, parent agency, description and website, including sub-agencies |
| USAspending.gov agency profiles | Web pages and a free API | Budgetary resources, obligations and awards by agency and sub-agency |
| CISA dotgov-data | CSV on GitHub, updated daily | Every .gov domain with its organization, sub-organization, city, state and type (federal, state, county, city, special district, tribal) |
| Census Bureau Government Units list | Excel | All 91,729 local governments: name, type, mailing address, website, population or enrollment, special district function and a contact title |
The Census file is the closest thing to a ready-made prospect list for local government. It gives a contact title for each government (mayor and clerk are the most common), though that's who answers the Census survey, not necessarily who buys, and 16,202 of the counties, cities and townships list a website.
Turning a list of agencies into a list of buyers
A list of agencies tells you who exists, not who buys what you sell. Narrow it in this order:
- Pick the level and size. A product that suits a 500-person county IT team rarely suits a 3-person township. Filter the Census file by type, population, enrollment or special district function.
- Check past buying. Search USAspending.gov for federal contracts under your industry codes; for local governments, read budgets and council agendas.
- Find the right person and time. The department head defines the need, purchasing or the clerk runs the process, and an elected body approves large contracts. Contact them while next year's budget is being drafted.
Worked example: city clerks in Ohio
Illustrative example. The company and its plan are fictional; the counts come from the Census Bureau's 2026 Government Units list.
The seller: Docket Lane (docketlane.example) sells meeting agenda and minutes software to city clerks. The question: how many good-fit cities are there in Ohio, its home state?
What the data shows. Ohio has 2,319 counties, cities and townships. Docket Lane's product suits cities of 10,000 to 49,999 residents, big enough to hold frequent public meetings but too small for a records department. The Census file lists 159 Ohio cities in that band, and 154 of them have a website listed. The contact title in the file is mayor for 55 of them and a finance director for 21, so the clerk has to be found on each city's website.
The arithmetic. If 70% of the 159 city websites name the clerk with a direct email (an illustrative assumption), that's about 111 contacts. At an illustrative 8% reply rate to a short, specific email, that's about 9 conversations: enough to learn whether the message works before expanding to Michigan and Indiana. Visiting 159 websites to find clerks is the slow part; Bebop finds the contacts for each government in a list and researches each one.
Subject: Council packets at [city] Hi [first name], I saw [city]'s council agendas run to [number] pages with the packet attached, posted [how, e.g. as one PDF on the city site]. Clerks in cities your size tell us the packet is the slowest part of the week, especially when items change the day before. We built Docket Lane for clerks in cities of 10,000 to 50,000 people. Would a 15-minute look be useful before your next budget cycle? [Your name] [Phone number]
Common mistakes
- Quoting one number as the count of agencies. Name the source and what it counts.
- Treating budget size as buying power. Most federal obligations are benefits and grants; check contract spending on what you sell.
- Ignoring special districts. There are more of them than cities, and each does a single job.
- Using defunct names. Check an agency still exists on USA.gov before you put it on a list.
Next step: once you've picked the agencies that buy what you sell, learn the registration steps, dollar thresholds and timing in our guide to selling to the government.
Sources
- 5 U.S. Code § 101, Executive departments, Legal Information Institute, Cornell Law School, accessed 26 October 2026
- A to Z index of U.S. government departments and agencies, USAGov, accessed 26 October 2026
- Agencies (and the agencies API), Federal Register, Office of the Federal Register, accessed 26 October 2026
- Agency profiles: budgetary resources and obligations, fiscal year 2025, USAspending.gov, US Department of the Treasury, accessed 26 October 2026
- Spending by awarding agency, contracts, fiscal year 2025, USAspending.gov, US Department of the Treasury, accessed 26 October 2026
- dotgov-data: current-full.csv and current-federal.csv, Cybersecurity and Infrastructure Security Agency, updated 25 October 2026
- 2026 Government Organization Tables (Local Governments by Type and State), US Census Bureau, 24 September 2026
- Government Units List, 2026 (Govt_Units_2026_Final.xlsx), US Census Bureau, extracted 13 August 2026
- Multiple Award Schedule, General Services Administration, accessed 26 October 2026
- Court role and structure, Administrative Office of the U.S. Courts, accessed 26 October 2026
Written by the Bebop team at Blackpearl Group. Last updated .
Questions people ask
How many federal agencies are there?
There is no single official count. Federal law creates 15 executive departments. USAspending.gov tracks 111 top-tier agencies, the Federal Register lists 473 bodies including sub-agencies and some defunct ones, and USA.gov's A to Z index has 597 entries pointing to 430 distinct websites. The numbers differ because each source counts different things, so always say which source you're using.
What are the 15 executive departments?
Under 5 U.S.C. 101, they are the Departments of State, the Treasury, Defense, Justice, the Interior, Agriculture, Commerce, Labor, Health and Human Services, Housing and Urban Development, Transportation, Energy, Education, Veterans Affairs and Homeland Security. Homeland Security, added in 2006, is the most recent. The heads of these departments, plus the Vice President and some other officials, make up the Cabinet.
What is an independent federal agency?
A federal agency that sits outside the 15 executive departments. Some are large operating agencies, such as the Social Security Administration, NASA and the General Services Administration. Others are regulatory commissions run by boards, such as the SEC, the FCC and the Federal Trade Commission. USAspending.gov tracks 96 top-tier agencies outside the departments, from very large to very small.
Is there a downloadable list of government agencies?
Yes. The Federal Register publishes its agency list through a free JSON API, CISA publishes every .gov domain with its owning organization as a CSV on GitHub, and USAspending.gov offers agency spending data through an API. For local governments, the Census Bureau's Government Units file is a free Excel download listing all 91,729 with addresses, websites and population.
How many local governments are there in the US?
The Census Bureau counted 91,729 local governments in 2026: 40,511 special districts, 19,489 municipalities, 16,173 townships, 12,525 independent school districts and 3,031 counties. Add the federal government and the 50 states and the total is 91,780. Illinois has the most local governments, 6,933, and 46% of counties, cities and townships serve fewer than 1,000 people.
Which federal agency spends the most?
By obligations, the Department of Health and Human Services: $2.79 trillion in fiscal 2025, mostly Medicare and Medicaid. Treasury ($1.95 trillion), the Social Security Administration ($1.74 trillion) and Defense ($1.45 trillion) follow. For contracts, which is what matters to sellers, Defense is far ahead, with about two thirds of the $778.9 billion in federal contract obligations in fiscal 2025.