No one knows how many laws there are in the US, and no one ever has. The U.S. Code organizes federal statutes into 54 titles, federal agencies have produced more than 188,000 pages of binding regulations, and none of that touches the laws of 50 states, more than 90,000 local governments, 574 tribal nations, or the running body of court decisions that decides what all of it actually means. The total isn’t just large. It’s genuinely unknowable.
Why a Precise Count Is Impossible
The first problem is definitional. If “law” means only statutes passed by a legislature, you could theoretically tally them and miss most of the rules that can actually get you fined or jailed. Federal agencies write detailed regulations that carry the same force as statutes. Courts issue binding interpretations that change what statutes and regulations mean in practice. Local governments pass ordinances. Tribal nations enact their own codes. The president issues executive orders. Every one of these sources creates rules with real consequences.
The second problem is motion. Congress passes new public laws every session. Older provisions expire through sunset clauses that automatically terminate programs unless the legislature renews them. Agencies finalize thousands of new regulations each year. Courts overturn or reinterpret existing precedent. All of this is happening simultaneously at the state and local level too. Any snapshot would be stale before it was published.
What’s at the Federal Level
The U.S. Code
Statutes passed by Congress are compiled in the United States Code, which contains all general and permanent federal statutes arranged into 54 broad titles by subject matter, from agriculture to war and national defense.1Office of the Law Revision Counsel. Detailed Guide to the United States Code Content and Features The Office of the Law Revision Counsel updates it continuously as new laws are enacted and old ones are repealed or amended.
Congress typically enacts between 275 and 440 public laws during each two-year session. The 118th Congress (2023–2025) produced 274 public laws; the 115th Congress (2017–2019) produced 442.2National Archives. Previous Sessions of Congress Public Law Numbers Not every public law creates a new rule. Many amend existing statutes, rename federal buildings, or make technical corrections. Even the tweaks ripple outward through regulations and court interpretations.
The Code of Federal Regulations
When Congress passes a statute, it often delegates the details to a federal agency. A law might say employers must maintain a safe workplace, but the Occupational Safety and Health Administration writes the specific rules on guardrail heights, chemical exposure limits, and reporting deadlines. These regulations are compiled in the Code of Federal Regulations, organized into 50 titles containing the general and permanent rules published by federal departments and agencies.3eCFR. The Electronic Code of Federal Regulations The CFR runs to more than 188,000 pages, dwarfing the U.S. Code that authorized it.
The daily vehicle for regulatory output is the Federal Register, where agencies publish proposed rules, final rules, and notices. In 2024, the Federal Register ran to over 107,000 pages and contained more than 3,200 final rules.4Federal Register. Page Count By Category Statistics That’s one year. The Federal Register is the daily record; the CFR is the permanent codification of the rules that survived. Both carry the full force of law.
Executive Orders and Agency Guidance
Federal law reaches past statutes and regulations. The president issues executive orders that direct the executive branch and carry the force of law, grounded in either constitutional authority or power delegated by Congress. These orders can reshape enforcement priorities, create programs, or impose requirements on federal contractors without a vote in Congress.
Agencies also produce guidance documents. Unlike formal regulations, guidance doesn’t go through public notice-and-comment and technically doesn’t create new legal obligations.5Federal Register. Promoting the Rule of Law Through Improved Agency Guidance Documents In practice, a guidance letter from an agency telling regulated businesses how it reads a rule can be just as consequential as the rule itself. Companies follow guidance because ignoring it invites enforcement. Another uncounted layer.
Fifty States, Fifty Legal Systems
Everything above is replicated across 50 separate state jurisdictions, each with its own constitution, legislature, and court system.6United States Courts. Comparing Federal and State Courts Most of the law that governs daily life sits here. Property transfers, divorce, contract disputes, traffic violations, and the elements of most crimes are defined by state codes, not federal ones. A federal law on any given topic is usually paired with 50 different state treatments of the same subject, each with its own language, thresholds, and penalties.
The legislative volume is staggering. Across all 50 states, legislators introduce roughly 250,000 bills during each two-year cycle. Only a fraction become law, but the fraction is still enormous.
When federal and state law conflict, the Constitution’s Supremacy Clause in Article VI puts federal law on top. Under this principle, called preemption, states cannot pass laws that contradict or undermine a federal scheme Congress clearly intended to occupy. The boundaries are often murky, which is why “what is the law?” can genuinely depend on which sovereign you’re asking about and which one chooses to enforce.
Local Governments and Tribal Nations
Below the state level sits an enormous layer of local authority. According to the Census Bureau’s 2022 Census of Governments, the United States had 90,837 local governmental entities: 3,031 county governments, 35,705 municipal and township governments, 12,546 independent school districts, and 39,555 special-purpose districts like park authorities and water utilities.7Federal Reserve Bank of St. Louis. Local Governments in the U.S.: A Breakdown by Number and Type Each can enact rules within its jurisdiction.
Municipal ordinances govern zoning, noise limits, building codes, animal control, parking, and hundreds of other topics that shape daily life until you catch a citation. School boards and health departments layer on administrative rules covering food safety inspections, public health mandates, and student conduct. None of these local rules are counted in the U.S. Code or the CFR, and no central repository tracks them all.
Then there are the 574 federally recognized tribal nations. These are not subdivisions of state government. They are separate sovereigns with inherent authority to govern themselves, including enacting legislation, establishing courts, and creating constitutions and ordinances. The Supreme Court affirmed this principle as far back as 1832. Each of the 574 tribes maintains its own legal code, adding hundreds of independent legal systems that most tallies overlook entirely.
Case Law: The Layer That Can’t Be Counted
The most unquantifiable component is the body of judicial decisions that interpret everything above. Under stare decisis, courts follow legal principles established in prior cases. When an appellate court interprets a statute, defines a constitutional right, or resolves an ambiguity in a regulation, that interpretation becomes a binding rule for all lower courts within its jurisdiction. The written text of a law is not self-executing; its practical meaning comes from an ever-growing library of court rulings.
Federal and state appellate courts collectively issue thousands of published opinions each year, each one potentially adjusting the meaning of statutes and regulations already on the books. Because a law effectively means what courts say it means, the body of enforceable rules expands with every decision.
Nobody Even Knows How Many Federal Crimes Exist
For a concrete illustration of the counting problem, consider this: the federal government does not know how many federal crimes it has created. A Department of Justice effort in the 1980s counted roughly 3,000 criminal statutes. Later academic estimates put the number above 4,000, and neither effort tried to include criminal penalties embedded in federal regulations. The best available estimate suggests around 5,000 federal criminal statutes and approximately 300,000 regulatory provisions carrying criminal penalties. Even those are rough guesses.
When the House Over-Criminalization Task Force asked the Congressional Research Service to produce a definitive count, CRS responded that it lacked the manpower and resources to accomplish the task. If Congress’s own research arm can’t count the federal crimes on the books, the broader question of how many total laws exist is plainly unanswerable.
What This Means for You
Despite the impossibility of knowing every law that applies to you, the legal system operates on the presumption that you do. The maxim “ignorance of the law is no excuse” means that violating a statute or regulation you didn’t know existed is generally not a valid defense. Courts have upheld this for centuries, reasoning that allowing such a defense would make every law effectively optional.
The Supreme Court has carved out one narrow exception. In Lambert v. California, the Court held that a person cannot be convicted for failing to register under a municipal ordinance when they had no actual knowledge of the registration requirement and no reason to suspect it existed.8Supreme Court of the United States. Lambert v. California That exception applies only to purely passive conduct and stays extremely narrow. For most laws, you’re expected to comply whether you know about them or not.
The tools for finding the specific laws that affect you are free and public. For federal statutes, the Office of the Law Revision Counsel maintains the official, continuously updated United States Code at uscode.house.gov.1Office of the Law Revision Counsel. Detailed Guide to the United States Code Content and Features For federal regulations, the Electronic Code of Federal Regulations at ecfr.gov provides a searchable, point-in-time version updated daily.3eCFR. The Electronic Code of Federal Regulations State statutes are published on each state legislature’s official website, and most states offer full-text search of their codified laws at no cost. Local ordinances are harder. Some cities and counties post their municipal codes online; others require you to contact the clerk’s office. For anything beyond straightforward research, the system’s complexity is the reason lawyers exist. No one person can master every layer, which is why the answer to “how many laws are there?” remains, and will remain, that no one knows.