San Francisco, CA Public Conduct: Public Alcohol Use (2026)
Key Facts
- Fine range
- Not less than $25 nor more than $100
- Offense class
- Infraction
- Private-property reach
- Within 15 feet of a public way, open to public view
- Governing code
- Police Code § 21
- Permit-based exceptions
- Article 5.2 permits, Shared Spaces with ABC license, Entertainment Zones
Summary
Drinking any alcoholic beverage, in any quantity, on a San Francisco street, avenue, sidewalk, stairway, alley, or thoroughfare is an infraction under Police Code Section 21, fined at not less than $25 nor more than $100, unless one of the section's own exceptions applies.
Except as specified in this Section 21, no person shall consume any alcoholic beverage in any quantity on any public street, avenue, sidewalk, stairway, alley, or thoroughfare within the City and County of San Francisco... Penalty. Any person who shall violate the provisions of this Section 21 shall be guilty of an infraction, the penalty for which shall be a fine of not less than $25 nor more than $100.
Official source re-checked September 7, 2026: no newer edition of the code had been published (publisher’s edition: 2026 S-96: Codes: last updated to include changes made by legislation through Ordinance 133-26, File No. 260686, approved July 23, 2026, effective August 23, 2026).
Full Breakdown
Police Code Section 21 does not measure how much you drink; it bans consuming any alcoholic beverage in any quantity, so a single sip on the sidewalk violates the section as fully as an emptied bottle. The prohibition covers every public street, avenue, sidewalk, stairway, alley, and thoroughfare within the City and County of San Francisco, and it also reaches onto private property in a narrow band: spots within 15 feet of a public way that are open to public view, where the drinker lacks the owner's permission.
That second prong is reflected in the section's own title, which covers both public streets and public property open to public view. The exceptions all trace back to a lawful setting for the drink. Private dwellings are outside the ban, as is prescribed medication. 2 tables-and-chairs permit, Shared Spaces permits paired with an ABC license, and Entertainment Zone events. The pattern is consistent: where San Francisco has itself permitted outdoor drinking through a parade permit, a parklet, Shared Spaces, or an Entertainment Zone, Section 21 stands down, and everywhere else on the public way it applies.
Violations & Fines
Violation is an infraction. The penalty under Police Code Section 21(d) is a fine of not less than $25 nor more than $100.
Frequently Asked Questions
Is it legal to drink a beer on a San Francisco sidewalk?
Are there exceptions to San Francisco's open container ban?
Does the ban apply on private property?
Sources & Official References
Other rules in San Francisco
California rules heatmap·Compare San Francisco to another location·View the California public conduct overview
See something wrong?
Help us keep this page accurate. If you notice an error or outdated information, let us know.