For AI agents: read the machine-readable documentation index at /llms.txt or the single-file full reference at /llms-full.txt.
Black Friday: $25 off forming an LLC in any stateLLC formation, through Dec. 1.See the deal →

§ 19.48.040 — Distance between main buildings and accessory structures

Code of Ordinances, City of Sunnyvale, California (includes legislation through Ord. No. 3260-26 adopted August 11, 2026) · Sunnyvale Code of Ordinances § 19.48.040

Flag a mistake

Email Corpus about this section

Using webmail? Send the page link and what looks wrong to [email protected].

Corpus is an independent public-information project, not the official City of Sunnyvale website. Stable reference: corpuslaw.us/code/48c4f558-b097-4bb9-a1c6-17256a390b9a

§ 19.48.040: Distance between main buildings and accessory structures.

A detached garage or other detached accessory structure shall be located either directly adjacent to the structure or at least five feet away from another accessory structure, accessory dwelling unit or main building.

( Prior zoning code § 19.44.090 ; Ord. 2623-99 § 1 ; Ord. 2907-09 § 9 ; Ord. 3105-16 § 9 )

Ask a question about Sunnyvale law

Corpus searches the Sunnyvale sections it holds and shows the ones that match, with their citations. Free, no sign-in.

Use the Sunnyvale code through the API

This call searches the Sunnyvale code. Change jurisdiction to the state's code to search its statutes and its cities, or to US for federal law. A free key gives 1,000 searches a month, and the MCP server works with no key.

curl -H "Authorization: Bearer $CORPUS_API_KEY" \
  "https://corpuslaw.us/api/v1/search?q=Distance+between+main+buildings+and+accessory&jurisdiction=CA-SUNNYVALE"

Law search API · Docs · Get a free key · Connect the MCP server