No, a city ordinance cannot supersede a state law. When a local ordinance conflicts with a state statute, the state statute controls and the ordinance is invalid. Cities still have real authority to regulate local matters, and in some situations a city can even set stricter rules than the state, but a city can never override its state.
Why State Law Wins
The hierarchy is built into the structure of American government. The U.S. Constitution’s Supremacy Clause makes federal law the “supreme Law of the Land.”1Constitution Annotated. Article VI – Supreme Law, Clause 2 The same logic runs one step further down: state constitutions and statutes override the ordinances of the cities and counties inside them. A local government is legally a creation of the state. It cannot enact rules that contradict its creator.
The legal term for the override is preemption. When a state preempts a local law, the state is declaring that its rule controls and the local version has no force. Preemption has become an increasingly common tool in state legislatures, and the practical effect is that a city ordinance appearing on the books is not always enforceable.
The Two Ways a State Overrides a City
Preemption comes in two forms, and knowing which one is at work usually decides whether a local ordinance survives.
Express preemption is written directly into the statute. The state law explicitly says local governments cannot regulate a particular subject. Firearms are the most familiar example: roughly 46 states have laws that expressly prohibit cities from enacting their own gun ordinances. When the legislature spells out the block, there is little room to argue.
Implied preemption is inferred by courts rather than stated by the legislature, and it works in two ways. The first is direct conflict. If a state law makes an activity a felony, a city cannot pass an ordinance legalizing it, and vice versa. The second is “field preemption”: a state has regulated a subject so thoroughly that a court concludes the state intended to be the only authority. Mortgage foreclosure procedures often fall in this category, because the statutory framework is so detailed that no room is left for a local variation.
When a City Can Go Further Than the State
A local ordinance is not automatically invalid just because it covers the same subject as a state law. The controlling question is whether the state law sets a floor or a ceiling.
When a state law establishes a minimum standard, a city can usually go further without creating a conflict. Complying with the stricter local rule automatically satisfies the less demanding state requirement, so there is nothing to contradict. Environmental and public health regulations often work this way. If a state sets baseline standards for stormwater runoff, a city may adopt tougher limits tailored to local conditions. A business meeting the city’s stricter standard is also meeting the state’s minimum. Some cities have banned single-use plastic bags on the same theory, when state law neither expressly prohibits the ban nor signals that the state means to be the sole regulator.
Whether a particular state law is a floor or something more restrictive depends on the statute’s language and the legislature’s intent. That is exactly the kind of question that ends up in court.
When a City Cannot Go Further
Ceiling preemption is the flip side. Here the state law does not just set a minimum; it also caps what a city can require. It is tempting to assume that stricter is always safer for a city to enact, but ceiling preemption specifically prevents going above the state standard.
Minimum wage is the leading example. Some cities have adopted local minimum wages above the state level, but at least 26 states have passed laws expressly prohibiting local governments from setting their own wage floors. In those states, a city cannot require employers to pay above the state minimum regardless of local cost of living. Paid leave rules face comparable preemption in roughly 23 states.
Tax and spending caps are another widespread form of ceiling preemption. Over 40 states impose limits on local tax rates or expenditure levels, keeping cities from raising revenue beyond a state-set ceiling. These caps bind even cities with broad home rule authority.
If you are trying to figure out which rules apply to your business or your paycheck, the first question is whether the state law on the subject is a floor you can build on or a ceiling you cannot exceed. Getting that wrong can mean either missing a local ordinance you did not know about or relying on a local protection that does not legally exist.
How Much Independent Authority Does a City Have?
Before a city can regulate anything, it needs authority to act. States hand that authority out in very different amounts.
Home Rule
Home rule is the main source of independent local power. It is a grant of authority, usually written into a state’s constitution or statutes, that lets a city or county govern itself on matters of local concern without asking the legislature for permission each time. A home rule city can typically adopt its own charter, which functions like a local constitution defining the city’s structure and powers.
Home rule is granted by the state, and the state decides how broad it will be. Roughly ten states give their municipalities robust home rule authority across the board. Others grant it selectively or with significant limitations. Even in strong home rule states, a city can regulate local affairs but cannot contradict state law on subjects the state has claimed. Zoning and land use, local parking, park administration, and the internal structure of city departments are the sort of decisions that typically fall inside home rule.
Dillon’s Rule
In states without meaningful home rule, cities operate under a much tighter doctrine called Dillon’s Rule. Named after a 19th-century Iowa judge, it holds that local governments can exercise only the powers the state has expressly granted, powers necessarily implied from those grants, and powers essential to the city’s core purpose. Anything else is off-limits.
About 39 states apply Dillon’s Rule to at least some of their municipalities, and 31 apply it to all of them. In a strict Dillon’s Rule state, a city that wants to legislate on a subject the state has not already authorized must go to the legislature and ask. Some states blend the two approaches, applying Dillon’s Rule to certain municipalities and home rule to others, or granting home rule broadly while carving out specific subjects. Florida, for example, grants home rule for most purposes but withholds it for tax policy.
How Courts Decide Close Cases
When a dispute reaches court, judges typically ask whether the subject is a “local affair” or a “statewide concern.” That distinction does most of the heavy lifting.
Courts weigh whether the subject requires a uniform approach across the state, whether the regulation reaches people and businesses outside city limits, and whether the state has a strong interest in controlling the area. Criminal law, state highway rules, and professional licensing are almost always statewide concerns. A city cannot license doctors or rewrite the rules of the road on a state highway.
Other subjects sit in a gray zone. Short-term rental regulation is one. Some cities have tried to restrict platforms like Airbnb through local zoning, treating the issue as land use. Several states have responded with legislation requiring cities to allow short-term rentals under a licensing scheme rather than a ban. Ride-sharing followed a similar path, with roughly 41 states preempting local authority over companies like Uber and Lyft and treating transportation networks as a statewide matter.
Personal Risk for Local Officials
A recent development worth flagging is punitive preemption. Traditional preemption simply voids the conflicting local ordinance. Punitive preemption goes further, attaching personal consequences to officials who pass or enforce a preempted rule.
Firearms preemption has been the main vehicle. Several states penalize local officials who adopt gun regulations inconsistent with state preemption statutes. In some states, officials found in knowing violation face civil fines of up to $5,000 and can be removed from office by the governor. In at least one state, violating the firearms preemption law is a criminal offense. In some jurisdictions, public funds cannot be used to pay the fines or mount a defense.
What This Means for a Local Ordinance in Front of You
If you are looking at a city ordinance and a state law that seem to point in different directions, the safe working assumption is that the state law controls. If the state has expressly preempted the subject, or has regulated it so completely that no room is left for local rules, the ordinance is void even if no one has yet challenged it in court. If the state law sets a minimum and the local rule goes stricter without contradicting anything, both can operate together. And if the state law caps what a city can do, the local rule cannot climb higher no matter what it says on its face. When in doubt, follow the state rule and check the statute for a preemption clause before relying on anything the city has enacted.