Composting laws and regulations in the United States operate on a sliding scale: a backyard bin of food scraps and yard waste is legal everywhere and usually needs no permit, while a facility processing thousands of cubic yards a year faces federal water-quality standards, state solid waste permits, and local zoning restrictions. What applies to you depends on three things: what you’re composting, how much of it, and where you live. About a dozen states now require residents and businesses to keep organic waste out of landfills entirely, and that list keeps growing.
Backyard Composting: What Actually Applies
If you’re composting your own household food scraps and yard waste on your own property, no federal permit applies and most states leave you alone. The rules that matter are local, and they cluster around three concerns: odor and pests, where the bin sits, and whether your HOA lets you have one.
Local Health Codes
Municipal codes focus on odor and vermin. Many local ordinances prohibit adding meat, dairy, or cooking oils to outdoor compost bins because those materials decompose in ways that produce strong smells and attract rodents, raccoons, and flies. Keeping a proper carbon-to-nitrogen balance and turning the pile regularly aren’t just good practice; in plenty of jurisdictions they’re legal obligations.
When a pile does create problems for neighbors, the usual legal route is a private nuisance claim, which protects a neighbor’s right to the quiet enjoyment of their property. A court can order the owner to fix the problem or remove the pile entirely. Repeated violations of local health orders can escalate to daily fines and, in extreme cases, misdemeanor charges.
Zoning and Setbacks
Local zoning codes control where on your property a bin can sit. Residential codes commonly require setbacks from rear and side property lines, with greater distances from a neighbor’s house. Some municipalities also require enclosed or lidded containers to prevent wildlife access and meet aesthetic standards. The USDA’s Natural Resources Conservation Service recommends a minimum 50-foot setback from wells, streams, and other water features for any composting facility, and many state and local rules adopt similar or larger distances.1Natural Resources Conservation Service. Conservation Practice Standard Composting Facility (Code 317)
HOA Restrictions and Right-to-Compost Laws
Homeowners association covenants frequently ban or heavily restrict outdoor composting, and for many homeowners that’s the biggest practical obstacle. A small but growing number of states have passed right-to-compost laws that prevent HOAs from imposing blanket prohibitions. These laws generally allow lot owners to compost organic waste for personal use, provided they own or have exclusive use of the area and follow applicable health regulations. HOAs can still impose reasonable rules on bin placement and appearance; they just can’t ban composting outright.
State Organic Waste Diversion Mandates
Roughly a dozen states now require residents and businesses to keep organic waste out of landfills, with several more considering similar legislation. The most aggressive of these mandates target a 75 percent reduction in organic waste sent to landfills, driven by concerns about methane emissions from decomposing food.
For residents, the obligation is usually straightforward: separate food scraps from trash and use a curbside collection service or drop-off site the local government provides. For businesses, mandates tend to be more demanding. Commercial generators are typically required to subscribe to organic waste collection, provide separate bins wherever regular trash cans are placed, and keep records of compliance. Self-hauling to an approved composting facility is an alternative in most states, but comes with its own documentation requirements.
Penalties vary widely. Some states start with warnings and modest fines for households, while commercial penalties can reach thousands of dollars per violation per day. Jurisdictions that fail to implement collection programs face their own administrative penalties. Most of these mandates don’t authorize direct penalties against individual residential generators; enforcement pressure falls on local governments and businesses first.
When Federal Rules Come Into Play
No single federal law governs composting. Federal programs set the floor for a few specific situations, mostly involving larger operations, sewage sludge, or compost sold for use on organic farms.
Biosolids (Sewage Sludge) Composting
When composting involves sewage sludge, the EPA’s rules under 40 CFR Part 503 apply. These regulations set ceiling concentrations for heavy metals such as arsenic, cadmium, lead, and mercury that finished compost cannot exceed when applied to land.2eCFR. 40 CFR Part 503 – Standards for the Use or Disposal of Sewage Sludge They also establish pathogen reduction classes. Class A compost, safe for unrestricted use, must contain fewer than 1,000 fecal coliform organisms per gram of dry solids, or fewer than three Salmonella organisms per four grams.3eCFR. 40 CFR 503.32 – Pathogens The rule prescribes specific time-and-temperature combinations to hit those marks.
These biosolids rules do not apply to backyard composting of food scraps and yard waste. They matter for municipal wastewater facilities, large composting operations that accept biosolids, and anyone selling finished product derived from sewage sludge.
USDA Organic Compost Standards
Compost used on a certified organic farm has to meet the USDA’s National Organic Program requirements. The initial feedstock must have a carbon-to-nitrogen ratio between 25:1 and 40:1. For in-vessel or static aerated pile systems, the material must stay between 131°F and 170°F for at least three days. Windrow systems need 15 days at those temperatures with a minimum of five turnings.4eCFR. 7 CFR 205.203 – Soil Fertility and Crop Nutrient Management Practice Standard Compost that fails to meet these thresholds can still be used on organic land, but it gets treated like raw manure, meaning a 90- or 120-day waiting period before harvest depending on whether the crop contacts the soil.
Stormwater Discharge Permits
The Clean Water Act requires an NPDES (National Pollutant Discharge Elimination System) permit for stormwater runoff associated with industrial activity. Composting facilities can fall under this requirement if their runoff reaches waterways, particularly when classified alongside land application sites or facilities handling industrial waste.5eCFR. 40 CFR Part 122 – EPA Administered Permit Programs: The National Pollutant Discharge Elimination System Regional EPA administrators can also designate any discharge as requiring a permit if it contributes to a water quality violation. Mid-to-large outdoor composting operations therefore need to manage leachate and stormwater carefully, and many will need a permit or a documented exemption.
Permits for Commercial and Large-Scale Operations
Small-scale backyard composting is almost universally exempt from permitting. The threshold for “small-scale” varies by state, but the underlying principle is consistent: if you’re composting your own household or farm waste on your own property, you’re not running a solid waste facility.
Once you scale up, permitting kicks in. Most states use a tiered system that assigns increasingly rigorous requirements based on feedstock type and volume processed. A facility composting only yard trimmings faces lighter regulation than one accepting food waste, and both face far less scrutiny than an operation handling biosolids. The tier determines everything from siting and design standards to inspection frequency.
What the Application Requires
Permit applications for composting facilities generally require:
- A detailed inventory of feedstocks the facility will accept, since higher-risk feedstocks trigger higher regulatory tiers.
- Estimated annual volume, typically measured in cubic yards, which determines classification and oversight level.
- A scaled site plan showing processing areas, drainage, property boundaries, and distances to water features and neighboring properties.
- An operations plan covering odor, leachate, vectors, and finished product storage.
Getting the feedstock classification and volume projections right from the start matters more than people expect. Upgrading a permit to handle more heavily regulated materials is expensive and slow, so if there’s any chance the operation will eventually accept food waste or biosolids, building that into the initial application saves significant hassle.
Approval and Local Zoning
After submission, the application goes through administrative review, a site inspection, and often a public notification period during which neighbors can submit comments. The process can take several months, and filing fees range from a few hundred dollars for small operations to several thousand for larger facilities. Local zoning approval, typically through a conditional use permit, is often a prerequisite before the state environmental agency will even consider the solid waste permit.
All 50 states have right-to-farm laws that offer some protection against nuisance lawsuits for on-farm composting, but that protection generally evaporates once an operation starts accepting outside waste, selling finished compost commercially, or falling out of compliance with its permit.
Selling Compost: Registration and Labeling
Producing compost for your own garden is one thing. Selling it is another legal universe. Thirty-eight states have soil amendment laws, and if you market compost in one of those states while making claims about its soil-improving properties, the product generally has to be registered with the state agriculture department.
Labeling for packaged compost products generally includes net weight, brand name, a guaranteed analysis listing the soil-amending ingredients and their percentages, the product’s intended purpose, application directions, and the name and address of the registrant. Bulk compost sold by the truckload typically has to include a list of feedstocks and nutrient guarantees. Ingredients appear in descending order of predominance.
Smaller on-farm operations can sometimes avoid these requirements. Several states exempt farms that produce a limited volume of finished compost, with thresholds commonly falling in the 1,000 to 5,000 cubic yards per year range, provided most of it stays on the farm. Exceeding those thresholds triggers the same permitting and registration requirements that apply to commercial facilities. Selling an unregistered product can result in fines and stop-sale orders, so check your state agriculture department’s rules before your first sale.
Pathogen and Quality Testing for Commercial Product
Commercial compost sold for land application must meet pathogen limits that mirror the EPA’s Class A biosolids standards: fewer than 1,000 fecal coliform organisms per gram of dry solids, or fewer than three Salmonella organisms per four grams.3eCFR. 40 CFR 503.32 – Pathogens These thresholds apply whether the compost originated from biosolids, food waste, or yard trimmings, though testing frequency and enforcement mechanisms differ by state.
Heavy metal limits also apply. The EPA sets ceiling concentrations for nine pollutants in compost derived from biosolids, including 75 mg/kg for arsenic, 840 mg/kg for lead, and 57 mg/kg for mercury, all on a dry-weight basis.2eCFR. 40 CFR Part 503 – Standards for the Use or Disposal of Sewage Sludge Compost made entirely from plant-based feedstocks is unlikely to approach these limits, but facilities accepting mixed waste streams or biosolids need regular testing to demonstrate compliance.
For organic certification, the USDA requires documented proof that the process achieved and maintained the correct temperature range for the required duration, along with the initial carbon-to-nitrogen ratio of the feedstock blend.6United States Department of Agriculture. Compost and Vermicompost in Organic Crop Production (NOP 5021) Certified operations should expect to maintain temperature logs and feedstock records as part of their organic system plan.