Verified against statute text · July 2026

Can your city or HOA ban your garden?

You'll read online that 19 states protect your right to grow food. We checked the statute text of every one. The real number is six, and most of those bind city hall, not your HOA. Here's what your state actually says.

The six that count

States with real garden protection.

California

Partial protection · 2014

Cal. Civil Code § 4750 (AB 2561); renters: Civil Code § 1940.10

Your HOA cannot ban a food garden in your backyard, and landlords must let renters grow food in portable containers. Cities can still regulate front-yard gardens.

HOAs: Yes, backyards (exclusive-use areas) only; HOAs may still set reasonable rules

Colorado

Partial protection · 2023

C.R.S. § 38-33.3-106.5 (SB 23-178)

If you own a detached home, your HOA cannot prohibit a vegetable garden in your front, back, or side yard. Attached homes and city rules are not covered.

HOAs: Yes, front, back, or side yard, but single-family detached homes only; no protection from city ordinances

Florida

Protected · 2019

Fla. Stat. § 604.71 (local governments); Fla. Stat. § 720.3045 (HOAs)

Your city or county cannot regulate your home vegetable garden anywhere on your lot (2019), and since 2023 your HOA cannot ban one that is out of sight of the street and neighbors.

HOAs: Partial: since 2023, HOAs cannot restrict gardens NOT visible from the street, neighbors, common areas, or a golf course; visible front-yard gardens are still HOA-restrictable

Illinois

Protected · 2021

Garden Act, 505 ILCS 87 (P.A. 102-0161)

You may grow vegetables, fruits, and herbs anywhere on your own property (in-ground, raised beds, or containers) and no Illinois city or county can ban it. Your HOA still can.

HOAs: No, preempts counties and municipalities (including home-rule) only

Maine

Protected · 2021

Me. Const. art. I, § 25 (Right to Food amendment)

Maine's constitution guarantees your right to grow, raise, and harvest your own food, the strongest protection in the nation against government interference. HOA covenants are not covered.

HOAs: No, a constitutional right against government action; it does not override private HOA covenants and its reach over local ordinances is still being tested in court

Texas

Partial protection · 2023

Tex. Const. art. I, § 36 (Prop 1 / HJR 126)

The Texas constitution now protects generally accepted horticulture practices on property you own or lease, a promising but untested shield against local ordinances. HOA rules still apply.

HOAs: No, it restrains government regulation, not private HOA covenants; courts have not yet applied it to home gardens

All 50 states + DC

The full table.

StateStatusWhat it means for you
AlabamaNo state lawNo state right-to-garden law. City zoning and HOA rules control; check both before you plant.
AlaskaNo state lawNo state right-to-garden law. City zoning and HOA rules control; check both before you plant.
ArizonaNo state lawNo state right-to-garden law. City zoning and HOA rules control; check both before you plant.
ArkansasNo state lawNo state right-to-garden law. City zoning and HOA rules control; check both before you plant.
CaliforniaPartial protectionYour HOA cannot ban a food garden in your backyard, and landlords must let renters grow food in portable containers. Cities can still regulate front-yard gardens.
ColoradoPartial protectionIf you own a detached home, your HOA cannot prohibit a vegetable garden in your front, back, or side yard. Attached homes and city rules are not covered.
ConnecticutNo state lawNo state right-to-garden law. City zoning and HOA rules control; check both before you plant.
DelawareNo state lawNo state right-to-garden law. City zoning and HOA rules control; check both before you plant.
District of ColumbiaNo state lawNo right-to-garden law; DC encourages gardens (Food Production and Urban Gardens Program), but no statute stops HOAs or zoning from restricting them.
FloridaProtectedYour city or county cannot regulate your home vegetable garden anywhere on your lot (2019), and since 2023 your HOA cannot ban one that is out of sight of the street and neighbors.
GeorgiaNo state lawNo state right-to-garden law (the 2022 Freedom to Farm Act is nuisance protection for farms, not home gardens). Check city zoning and HOA rules.
HawaiiNo state lawNo state right-to-garden law. City zoning and HOA rules control; check both before you plant.
IdahoNo state lawNo state right-to-garden law. City zoning and HOA rules control; check both before you plant.
IllinoisProtectedYou may grow vegetables, fruits, and herbs anywhere on your own property (in-ground, raised beds, or containers) and no Illinois city or county can ban it. Your HOA still can.
IndianaNo state lawNo state right-to-garden law. City zoning and HOA rules control; check both before you plant.
IowaNo state lawNo state right-to-garden law (a right-to-garden proposal has circulated but has not been enacted). Check city zoning and HOA rules.
KansasNo state lawNo state right-to-garden law. City zoning and HOA rules control; check both before you plant.
KentuckyNo state lawNo state right-to-garden law. City zoning and HOA rules control; check both before you plant.
LouisianaNo state lawNo state right-to-garden law. City zoning and HOA rules control; check both before you plant.
MaineProtectedMaine's constitution guarantees your right to grow, raise, and harvest your own food, the strongest protection in the nation against government interference. HOA covenants are not covered.
MarylandNo state lawNo vegetable-garden law. Maryland's 2021 low-impact landscaping law (Real Prop. § 2-119) limits HOA bans on rain, pollinator, and native-plant gardens, but vegetable gardens are not on its list.
MassachusettsNo state lawNo state right-to-garden law. City zoning and HOA rules control; check both before you plant.
MichiganNo state lawNo right-to-garden law. The Right to Farm Act protects commercial farms, not home gardens, and since 2014 generally excludes residential areas. Check city zoning and HOA rules.
MinnesotaNo state lawNo vegetable-garden law (the 2023 managed-natural-landscape law protects native lawns from city rules, not food gardens). Check city zoning and HOA rules.
MississippiNo state lawNo state right-to-garden law. City zoning and HOA rules control; check both before you plant.
MissouriNo state lawNo garden-specific law. The 2014 right-to-farm constitutional amendment protects farming operations and has not been held to cover home gardens. Check city zoning and HOA rules.
MontanaNo state lawNo state right-to-garden law. City zoning and HOA rules control; check both before you plant.
NebraskaNo state lawNo state right-to-garden law. City zoning and HOA rules control; check both before you plant.
NevadaNo state lawNo vegetable-garden law. NRS 116.330 stops HOAs from banning drought-tolerant landscaping, but vegetable gardens are not named in the statute. Check city zoning and HOA rules.
New HampshireNo state lawNo state right-to-garden law (a right-to-food constitutional amendment was proposed but failed). Check city zoning and HOA rules.
New JerseyNo state lawNo state right-to-garden law. City zoning and HOA rules control; check both before you plant.
New MexicoNo state lawNo state right-to-garden law. City zoning and HOA rules control; check both before you plant.
New YorkNo state lawNo state right-to-garden law yet. A Garden Protection Act (A2122/S879) is pending in Albany, and a community-gardens bill was vetoed in 2023. Check local zoning and HOA rules.
North CarolinaNo state lawNo state right-to-garden law. City zoning and HOA rules control; check both before you plant.
North DakotaNo state lawNo garden-specific law. The 2012 right-to-farm amendment addresses farming and ranching, not residential gardens. Check city zoning and HOA rules.
OhioNo state lawNo state right-to-garden law. City zoning and HOA rules control; check both before you plant.
OklahomaNo state lawNo right-to-garden law yet. A Right to Garden Act has been introduced repeatedly (2022, 2023, 2025) and passed the House once, but has never been enacted. Check city zoning and HOA rules.
OregonNo state lawNo state right-to-garden law. City zoning and HOA rules control; check both before you plant.
PennsylvaniaNo state lawNo state right-to-garden law. City zoning and HOA rules control; check both before you plant.
Rhode IslandNo state lawNo state right-to-garden law. City zoning and HOA rules control; check both before you plant.
South CarolinaNo state lawNo state right-to-garden law. City zoning and HOA rules control; check both before you plant.
South DakotaNo state lawNo state right-to-garden law. City zoning and HOA rules control; check both before you plant.
TennesseeNo state lawNo state right-to-garden law. City zoning and HOA rules control; check both before you plant.
TexasPartial protectionThe Texas constitution now protects generally accepted horticulture practices on property you own or lease, a promising but untested shield against local ordinances. HOA rules still apply.
UtahNo state lawNo vegetable-garden law. Utah's HOA statute (§ 57-8a-231) protects water-wise landscaping, but vegetable gardens are not named. Check city zoning and HOA rules.
VermontNo state lawNo state right-to-garden law. City zoning and HOA rules control; check both before you plant.
VirginiaNo state lawNo state right-to-garden law (conservation-landscaping HOA bills have stalled; the right-to-farm statute covers ag-zoned land only). Check city zoning and HOA rules.
WashingtonNo state lawNo vegetable-garden law. RCW 64.38.057 limits HOA bans on drought-resistant landscaping and pollinator habitat, but vegetable gardens are not named. Check city zoning and HOA rules.
West VirginiaNo state lawNo state right-to-garden law (right-to-food amendment attempts have failed in the legislature). Check city zoning and HOA rules.
WisconsinNo state lawNo right-to-garden law yet. A Wisconsin Vegetable Garden Protection Act was introduced in 2023 but has not passed. Check city zoning and HOA rules.
WyomingNo state lawNo state right-to-garden law. City zoning and HOA rules control; check both before you plant.

State law is only one layer. HOA covenants, deed restrictions, and local ordinances vary widely and change often. Even in protected states, most laws restrain city and county governments, not HOAs. This page is general information, not legal advice; verify current statutes and your community's rules before relying on them. Statutes verified July 2026.

Restricted yard? Grow where the rules can't reach.

Backyards, raised beds, and containers rarely draw complaints, and a balcony garden almost never does. The free planner works backward from what your family eats to exactly what fits your space.