Only in limited circumstances. Electric bikes are generally prohibited on sidewalks in business districts and are not permitted on sidewalks anywhere in the city after dark.
San Francisco E-Bike Laws and Regulations (2026)
Written by: Kazim Ladimeji | May 31, 2026 | Time to read 6 min
If you ride an electric bike in San Francisco, it’s important to understand both California state e-Bike laws and San Francisco’s local ordinances. From sidewalk riding restrictions and bike lane rules to stricter battery safety standards, these regulations directly affect where and how you can legally ride throughout the city.

More about the Author: Kazim Ladimeji
Kazim is a UK-based cyclist and writer who discovered his passion for riding during lockdown six years ago and hasn’t looked back since. He now rides around 100 miles a week, exploring road and light gravel routes from his base in the Cotswolds, a cycling paradise. When he’s not riding or writing about e-Bike trails in the US, he’s exploring cafés, cooking, and keeping busy as a soccer dad

San Francisco has become one of California’s most popular cities for electric bike commuting and urban transportation thanks to its excellent cycling infrastructure.
California follows a statewide three-class electric bike system, but San Francisco also enforces additional local ordinances around sidewalks, public roads, and battery safety. Riders, therefore, need to understand both California state law and the extra local restrictions that apply specifically within San Francisco City.
In this article, I summarize the key San Francisco City and California e-Bike laws and regulations in a practical and easy-to-understand way, so you can stay compliant and ride safely.
👋 Welcome to Upway!
Table of Contents
What are the California State e-Bike laws that apply in San Francisco?
What are San Francisco’s local ordinances around e-Bike usage?
Where can you ride electric bicycles in San Francisco?
Can electric bikes be ridden on sidewalks in San Francisco?
Does San Francisco have rules on safe riding on roads?
What are San Francisco’s local ordinances on e-Bike batteries?
Frequently Asked Questions
What are the California State e-Bike laws that apply in San Francisco?
California uses a statewide three-class system to regulate electric bicycles, and these rules also apply throughout San Francisco. To legally qualify as an e-Bike under California law, the bicycle must have working pedals and an electric motor producing no more than 750 watts of power.
California separates electric bicycles into the following classifications:
These higher-powered electric vehicles may require registration, insurance, licensing, and additional compliance requirements before they can legally be ridden on public roads.
Due to a rise in accidents involving powerful electric motorcycles marketed as e-Bikes, California has significantly tightened enforcement around motor wattage, top assisted speeds, and battery safety standards.
E-Bikes vs standard bicycles
In California, electric bicycles are usually allowed anywhere standard bicycles are permitted, including roads, bike lanes, urban cycling infrastructure, beachfront paths, and many shared-use bike routes unless restricted by local ordinance or posted signage.
Trail access often depends on the class of e-Bike being used. Class 1 e-Bikes typically enjoy the broadest access, while Class 3 electric bikes tend to face greater restrictions on shared paths and recreational trails.
Electric bicycles are not permitted on freeways or expressways.
Safety laws for electric bicycles in California
California also imposes statewide safety requirements covering helmets, lighting, brakes, rider age restrictions, and battery certification standards.
All riders under 18 must wear a helmet, while helmet use is mandatory for every Class 3 e-Bike rider regardless of age.
Electric bikes ridden at night must be fitted with approved front and rear lighting along with reflectors.
From January 2026, all e-Bike batteries sold in California must be tested and certified by an approved laboratory such as UL and display permanent certification markings.

What are San Francisco’s local ordinances around e-Bike usage?
San Francisco mostly follows California State laws on electric bicycles (summarized above) and has some local ordinances and laws that electric bikes must follow in the city.
Where can you ride electric bicycles in San Francisco?
There may be local restrictions on Class 3 e-Bikes due to their higher speeds, and localized speed limits are increasingly being introduced on bike paths. Always check local signage before using bicycle paths.
Can electric bikes be ridden on sidewalks in San Francisco?
In addition to state laws against tampering with e-Bike governance systems, San Francisco has introduced its own local ordinance on sidewalk access.
Electric bikes are not allowed:
- On any sidewalk in any business district within the City
- On any sidewalk within the City between the period commencing ½-hour after sunset and ½-hour before sunrise

Does San Francisco have rules on safe riding on roads?
- Yield the right of way to pedestrians crossing the street, along with cyclists and cars
- Yield the right of way to pedestrians approaching from sidewalks or crosswalks
- Always travel in the same direction as traffic
- Not carry objects that obstruct or impair vision
- Not operate the e-Bike recklessly in a way that endangers people or property
- Not wear headphones, headsets, or earplugs while riding
What are San Francisco’s local ordinances on e-Bike batteries?
- UL 2849 or UL 2272
- EN 15194 or EN 17128
- Another accredited laboratory standard approved by the San Francisco Fire Department.
- Up to four Personal Mobility Devices (PMDs) may be stored and charged in a dwelling unit if safety-certified
- Charging more than five PMDs requires extra fire suppression systems such as sprinklers, a smoke detection system and 3 feet spacing between PMD’s when charging.
- Batteries and chargers must be plugged directly into wall outlets; extension leads and power cords are not permitted.
- PMDs must be charged according to the manufacturer’s standards using the original chargers and batteries.
- PMD batteries that are dropped, cracked, or involved in an accident must be self-inspected for damage. Damaged batteries cannot be used
- Reconditioned lithium-ion batteries are prohibited
- Lithium-ion batteries must not be disposed of in landfill, recycling and compost bins; they must be recycled through one of San Francisco’s approved battery recycling programs
- Following a major lithium-ion battery fire in late 2025, San Francisco is also considering stricter legislation banning the sale of uncertified batteries and powered devices, with proposed fines up to $1,000.
Frequently Asked Questions
Can I ride my electric bike on sidewalks in San Francisco?
What battery standards apply to electric bikes in San Francisco?
Can I wear headphones while riding an electric bike in San Francisco?
Key Takeaways
- San Francisco follows California’s statewide three-class e-Bike system.
- Sidewalk riding is heavily restricted in San Francisco business districts and prohibited after dark.
- San Francisco has stricter local battery safety regulations than many California cities.


