Composting laws in the United States are set almost entirely at the state and local level, and they fall into a few predictable categories: state mandates that require certain generators to divert food waste from landfills, municipal zoning and health rules that control how and where you can compost on your property, HOA restrictions that can be stricter than city code, and nuisance ordinances that kick in when a pile starts affecting neighbors. There is no federal law requiring anyone to compost.1U.S. Environmental Protection Agency. Composting What applies to you depends on your state, your city, and whether you live under HOA covenants.
State Mandates to Divert Organic Waste
More than a dozen states now require certain businesses and institutions to separate food waste from trash and send it to a composting or anaerobic digestion facility. These mandates generally start with the largest commercial generators and expand over time to pull in smaller businesses, schools, and sometimes residents. A common structure ties the obligation to tonnage per week and to the presence of a licensed processing facility within a set distance, so geography can determine whether the rule actually applies.
California has the broadest law. SB 1383 set a target of cutting organic waste going to landfills by 75 percent by 2025 and requires every jurisdiction in the state to offer organic waste collection to all residents and businesses. Local agencies can inspect bins and issue escalating penalties: $50 to $100 for a first violation, $100 to $200 for a second within a year, and $250 to $500 for additional violations of the same requirement within a year.
Vermont went further and banned food scraps from landfills entirely as of July 2020 under its Universal Recycling Law. That ban applies to everyone, including homeowners. Other states use shrinking tonnage thresholds. Massachusetts started at one ton per week in 2014 and dropped to half a ton in 2022. New York covers generators of two or more tons per week and expands in 2027 to those producing one ton. Connecticut covers commercial generators and institutions producing at least 26 tons per year, and public and private K-12 schools come under the same rule in mid-2026. New Jersey’s rules took effect in 2026 for large generators producing 52 or more tons annually within 25 miles of a permitted facility. Washington passed organics laws in 2022 and 2024 that phase in mandatory collection through 2030, targeting a 75 percent diversion rate. Maine’s mandate begins in 2030, initially covering generators of two tons per week within 20 miles of an organics recycler.
The direction is consistent across every state that has acted: voluntary programs are being replaced with enforceable requirements, and the thresholds for who must comply keep dropping.
City Rules on Where and How You Can Compost
Even in states with no organic waste mandate, your city or county almost certainly has rules about residential composting. Municipal zoning codes typically require a compost bin to sit a minimum distance from property lines, commonly four to fifteen feet depending on the jurisdiction, to keep decomposition away from shared fences and neighboring homes. Height limits are also standard, with many ordinances capping compost structures at four or five feet. Some codes limit total footprint based on lot size, and many require enclosed, animal-resistant containers rather than open piles. An uncovered heap that works on rural acreage can violate code in a suburban neighborhood.
These rules rarely require you to apply for a permit for a standard backyard bin. They work more like setback requirements: nothing to file in advance, but if your setup breaks the code and a neighbor complains, code enforcement can issue a notice of violation and order you to move or modify the bin.
HOA Restrictions and Right-to-Compost Laws
Homeowners associations add a private layer of regulation that is often stricter than municipal code. HOA bylaws may prohibit visible composting equipment, restrict bins to screened areas, or ban composting in common-area yards entirely. Violations can trigger fines or removal orders under the association’s governing documents, and because you agreed to those bylaws when you bought the property, they are enforceable.
A small but growing number of states have passed right-to-compost laws that limit what HOAs can prohibit. These statutes generally stop associations from banning composting outright while still allowing reasonable restrictions on size, placement, and appearance. “Reasonable” means an HOA can require an enclosed bin in the backyard but cannot prohibit composting altogether. A few states extend similar protections to condo owners by guaranteeing the right to contract with a private organics collection service even when the HOA doesn’t offer one.
If you live in an HOA community and want to compost, check your state’s property code first. Where no right-to-compost law exists, the governing documents control, and the practical path is usually persuading the board to amend the rules rather than relying on legal protection.
What You Can’t Put in the Bin
Local ordinances define what counts as acceptable organic waste, and the list is narrower than most people assume. Residential composting rules typically prohibit meat, dairy, cooking fats, and oils because they attract rodents and require processing temperatures a backyard bin can’t reach. Pet waste is almost universally excluded from both curbside green bins and backyard systems, since health departments classify it as a pathogen source. Treated wood, coal ash, and non-certified plastics are also banned in most jurisdictions.
Putting prohibited items in a municipal green bin can get the whole truckload rejected as contaminated at the processing facility. Many cities enforce this through surcharges on repeat offenders’ utility bills. One household’s mistake can ruin a route’s worth of material, which is why local governments pay close attention to what goes into the bin.
When “Compostable” Labeling Actually Means Something
Products marketed as compostable have to meet specific scientific standards to be labeled that way legitimately. ASTM D6400 is the primary standard for compostable plastics in the United States, setting rules for how completely and quickly a product must biodegrade in an industrial composting environment. ASTM D6868 covers coated paper and fiber products. Third-party certification programs test against these standards and issue the marks that composting facilities and cities rely on when deciding what to accept.
Several states now require that products labeled compostable carry third-party certification, not a manufacturer’s self-declaration. Some have also banned intentionally added PFAS in compostable food packaging, and certification programs require products to test below 100 parts per million of total organic fluorine. Most certified compostable products are only certified for industrial composting, where sustained high temperatures break them down. A product certified under ASTM D6400 won’t necessarily decompose in your backyard bin. A separate home compostability certification launched in 2025, but very few products carry it yet. If your green bin goes to an industrial facility, industrial-certified products are fine. For a backyard pile, stick to food scraps and yard trimmings and ignore the “compostable” label on packaging unless it specifically says home-compostable.
When Composting Becomes a Nuisance Violation
A compost bin becomes a legal problem the moment it starts affecting your neighbors. Public health ordinances in most jurisdictions give code enforcement authority on two fronts: pest harboring and odor.
Vector control laws require you to manage your pile so it doesn’t breed or attract rodents, flies, or other pests. If a code enforcement officer finds the pile is harboring vermin, you’ll typically receive an abatement order telling you to fix the problem or dismantle the system within a short window, often just a few days. Ignoring the order can end with the city hiring a contractor to remove the pile and billing you for the cost.
Odor complaints follow a similar path. A pile can be classified as a public nuisance if the smell is detectable past your property line, with sanctions starting at a warning and escalating to daily fines. Persistent odor problems can end in a court injunction barring composting on the property. A well-managed bin with the right carbon-to-nitrogen ratio and adequate aeration produces almost no detectable odor. The piles that generate complaints are usually too wet, oxygen-starved, or full of materials that shouldn’t be there.
Food Donation as a Legal Alternative
EPA guidance ranks preventing wasted food first, donating edible food second, and composting seventh out of twelve pathways. For businesses subject to organic waste mandates, donating surplus edible food can satisfy diversion requirements and reduce disposal costs at the same time.
The Bill Emerson Good Samaritan Food Donation Act removes the liability concern that historically discouraged donations. Under the federal statute, anyone who donates apparently wholesome food in good faith to a nonprofit for distribution to people in need is shielded from civil and criminal liability for the food’s condition. Nonprofits receiving those donations get the same protection. The only exception is gross negligence or intentional misconduct, defined as conscious conduct by someone who knew it was likely to cause harm. The protection also covers landowners who allow gleaning on their property; if volunteers from a food bank are injured while collecting produce, you’re not liable absent gross negligence.2Office of the Law Revision Counsel. 42 USC 1791 – Bill Emerson Good Samaritan Food Donation Act
Businesses that donate food inventory to qualifying charities can deduct the contribution, subject to a cap of 15 percent of net income from all trades or businesses that donated food inventory during the year. The food must be apparently wholesome and used solely for the care of the ill, needy, or infants, and the receiving organization must provide a written statement confirming it will comply. Any deduction above the 15 percent cap can carry forward for up to five years. Businesses that don’t track inventory under standard accounting methods can treat the basis of donated food as 25 percent of fair market value, which makes the deduction accessible to restaurants and grocers that lack precise cost-basis records for surplus food.3Internal Revenue Service. Publication 526, Charitable Contributions
Permits for Operations Beyond the Backyard
Backyard composting doesn’t require environmental permits. If you’re planning a community-scale or commercial operation, that changes. Under the Clean Water Act, any facility that discharges pollutants from a point source into U.S. waters needs a National Pollutant Discharge Elimination System permit.4U.S. Environmental Protection Agency. NPDES Permit Basics Composting facilities sit in a regulatory gray area, and whether yours needs a stormwater permit depends on size, proximity to waterways, whether runoff leaves the site, and how the state classifies compost leachate. Some states treat runoff from finished piles as stormwater; others treat it as wastewater subject to stricter discharge rules. Farm-based operations often qualify for agricultural exemptions even when they rival commercial facilities in scale.
State composting facility permits are a separate layer, with requirements and fees that vary widely. Many states exempt small community sites or charge modest registration fees below certain volume thresholds, while full commercial permits in heavily regulated states can involve application fees, annual renewals, and detailed operating plans. If you’re considering anything beyond a backyard bin, your state environmental agency’s solid waste division is the place to find out which tier applies to your planned scale and feedstock. Many cities also offer rebates of roughly $80 to $250 toward the purchase of a residential bin or tumbler, and those programs come and go with municipal budgets, so check your local waste authority’s current listings.