Guides · San Francisco, California
Running a home-based business in San Francisco, California
You can work from your home in San Francisco if the business qualifies as an accessory use to your dwelling unit. Subject to the exceptions below, the San Francisco Planning Code says that use can't take more than one-third of the unit's floor area or involve employing more than two people who don't live there (SF Planning Code § 204.1). It also rules out stock in trade, window displays and a business office open to the public. City business registration is generally required (SF Business and Tax Regulations Code § 853).
Last checked 2026-11-01. General information, not legal or tax advice.
What the city code allows at home
The Planning Code treats working from home as an accessory use to a dwelling unit. A use that doesn't qualify is classified as a principal or conditional use, unless it qualifies as a temporary use (SF Planning Code § 204). No use is permitted as an accessory use to a dwelling unit if it involves or requires any of the following (SF Planning Code § 204.1):
- Space. Using more than one-third of the total floor area of the dwelling unit, except for accessory off-street parking or loading, or Neighborhood Agriculture (SF Planning Code § 204.1(b)).
- Employees. Employing more than two people who do not live in the unit, not counting a domestic worker, gardener or janitor (SF Planning Code § 204.1(c)).
- Alterations. Construction features or alterations that are not residential in character (SF Planning Code § 204.1(a)).
- Stock and displays. A stock in trade, other than garden produce from Neighborhood Agriculture or materials and products of a Cottage Food Operation (SF Planning Code § 204.1(g)). Show windows, window displays or advertising to attract customers or clients, though signs permitted by Article 6 are not excluded (SF Planning Code § 204.1(h)).
- Customers. A business office open to the public, other than for sales of Neighborhood Agriculture garden produce or Cottage Food Operation products. The office of a professional person who lives in the unit is not excluded if it is accessible only from within the unit (SF Planning Code § 204.1(i)).
Section 204 regulates "Accessory Uses, as defined in Section 102." This guide doesn't cover that definition or the district use tables, so check with the Planning Department about your address and your kind of work.
What you can't run from home
Two uses are barred as accessory uses to a dwelling: a Medical Cannabis Dispensary, and a Massage Establishment or a Sole Practitioner or Sole Practitioner Massage Establishment (SF Planning Code § 204.1(j) and (k)).
Licenses, permits and city taxes
- Registration certificate. Except in cases the section lists, no person may engage in business within the City without a current registration certificate, and it must be conspicuously displayed on the business premises whether or not you owe tax. Failing to get one doesn't absolve you from any tax or license the City requires (SF Business and Tax Regulations Code § 853).
- Deadline and fee. Apply to the Tax Collector within 30 days after commencing business. For a new business the fee is determined under Section 855(d) from your estimated San Francisco Gross Receipts. This guide doesn't list amounts (SF Business and Tax Regulations Code § 856).
- One per location. You pay one annual fee and get a separate certificate for each location where you do business. A certificate is non-assignable and nontransferable (SF Business and Tax Regulations Code § 856(f) and (i)).
- Business name. The County Clerk won't accept a fictitious business name statement until you show you've complied with the registration article (SF Business and Tax Regulations Code § 857).
- Gross receipts tax. Small business enterprises are exempt from gross receipts tax, with registration fees governed by Article 12. From tax year 2025, the threshold is $5,000,000 in City gross receipts for the person or combined group, adjusted annually. Residential leasing instead qualifies building by building when fewer than four units are leased (§ 954.1).
- Cottage food. SF Health Code § 452.1 limits cottage food operations in private homes to $50,000 in gross annual sales and one full-time equivalent employee, not counting the operator and immediate family or household members. SF Planning Code § 102 defines the use by California Health and Safety Code § 113758, which now sets higher sales limits, so ask the Department of Public Health which limit applies. A Class A operation (direct sales only) registers annually with the department. A Class B operation (direct and indirect sales) needs a permit renewed annually. Both must complete a food-handling course, prepare only foods the California Department of Public Health approves, meet labeling and food-preparation and sanitation requirements, comply with zoning, and obtain necessary licenses and permits (SF Health Code § 452.1). The fees are $100 for Class A registration, and $332 to apply and $350 a year for a Class B permit (SF Business and Tax Regulations Code § 249.1A).
Putting the business in an LLC
An LLC is formed with the state, not the city, so forming one doesn't take the place of any city license or permit above. For a limited liability company, the registration certificate is signed by the managing member (SF Business and Tax Regulations Code § 856(h)).
After it's formed: You formed an LLC. Now what?
Read the code
San Francisco's code on Corpus has the home rules in Planning Code § 204.1 and the registration rules in Business and Tax Regulations Code § 853 and § 856.
Related guides
More on San Francisco: the city business license, who needs one, what it costs and how to renew it.
Other cities
More in California: Fresno · Oakland · Anaheim · Riverside · Santa Ana · Irvine · San José · Long Beach · Los Angeles · Sacramento · Santa Clara · San Diego · Glendale · Elk Grove · Santa Rosa · Rancho Cucamonga · Garden Grove · Roseville · Palmdale · Sunnyvale · Escondido · Torrance · Orange · Clovis · Concord · Fairfield · Antioch · Temecula · Murrieta
Home business rules in all 141 cities we cover, each linked to the city’s own code.
Corpus business services
Want a report for your business?
Get a human-reviewed licence-and-permit report for one activity and location, with citations, official application links and coverage gaps. $99 once; scope review before payment. Research only: permit applications and parcel-level zoning clearance are not included.
Sources
- SF Planning Code § 204, Accessory Uses, General (Corpus official text): https://corpuslaw.us/code/e6e0e7b2-15cd-4194-9250-136754f6793d
- SF Planning Code § 204.1, Accessory Uses for Dwellings in All Districts (Corpus official text): https://corpuslaw.us/code/8c4281c9-dac7-429e-9af5-843fa1425ae8
- SF Business and Tax Regulations Code § 853, Registration Certificate - Required (Corpus official text): https://corpuslaw.us/code/0dd2eb45-7bb7-4095-ada9-3bf72b3ee180
- SF Business and Tax Regulations Code § 856, Registration Certificate - Application and Issuance (Corpus official text): https://corpuslaw.us/code/8a5068bb-dcc8-4fa1-8d42-82833ed14d94
- SF Business and Tax Regulations Code § 857, Proof of Registration Required to File Statement of Fictitious Business Name (Corpus official text): https://corpuslaw.us/code/fcfd409b-e610-4348-8c7e-04d462c82dbc
- SF Business and Tax Regulations Code § 954.1, Small Business Exemption (Corpus official text): https://corpuslaw.us/code/f579ef8d-32fa-4bf7-9d0d-17501cbfe0f2
- SF Health Code § 452.1, Cottage Food Operations (Corpus official text): https://corpuslaw.us/code/6fed0eaa-a9e6-464a-97b5-97666f59d286
- SF Business and Tax Regulations Code § 249.1A, Cottage Food Operations Fees (Corpus official text): https://corpuslaw.us/code/719792fc-01f6-4ca9-93cf-87c037166661
- SF Planning Code § 102, Definitions (Corpus official text): https://corpuslaw.us/code/349db8a9-d40f-41c0-ad3d-905ca0e3f486
