Check the rules first
Whether goats are allowed at all depends on local zoning. The City of San Diego's urban farming page shows how detailed such rules can be for single-family homes (citing Municipal Code Section 44.0307):
| Rule | San Diego requirement |
|---|---|
| Number | Two goats must be kept (goats are herd animals); offspring may stay up to 12 weeks from birth |
| Type | Only miniature, pygmy or dwarf goats |
| Horns and sex | All goats dehorned; males neutered |
| Shed | At least 10 sq ft, predator-proof, vented, waterproof, easy to clean; outside required zoning setbacks (for most single-family homes, 5 ft from side lines and 13 ft from the rear line) |
| Enclosure | At least 400 sq ft with direct shed access |
| Fence | 5 ft tall, secured from outside the pen, with nothing a goat could climb out on |
Other cities may ban goats outright, allow them only on larger lots, or require permits. Questions to bring to the local planning office: Are goats allowed in this zone? How many? Which breeds? What setbacks apply to shelters? Is a permit or registration needed?
Space
| Space type | Figure | Source |
|---|---|---|
| Enclosed housing (barn) | 20–25 sq ft per goat | Purdue University (dairy goats) |
| Open housing (shed) | 8–10 sq ft per goat "desirable" | NC State Extension (meat goats) |
| Exercise area | 50 sq ft per goat | Purdue University |
| Pasture | 0.2–0.3 acres per goat | Purdue University |
| City example | 10 sq ft shed minimum, 400 sq ft enclosure | City of San Diego |
Figures vary because the sources address different settings: Purdue's are for dairy goat housing, NC State's for meat goat herds, San Diego's are legal minimums for miniature breeds. Most backyards cannot supply pasture at Purdue's rate, which means goats there depend on purchased feed.
- Three-sided shelter, open side facing south away from prevailing wind
- Exercise yard: about 50 sq ft per goat (Purdue)
- Fence at least 4 ft high (Purdue); 5 ft in San Diego's rules
- Two goats minimum: herd animals
Fencing and predators
Purdue recommends "high well-constructed fences, at least 4 feet high", electric or woven wire, for both confinement and predator protection. It names dogs as the greatest predator concern and coyotes as a growing one, especially for kids (young goats). NC State adds that housing goats near the house helps, since "nearness to human activity plays a role in predator control", and that working pens should be at least 5 to 6 feet tall.
Shelter
Purdue describes simple three-sided shelters with the open front facing south, away from prevailing winds, as workable. Goats need dry bedding, ventilation without drafts, and protection from rain and snow. Their comfort zone is about 55 to 70°F, and they tolerate cold better than heat, so summer cooling matters more than winter warming.
Before committing
- Plan for at least two animals where rules or herd behavior require it (San Diego's rule is explicit).
- Separate bucks: Purdue advises housing bucks apart and downwind from the herd, with their own exercise lot.
- Find a veterinarian who treats goats before they arrive.
- Goats kept for income turn a hobby into a farm business; USDA's farmers.gov New Farmers portal and local USDA Service Centers are the starting point for programs, and the homesteading planning guide covers the wider decision.
Sources
- Purdue University — Dairy Goats: Housing fact sheet
- NC State Extension — Housing and Facilities for Meat Goats
- City of San Diego — Urban Farming: Goats
- USDA farmers.gov — New Farmers
All sources were opened and checked in October 2026. Rules and figures change; confirm with the original before acting.