Start here:System PlannerOne plan for power, heat and waterLand CheckAssess a parcel before you buy itFree CourseOff-grid from zero, in 12 lessons

Off-Grid Laws › California

Off-Grid Living in San Francisco County, California

San Francisco has no rural or unincorporated land, so most "off-grid" categories (septic, wells, RV living) are tightly restricted rather than routine, while small residential greywater and rainwater systems are permitted under specific SFPUC/DBI rules. Anyone considering off-grid approaches here should contact SF Planning, DBI, SFDPH, or SFPUC directly, since enforcement against unconventional dwellings (like long-term RV living) is active.</summary> <parameter name="framework">{"zoning":{"status":"restricted","note":"San Francisco has no unincorporated or raw land; the whole county is zoned under the Planning Code, administered by SF Planning. Occupying vacant land outside an approved dwelling is not a recognized land use.","cite":"https://sfplanning.org/resource/find-my-zoning"},"dwelling":{"status":"restricted","note":"State HCD rules apply, but San Francisco has added a citywide RV/oversized-vehicle parking restriction with only a narrow, time-limited exemption path; there's no standalone legal path to long-term RV or tiny-house-on-wheels living here.","cite":""},"building":{"status":"restricted","note":"All construction, including ADUs, requires permits from the Department of Building Inspection and Planning under the SF Building/Planning Codes, on top of the state Title 24 baseline.","cite":"https://www.sf.gov/design-adu-meets-city-codes"},"septic":{"status":"restricted","note":"San Francisco is almost entirely on municipal sewer; private septic is rare, and any on-site wastewater or water reuse system needs a permit from the SF Department of Public Health as part of the city's onsite water reuse framework.","cite":"https://www.sfpuc.gov/construction-contracts/new-developments/onsite-water-reuse"},"greywater":{"status":"permitted","note":"SFPUC confirms no permit is needed for a simple laundry-to-landscape greywater system in a one- or two-unit home if it follows standard guidelines; more complex systems need a DBI permit.","cite":"https://www.sfpuc.gov/sites/default/files/learning/conservation/Graywater_FAQ_APRIL2021.pdf"},"rainwater":{"status":"permitted","note":"Basic rooftop rainwater collection follows the state baseline; indoor reuse or larger systems require SFPUC/DPH review through the city's onsite water reuse program.","cite":"https://www.sfpuc.gov/construction-contracts/new-developments/onsite-water-reuse"},"well":{"status":"restricted","note":"Under Article 12B of the SF Health Code, SFPUC must authorize any groundwater withdrawal and SFDPH issues a Permit to Operate for wells; this is far more restrictive than rural county well permitting.","cite":"https://www.sfpuc.gov/construction-contracts/new-developments/water-well-use"},"utility":{"status":"unclear","note":"No specific SF ordinance on voluntary full utility disconnection for occupied dwellings was found; given active enforcement against unconventional housing (like RVs), this is best confirmed directly with DBI.","cite":""}}

Is it legal to live off-grid in San Francisco County, California?

There is no outright ban on living off-grid in San Francisco County, California - it is legal but regulated. Zoning and land use are restricted, putting a cabin, tiny home, or RV on raw land is restricted, and building permits are restricted. Plan around septic/wastewater (restricted) and disconnecting from utilities (not clearly documented online, so confirm it locally). Because these rules are set locally, confirm the specifics with San Francisco County before you buy land or build.

Read this before you act on anything below. This is my researched starting point for San Francisco County, not legal advice and not a guarantee. Rules change, and the deciding facts on any specific parcel (setbacks, perc results, overlay districts, deed restrictions, road frontage) live at the county or town office, not in any database. Before you buy land or build, confirm the current rules directly with the local zoning and health offices - the sources on this page tell you exactly who to call.
Primary-source verified · reviewed Aug 202621 government, statute, or municipal sources are linked below; the verdict card cites them where a match exists.

The verdict for San Francisco County

  • Zoning: Restricted
  • Dwellings, tiny homes: Restricted
  • Building permits: Restricted
  • Septic: Restricted
  • Greywater reuse: Generally allowed
  • Rainwater harvesting: Generally allowed
  • Private wells: Restricted
  • Living disconnected from utilities: Unclear - verify

San Francisco County at a glance

Zoning & raw-land occupancy
RestrictedI found that San Francisco is a fully urban city-county with no unincorporated 'raw land' or rural zoning; every parcel falls under the Planning Code, and living outside an approved dwelling isn't a recognized land use here, it's handled through code enforcement instead. Check with SF Planning for your specific parcel's zoning. source
Dwellings, tiny homes & RVs
RestrictedSan Francisco has actively cracked down on long-term RV living, including a citywide two-hour parking limit for RVs and oversized vehicles, with only a narrow, time-bound transition program for those already registered. There's no legal path I found to live long-term in an RV or tiny home on wheels as a standalone residence here, though I couldn't confirm this through an official municipal code page, only news reporting.
Building permits & codes
RestrictedAny dwelling construction, including ADUs, has to go through San Francisco's Department of Building Inspection and Planning under the local Building Code and Planning Code, on top of the state's Title 24 rules. For example, ADU studio units have specific minimum floor area and ventilation standards you'd need to confirm with DBI before building. source
Septic & composting toilets
RestrictedSan Francisco is almost entirely on municipal sewer, so individual septic systems aren't a normal feature here and there's no dedicated county septic-permitting page like you'd find in rural counties. Any on-site wastewater or water reuse system instead needs sign-off through the city's onsite water reuse program, run jointly by SFPUC and the Department of Public Health. source
Greywater reuse
Generally allowedFor one- or two-unit homes, a simple laundry-to-landscape greywater system that doesn't alter existing plumbing doesn't need a permit, as long as it follows the city's guidelines. Any more involved greywater system requires a permit from the Department of Building Inspection, so it's worth checking with them first. source
Rainwater harvesting
Generally allowedBasic rooftop rainwater collection follows the state baseline and is allowed, but if you want to reuse rainwater indoors (like for toilets or laundry) or run a larger system, you'll need to go through SFPUC and the Department of Public Health's onsite water reuse review. San Francisco has even built its own rainwater harvesting calculator to help with this. source
Private wells & water rights
RestrictedUnlike rural counties, San Francisco requires city-level authorization for any groundwater withdrawal, not just a construction permit. The Public Utilities Commission reviews and grants authorization to withdraw groundwater, while the Department of Public Health enforces well construction and operation rules and issues the actual Permit to Operate. source
Living disconnected from utilities
Unclear - verifyI couldn't find a specific San Francisco ordinance addressing voluntary full utility disconnection for an occupied home; it would likely fall under general Building and Housing Code habitability standards enforced by DBI. Given the city's active enforcement against unconventional dwellings like RVs, I'd expect scrutiny here, but this specific point is not confirmed, so it's worth calling DBI directly to ask.

Who to call in San Francisco County

Offices named on official pages during research. Phone numbers appear only when the official page showed one; confirm hours and jurisdiction before you drive out.

San Francisco is a strange animal when it comes to off-grid living: it's the only place in California where the county government and city government are the same thing, and there's no rural, unincorporated land at all. Every parcel sits inside the San Francisco Planning Code, and nearly every building is already hooked into municipal sewer and water. So if you're picturing an off-grid homestead here, you should recalibrate: this is a dense urban environment where "off-grid" mostly means small-scale water reuse tweaks, not a self-sufficient cabin on raw land.

Zoning. There's no "raw land" category to occupy off-grid. The whole county is zoned residential, commercial, etc. under the SF Planning Code, administered by the SF Planning Department. Living outdoors or on vacant land isn't a recognized use, it's handled through code enforcement, not a permit.

Dwellings, tiny homes, RVs. The state's HCD baseline exists, but San Francisco has gone further and actively restricted it. I found reporting (not an official ordinance page) on a citywide two-hour parking limit for RVs and oversized vehicles, with a narrow, time-limited registration path for RVs already in the city as of a cutoff, meant to move people into indoor housing. Practically, there's no legal long-term path to living in an RV or tiny house on wheels here outside that transition program.

Building permits. Any construction, including ADUs, goes through the Department of Building Inspection (DBI) and Planning, layered on the state's Title 24 code. DBI publishes specific standards, like minimum floor area and ventilation for ADU studio units, so check with them directly before assuming what's allowed.

Septic and composting toilets. Almost the entire city is on municipal sewer, so private septic just isn't a normal thing here. Any on-site wastewater or water reuse system instead needs sign-off from the SF Department of Public Health (SFDPH) and SFPUC's onsite water reuse program.

Greywater. Good news here: SFPUC's own guidance says a permit is not required for a simple laundry-to-landscape system in a one- or two-unit home, as long as it follows the standard guidelines and doesn't touch existing plumbing. Anything more involved needs a DBI permit.

Rainwater harvesting. Simple rooftop collection follows the state baseline. Indoor reuse (toilet flushing, laundry) or larger systems go through SFPUC/DPH review, and SFPUC has built its own calculator and guidance for this.

Wells. This one's tightly controlled. Under Article 12B of the SF Health Code, SFPUC authorizes any groundwater withdrawal, and SFDPH enforces well construction and operation rules, including issuing a Permit to Operate. This is not a rural drill-your-own-well situation.

Off-grid utility disconnection. I couldn't find a specific SF ordinance addressing full voluntary utility disconnection for an occupied home. Given the city's enforcement posture on unconventional dwellings, I'd treat this as a real risk, but it's not confirmed one way or the other, so ask DBI directly.

Bottom line: San Francisco allows small, code-compliant water reuse projects, but treats off-grid dwelling, wells, and RV living as things to restrict, not encourage.

San Francisco County in numbers

Worst-month sun
3.7 peak hours/day (5.3 annual average)
Heating degree days
2,909
Precipitation / snow
23.65 in / ? in a year
Elevation
226 ft
Supermarket
Calmart · 2.3 mi
Fire station
Muir Beach Volunteer Fire Deparment · 7.0 mi
Hardware
Ace · 0.7 mi
Hospital
Menlo Park Surgical Hospital · 29.0 mi

Open the full site report for this spot →

30-year climate normals for the nearest ZIP and distances from the town center; a specific parcel will differ. Run the site report on an address for its own numbers.

Planning a build in San Francisco County

The rules above decide what you may build. The numbers below decide what you will have to build, and they come from this place rather than from a national average.

Solar: size for the worst month, not the average

San Francisco County averages 5.3 peak sun hours a day across the year, but its worst month averages 3.7. That is a drop of about 31 percent. An array sized on the annual figure will therefore come up short in the worst month by roughly that much, in the season when lights, pumps, and heating fans all run hardest.

Put another way, meeting the same daily load in the worst month here takes about 1.4 times the array that the annual average implies, or a generator and the fuel budget to run it. Neither is wrong; what is wrong is discovering the gap in the first winter. The solar calculator runs this arithmetic against your own load list, and lesson four covers building that list before buying panels.

Heat: 2,909 heating degree days

That is a moderate heating season, where a single well-chosen appliance usually carries the house. Heating demand at this level dwarfs everything electrical in the house, which is why almost nobody here heats with electricity from a battery bank.

As a rough order of magnitude, a small, reasonably insulated cabin heated mainly with wood in a climate like this tends to burn in the region of 2.4 cords a season, with the real figure swinging widely on insulation, house size, and how you burn. Treat that as a bracket for planning your woodshed rather than a promise, split and stack a season ahead, and check with a moisture meter before burning. The firewood calculator and heat-loss calculator narrow it down from your own building.

Water: what the roof would actually catch

San Francisco County receives about 23.7 inches of precipitation a year. A 1,000 square foot roof here would shed on the order of 12,524 gallons a year at a realistic 85 percent collection efficiency, before any losses to first-flush diversion, evaporation, or overflow in a heavy storm.

The annual total is the easy part. What sizes a cistern is the longest dry stretch, because catchment is seasonal almost everywhere and a tank that covers the average year can still run empty in August. Check the local rules too: rainwater harvesting is regulated in some states even where it is broadly allowed. The rainwater calculator works from your own roof and rainfall pattern, and lesson three covers why water is chosen before power.

Distance is part of the plan

Measured straight line from the center of San Francisco County: the nearest fire station is about 7.0 miles away (Muir Beach Volunteer Fire Deparment), the nearest hospital is about 29.0 miles away (Menlo Park Surgical Hospital), the nearest supermarket is about 2.3 miles away (Calmart). Road miles will be longer, and in winter longer again.

The fire distance is worth noting before you buy rather than at renewal: insurers commonly rate rural property partly on how far it is from a responding station and from a water source, and some decline off-grid or owner-built structures outright. Ask an agent who writes rural policies what they would need to see, while the answer can still change what you build. Lesson eleven covers the insurance and financing side.

The hospital distance sets what your first aid kit and your medical plan have to cover in the gap, and it is the number to think about before anyone in the household depends on refrigerated medication or mains-powered equipment.

Confirming this for your own parcel

On this page 1 of the eight topics is recorded as unclear or as varying within San Francisco County: mandatory utility connection. Those are the calls to make first, because they are the ones where a general answer cannot be trusted for a specific parcel. Ask for the answer in writing where the office will give it, and note the name and the date where it will not.

Where a topic is recorded as settled here (zoning, what counts as a dwelling, building permits and codes, septic and sewage, greywater, rainwater harvesting, wells and water rights), the source is cited further down this page. Sources go stale, ordinances get amended, and this site logs corrections publicly rather than editing them away, so if you find something here that no longer matches the county, the corrections page is how to say so.

Before any of those calls, walk the parcel with the land walk checklist and take the questions for the county with you. The parcel check pulls flood, wetland, slope, and access data for a specific parcel and shows its sources, which is a good way to arrive at the office with the questions already framed. Lesson two is the wider version of this list.

Looking at a specific parcel in San Francisco County, CA?The rules above are the jurisdiction. The land check runs the parcel itself: flood zone, soils and septic suitability, wetlands, slope, access, climate, and these verdicts, from a parcel number or coordinates.
Check a parcel →

Sources

Primary sources (statutes, agencies, municipal documents)

Only government, statute, municipal, university, and regional-planning sources are listed. Pages used to find an issue but not to substantiate it are not cited. See how this database is researched.

Live here? Help keep San Francisco County accurate.

Residents, landowners, builders, and town officials: confirm what is right or tell me what is wrong. Every note is checked before it appears. Two minutes, no account.

This page is

FAQ

Common questions about off-grid living in San Francisco County

Is it legal to live off-grid in San Francisco County, California?

There is no outright ban on living off-grid in San Francisco County, California - it is legal but regulated. Zoning and land use are restricted, putting a cabin, tiny home, or RV on raw land is restricted, and building permits are restricted. Plan around septic/wastewater (restricted) and disconnecting from utilities (not clearly documented online, so confirm it locally). Because these rules are set locally, confirm the specifics with San Francisco County before you buy land or build.

Can I live off-grid on vacant land in San Francisco?

No. San Francisco has no unincorporated or raw land; every parcel falls under the SF Planning Code, and occupying vacant land outside an approved dwelling isn't a recognized use.

Can I legally live in an RV long-term in San Francisco?

Not really. The city has a citywide parking restriction on RVs and oversized vehicles with only a narrow, time-limited exemption for RVs already registered with the city as of a cutoff date; there's no standalone legal path otherwise.

Do I need a permit for a greywater system?

Not for a simple laundry-to-landscape system in a one- or two-unit home, per SFPUC guidance, as long as you follow the standard rules. Anything more complex needs a DBI permit.

Can I drill a private well in San Francisco?

It's tightly restricted. SFPUC must authorize any groundwater withdrawal under Article 12B of the SF Health Code, and SFDPH issues the Permit to Operate.

New here, or not sure where this fits? Start here walks through the whole thing in order.