San Francisco is one of the most dog-friendly cities in the country, but it also has clear rules. Knowing them keeps your dog safe, keeps you out of trouble and keeps the city's off-leash spaces open for everyone. Here is a plain-English rundown.

This guide is general information, not legal advice. Rules change, so always check posted signs and the official sources linked below.

1. Leash rules

The rule: Dogs must be leashed or tethered except in designated exercise areas. The handler must be physically present. (San Francisco Health Code Sec. 41.12, as summarized by SF Recreation and Parks.)

What it means day to day:

  • Sidewalks, streets, most park paths and playgrounds are on-leash.
  • Off-leash play is allowed only in Rec and Park's designated dog play areas and in specific federal voice-control areas.
  • Many dog play areas are unfenced, so boundaries matter.

Our off-leash guide maps out where dogs can legally run.

2. Licensing and rabies

  • License: Every dog over 4 months old must have a current license (Sec. 41.15).
  • Rabies: Dogs over 4 months must have current rabies vaccination (Sec. 41.18).

Why it matters beyond the law: San Francisco Animal Care & Control notes that if a dog bites or is bitten without a license as proof of rabies vaccination, the dog may be impounded or ordered into quarantine. A current license is cheap insurance.

3. Picking up after your dog

Health Code Section 40 requires that dog waste be removed and that people walking dogs carry materials to pick it up. Always bring more bags than you think you need.

4. Rules for professional dog walkers

San Francisco regulates commercial dog walking under Health Code Article 39:

  • A permit from Animal Care & Control is required to walk 4 or more dogs at once for pay on city park property.
  • Maximum of 8 dogs at one time.
  • A leash no longer than 8 feet for each dog.
  • Water and safety equipment must be readily available.
  • Dogs must be safely restrained when transported.

On Golden Gate National Recreation Area land, commercial walkers need a federal Commercial Use Authorization and are limited to 6 dogs. Read how to choose a dog walker for what to ask.

5. Federal park rules (GGNRA)

Much of San Francisco's coastline, including Crissy Field, Baker Beach, Lands End, Fort Funston and Ocean Beach, is managed by the National Park Service. Key points from the GGNRA Superintendent's Compendium:

  • Voice control means your dog stays within sight and earshot and returns immediately when called.
  • In on-leash areas, leashes can be no longer than 6 feet.
  • Seasonal leash rules protect the threatened Western snowy plover at parts of Ocean Beach and Crissy Field.
  • Some areas, like the Crissy Field tidal marsh and the Fort Funston habitat closure, are closed to dogs.

See our beach guide for the details at each spot.

6. Fireworks

All fireworks, including "Safe and Sane," are illegal to set off in San Francisco (Police Code Sec. 1290). In 2026 the city raised penalties: a first offense is an infraction with a fine of $125 to $250, and repeat offenses within five years can be misdemeanors. That does not stop every neighbor, so plan ahead with our fireworks guide.

7. Dogs and hot cars

California Penal Code Section 597.7 prohibits leaving an animal in an unattended vehicle when conditions like heat, cold or poor ventilation could harm it. Even on a mild San Francisco day, a parked car can heat up quickly.

Quick reference

Topic Rule
Leash Required except designated areas
License All dogs over 4 months
Rabies Current vaccination over 4 months
Waste Pick up and carry bags
Pro walkers Permit for 4+ dogs; max 8 (city), 6 (GGNRA)
Fireworks Illegal citywide

The Love Has Paws standard

We follow the leash, park and safety rules everywhere we walk, and we only allow off-leash time in designated areas for dogs with proven recall. It is part of how we care for every dog. Questions? Get in touch.