San Francisco City Attorney: Role and Responsibilities

The San Francisco City Attorney serves as the chief legal officer for the City and County of San Francisco, representing municipal government in litigation, providing legal advice to city departments, and enforcing laws that protect residents from fraud and public nuisance. This page covers the office's defined authority under the San Francisco City Charter, how it operates in practice, the types of legal matters it handles, and where its jurisdiction ends and other offices begin. Understanding this role is essential for anyone navigating city governance, charter accountability, or consumer protection disputes involving municipal actors.


Definition and scope

The City Attorney is an elected official whose authority derives from Article VI of the San Francisco City Charter. The office functions simultaneously as a law firm for city government and as an independent enforcement body empowered to initiate civil litigation on behalf of the public — a dual mandate that distinguishes it from most municipal legal offices in the United States.

The office employs approximately 300 attorneys and staff, making it one of the largest municipal law offices in California. Its client base includes the Mayor, the San Francisco Board of Supervisors, all city departments and commissions, and the consolidated city-county government structure described on the San Francisco consolidated city-county page.

Scope coverage: The City Attorney's jurisdiction applies to civil legal matters involving the City and County of San Francisco as a legal entity. It does not cover criminal prosecution — that authority belongs to the San Francisco District Attorney. It does not provide legal representation to individual residents, and it does not govern disputes between private parties unless those disputes implicate a city ordinance, public nuisance statute, or consumer protection law.

Geographic limitations: The office's authority is bounded by the geographic limits of the City and County of San Francisco. Matters involving state agencies, federal entities, or neighboring Bay Area jurisdictions — such as coordination with regional bodies covered in San Francisco's Bay Area regional government — require collaboration with state or federal counsel and fall only partially within the City Attorney's remit.


How it works

The City Attorney's office organizes its work across three primary functional areas:

  1. Advisory and transactional work — Attorneys assigned to individual city departments draft contracts, review ordinances for legal validity, and advise on compliance with state and federal law. For example, when the San Francisco Municipal Transportation Agency enters a major procurement contract, City Attorney staff review the agreement before execution.

  2. Defensive litigation — When the City and County is sued — whether by a contractor, an injured party, or an advocacy group challenging a city policy — the City Attorney defends the municipality in court. This includes cases before the San Francisco Superior Court as well as state appellate and federal district courts.

  3. Affirmative civil enforcement — The City Attorney can file lawsuits on behalf of the public against private entities that violate consumer protection laws, civil rights statutes, or public nuisance provisions. This power, exercised under California's Unfair Competition Law (Business and Professions Code § 17200) and related statutes, does not require a criminal conviction as a predicate.

The office also plays a central role in ballot measure preparation. When city departments or the Board of Supervisors place measures before voters — as described on the San Francisco ballot initiatives page — the City Attorney drafts the official ballot title and summary language that appears on the ballot.


Common scenarios

The City Attorney's office engages across a wide range of civic situations:


Decision boundaries

A critical distinction in San Francisco government is the boundary between the City Attorney and other legal offices.

Function City Attorney District Attorney
Civil law enforcement
Criminal prosecution
Represents city in litigation
Advises city departments
Prosecutes individuals

The San Francisco Public Defender represents indigent criminal defendants — a role entirely outside the City Attorney's authority structure.

Within the City Attorney's own office, decision authority is tiered. Staff attorneys handle routine advisory work; division heads oversee high-stakes litigation; and the elected City Attorney personally makes decisions on whether to initiate major affirmative enforcement actions or intervene in appellate proceedings with statewide significance.

The office's independence from the Mayor's direction is a structural feature of the charter design. While the San Francisco Mayor can advocate for legal positions the administration favors, the City Attorney is not obligated to follow mayoral instruction on litigation strategy — a distinction that has produced visible institutional tensions during periods of policy disagreement.

Residents seeking to understand how this resource fits within the broader architecture of San Francisco civic governance can begin at the site index, which maps all major departments and their interrelationships.


References