Skip to content

Title 9 — PUBLIC PEACE, MORALS AND SAFETY

Chapter 9.08 — GUNS AND EXPLOSIVES

Palo Alto Municipal Code · 2026-09 edition · updated 2026-09-29 · Palo Alto

9.08.010 Firing and possession of guns and firearms.

Except as otherwise provided in this chapter no person shall have in his possession within this city, and no person shall fire or discharge, or cause to be fired or discharged within this city, nor shall any parent, guardian or person having the care, custody or control of any minor permit such minor to have in his possession within this city, or to fire or discharge or cause to be fired or discharged within the city, any firearm, cannon, fireworks, gun, pistol, revolver, anvil, firecracker or explosive of similar nature, rifle, air rifle, air-gun, BB gun or pellet gun or any instrument of any kind, character or description which throws or projects bullets or missiles of any kind to any distance by means of elastic force, air or any explosive substance, all referred to in this section as "firearms."

(Ord. 1720 (part), 1956: prior code § 8.01)

9.08.020 Exceptions.

(a) The provisions of Section 9.08.010 as to the use of any of the firearms mentioned therein shall not apply to any of the following cases:

(1) To police, peace officers or persons in military service in the discharge of their duties and using reasonable care;

(2) To persons using firearms in necessary self-defense;

(3) To the possession of such firearms for keeping at the place of residence or business of the person otherwise in lawful possession thereof, or while traveling to or from a legal firing, shooting or target range or hunting ground;

(4) To the discharging or firing of such firearms or causing them to be discharged or fired at a legal firing, shooting or target range or hunting ground;

(5) To the discharging or firing of fireworks after permit therefor has been issued by the fire chief;

(6) To the use of a gun firing .22 caliber shot-cartridge only, upon a written permit applied for and granted by the chief of police to protect life or property against animals, birds or rodents;

(7) To the discharging or firing of a pistol incapable of projecting any bullet or missile (a) for the sole purpose of starting an organized athletic event, by an official who has charge of the competitors at the start of the athletic event; or (b) for use as a theater prop in a bona fide theatrical production.

(Ord. 2936 § 1, 1976: Ord. 2142 (part), 1963: Ord. 1720 (part), 1956: prior code § 8.02)

9.08.030 Carry of firearms in sensitive places.

(a) Purpose and intent. The purpose of this section is to protect sensitive places that have traditionally been subject to restrictions on carrying or possessing firearms, consistent with the Supreme Court’s guidance in N.Y. State Rifle & Pistol Ass’n v. Bruen (2022), 142 S. Ct. 2111; to protect health, life, and property within the city; and to preserve the order and security of the city, its inhabitants, and its visitors.

(b) Prohibition. Except as otherwise provided by federal or state law, no person shall carry a firearm in any sensitive place unless they are subject to an exemption under subsection (d) of this section. This prohibition applies to persons licensed to carry a concealed firearm.

(c) For the purposes of this section, “sensitive place” means any of the following:

(1) Any building owned by or under the control of city government for the purpose of government administration;

(2) Any building within the geographic boundaries of the city that is owned or leased by a public entity other than the city for the purposes of

government administration, where the public entity that owns or leases the property has authorized the city to enforce this prohibition on said property;

(3) Any polling place while voting is occurring;

(4) Any school. For the purposes of this section, “school” includes all institutions that provide preschool, elementary, secondary, post-

secondary, technical, or trade or vocational education, and includes all athletic facilities, offices, cafeterias and eating establishments, health care facilities, research facilities, parking lots, and shared rooms and common areas of dormitories thereof. “School” does not include a private residence at which education is provided for children who are all related to one another by blood, marriage, or adoption.

(d) Exemptions. This section shall not apply to:

(1) A federal, state, or local law enforcement officer when such person is authorized to carry a concealed weapon or a loaded firearm under

state law or under 18 U.S.C. Section 926B or any successor legislation;

(2) An honorably retired officer or agent of a law enforcement agency, when authorized to carry a concealed or loaded weapon under state law

or 18 U.S.C. Section 926C;

(3) A security guard or messenger of a financial institution, a guard of a contract carrier operating an armored vehicle, a licensed private

investigator, a patrol operator, an alarm company operator, or security guard, when such persons are authorized by applicable state or federal law to carry a firearm and when such persons are engaged in the exercise of their official duties;

(4) A person bringing or transporting an unloaded firearm onto city property to exchange, transfer, or relinquish it to law enforcement, in

compliance with any city operated, approved, or sponsored program to purchase, exchange, or otherwise obtain voluntary relinquishment of firearms;

(5) A person lawfully possessing an unloaded firearm in the locked trunk of, or inside a locked container in, a motor vehicle;

(6) A hunter with a valid hunting license when going to or returning from a legal hunting expedition; provided, however, that when transiting through any area where firearms are prohibited, any firearm is safely stored in a locked container or otherwise secured using a firearm safety device as defined by California Penal Code Section 16540 or any successor legislation.

(e) Penalties. Any person violating any of the provisions of this section shall be guilty of a misdemeanor punishable as set forth inChapter 1.08 of the Palo Alto Municipal Code.

(Ord. 5578 § 3, 2023)

Get a plain-English answer with a citation back to this text.

Ask AI about this code
▸Contents — Palo Alto Municipal Code
Palo Alto Municipal Code
  1. Article VIII — A. Board of Education
  2. Title 1 — GENERAL PROVISIONS
  3. Title 2 — ADMINISTRATIVE CODE
  4. Title 4 — BUSINESS LICENSES AND REGULATIONS
  5. Title 5 — HEALTH AND SANITATION
  6. Title 6 — ANIMALS
  7. Title 8 — TREES AND VEGETATION
  8. ▸Title 9 — PUBLIC PEACE, MORALS AND SAFETY
    Overview
    1. 9.04 Alcoholic Beverages
    2. 9.05 Entertainment Zones
    3. 9.06 Rental of Recreational Vehicles for Human Habitation
    4. 9.07 Safe Storage of Firearms
    5. 9.08 Guns and Explosives
    6. 9.09 Public Nuisance
    7. 9.10 Noise
    8. 9.12 Loudspeakers
    9. 9.14 Smoking and Tobacco Regulations
    10. 9.16 Reserved
    11. 9.17 Reserved
    12. 9.20 Reserved
    13. 9.22 Impersonating Public Officials
    14. 9.24 Reserved
    15. 9.26 Private Patrol Service
    16. 9.28 Hotels and Rooming Houses
    17. 9.32 Reserved
    18. 9.40 Aircraft
    19. 9.44 Solicitation of Employment, Business, or Contributions Wi…
    20. 9.45 Solicitation in Streets, Commercial Parking Areas, and in…
    21. 9.48 Obstructing Streets and Sidewalks
    22. 9.50 Graffiti
    23. 9.56 Abatement of Nuisances
    24. 9.57 Reserved
    25. 9.60 Civic Center Block Regulations
    26. 9.64 Regulation of Community Facilities
    27. 9.65 Residential Rental Registry Program
    28. 9.68 Rental Housing Stabilization
    29. 9.70 Resale Controls For Units Originally Financed With Mortga…
    30. 9.72 Mandatory Response to Request for Discussion of Disputes …
    31. 9.73 City Policy Against Arbitrary Discrimination
    32. 9.74 Discrimination Against Families with Minor Children in Ho…
    33. 9.76 Mobilehome Park Conversion
    34. 9.78 Mosquito Abatement
    35. 9.79 Newsracks
    36. Chapter 9.04 — ALCOHOLIC BEVERAGES
    37. Chapter 9.05 — ENTERTAINMENT ZONES
    38. Chapter 9.06 — RENTAL OF VEHICLES FOR HUMAN HABITATION
    39. Chapter 9.07 — SAFE STORAGE OF FIREARMS
    40. Chapter 9.08 — GUNS AND EXPLOSIVES
    41. Chapter 9.09 — PUBLIC NUISANCE
    42. Chapter 9.10 — NOISE
    43. Chapter 9.12 — LOUDSPEAKERS
    44. Chapter 9.14 — SMOKING AND TOBACCO REGULATIONS
    45. Chapter 9.16 — RESERVED
    46. Chapter 9.17 — RESERVED
    47. Chapter 9.20 — RESERVED
    48. Chapter 9.22 — IMPERSONATING PUBLIC OFFICIALS
    49. Chapter 9.24 — RESERVED
    50. Chapter 9.26 — PRIVATE PATROL SERVICE
    51. Chapter 9.28 — HOTELS AND ROOMING HOUSES
    52. Chapter 9.32 — RESERVED
    53. Chapter 9.40 — AIRCRAFT
    54. Chapter 9.44 — SOLICITATION OF EMPLOYMENT, BUSINESS, OR CONTRI…
    55. Chapter 9.45 — SOLICITATION IN STREETS, COMMERCIAL PARKING ARE…
    56. Chapter 9.48 — OBSTRUCTING STREETS AND SIDEWALKS
    57. Chapter 9.50 — GRAFFITI
    58. Chapter 9.56 — ABATEMENT OF NUISANCES
    59. Chapter 9.57 — RESERVED
    60. Chapter 9.60 — CIVIC CENTER BLOCK REGULATIONS
    61. Chapter 9.64 — REGULATION OF COMMUNITY FACILITIES
    62. Chapter 9.65 — RESIDENTIAL RENTAL REGISTRY PROGRAM
    63. Chapter 9.68 — RENTAL HOUSING STABILIZATION
    64. Chapter 9.70 — RESALE CONTROLS FOR UNITS ORIGINALLY FINANCED W…
    65. Chapter 9.72 — MANDATORY RESPONSE TO REQUEST FOR DISCUSSION OF
    66. Chapter 9.73 — CITY POLICY AGAINST ARBITRARY DISCRIMINATION
    67. Chapter 9.74 — DISCRIMINATION AGAINST FAMILIES WITH MINOR CHIL…
    68. Chapter 9.78 — MOSQUITO ABATEMENT
    69. Chapter 9.79 — NEWSRACKS
  9. Title 10 — VEHICLES AND TRAFFIC
  10. Title 11 — ENVIRONMENTAL IMPACT PROCEDURE
  11. Title 12 — PUBLIC WORKS AND UTILITIES
  12. Title 13 — IMPROVEMENT PROCEDURE
  13. Title 15 — FIRE PREVENTION
  14. Title 16 — BUILDING REGULATIONS
  15. Title 17 — HAZARDOUS MATERIALS STORAGE
  16. Title 18 — ZONING
  17. Title 19 — MASTER PLAN
  18. Article 7 — AUTHORITY FOR AND SCOPE OF MASTER OR GENERAL PLANS.
  19. Article 8 — PROCEDURE FOR ADOPTION OF MASTER OR GENERAL PLAN.
  20. Chapter 19.06 — SPECIFIC PLANS
  21. Chapter 19.10 — COORDINATED AREA PLANS
  22. Title 20 — PRECISE PLANS
  23. Title 21 — SUBDIVISIONS AND OTHER DIVISIONS OF LAND
  24. Title 22 — PARKS

GoCodebook provides public access, search, citation, multilingual explanation, and practical interpretation of legally adopted building regulations. It is not a substitute for the official ICC or California code publications.