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 →

C.2.020 — Accessory Buildings and Structures

Code of Ordinances of the City of Milpitas, California (Codified through (Covering Ordinance 38.858.) (Supp. No. 60)) · Milpitas Code of Ordinances § C.2.020

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 Milpitas website. Stable reference: corpuslaw.us/code/91923569-a15b-44a0-880c-fd6e3cfdc675

C.2.020 - Accessory Buildings and Structures

A. Purpose. This Section establishes development standards for accessory buildings and structures. B. Applicability. 1. Detached Structures. The provisions of this Section apply to roofed structures, including but not limited to garages, carports, sheds, workshops, gazebos, greenhouses, pool houses, and covered patios which are detached from and accessory to the main building on the site. These provisions also apply to open, unroofed structures such as play equipment, decks, and trellises, that are over 18 inches in height and are detached from and accessory to the main building on the site. 2. Attached Structures. The provisions of this Section do not apply to accessory buildings or structures attached to the main building, which shall comply with the requirements of this Title applicable to the main building. Structures with a common wall or roof with the main building shall be considered part of the main building. Allowed building projections into required setbacks are stated in Section C.2.130.B (Encroachment into Required Setbacks). 3. Accessory Dwelling Units. This Section does not apply to accessory dwelling units, which are regulated by Chapter C.10.030 (Accessory Dwelling Units). 4. Fences and Walls. This Section does not apply to fences and walls, which are regulated by Section C.2.040 (Fences, Walls, and Hedges). C. Relation to Existing Structures. A detached accessory building or structure may only be constructed on a lot on which there is a constructed main building to which the accessory building or structure is related. D. Development Standards. Accessory structures shall meet the development standards of the zone in which they are located consistent with Part XIII-B (Zone Regulations) except as follows. 1. Limited Total Coverage in the Rear Setback Area. a. Maximum coverage. All accessory buildings and structures in the required rear setback area, as well as building additions as described in Subsection C.2.130.A.2.b (Building additions for R1 and R2 zones), are limited cumulatively to a total area not exceeding 30 percent of the area of the required rear setback area. b. Exemptions. Platforms, landing places, concrete slabs, walkways, paved areas, in-ground pools, in-ground spas, and associated decking not covered by a roof or canopy and up to 18 inches above the ground are not counted toward this maximum coverage limitation. 2. Setbacks. a. Any detached accessory building shall not be located within: (i) Three feet of any rear lot line or side lot line of the rear half of an adjacent lot; or (ii) Seven feet of the side lot line of the front half of any adjacent lot. b. In the case of a corner lot, shall not project beyond the required front setback line or the existing building front setback on the adjacent lot. c. Eaves of accessory buildings and structures shall not project closer than three feet to any side or rear lot line. d. Allowed projections into required setbacks are stated in Section C.2.130.B (Encroachment into Required Setbacks). 3. Location Limitation for Residential Zones. A detached accessory building in a residential zone shall be located as follows: a. On the rear half of the lot; b. At least six feet from any dwelling existing or under construction on the same lot; and c. In the R1 and R2 zones, at least 14 feet from a residential structure existing or under construction on any adjacent lot. E. Specific Standards. 1. Porte-Cocheres. A porte-cochere may be permitted over a driveway in a required side setback area provided the porte-cochere is no more than 24 feet in length, not closer than three feet from the side lot line, and is entirely open on at least three sides, except for the necessary supporting columns. 2. Patio Covers. Patio covers, including but not limited to gazebos and pergolas, must not exceed 12 feet in height. 3. Built-in Barbeque Pits and Water Features. Built-in barbecue pits and water features (e.g., fountains) must not exceed six feet in height. 4. Location Limitation for Community Emergency Caches. Community emergency caches that do not displace required parking for the site and are located in the rear half of the lot are considered accessory uses.

(Ord. No. 38.858, § 4, 9/2/25)

Ask a question about Milpitas law

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

Use the Milpitas code through the API

This call searches the Milpitas 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=Accessory+Buildings+and+Structures&jurisdiction=CA-MILPITAS"

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