Courts and Justice

City Attorney

The elected lawyer for San Francisco: advises the mayor, the Board and 100+ departments, represents the city in court and publishes the Good Government Guide.

Also known as San Francisco City Attorney, Office of the City Attorney

Led byCity Attorney (David Chiu, as of 2026; elected citywide)
AddressCity Hall, 1 Dr. Carlton B. Goodlett Place, Room 234, San Francisco, CA 94102

Contact

Website sf.gov/departments--city-attorney
Phone 415-554-4700
Address City Hall, 1 Dr. Carlton B. Goodlett Place, Room 234, San Francisco, CA 94102
Hours Monday to Friday; the Fox Plaza reception desk is open 8 a.m. to 5 p.m.

About

Led by City Attorney (David Chiu, as of 2026; elected citywide)
Covers Citywide

When San Francisco sues a company, defends an ordinance in court or tells a commission what the charter permits, the lawyer is the City Attorney. The office describes itself as San Francisco's government lawyers: it provides legal services to the Mayor, the Board of Supervisors and over 100 city departments, and represents the city in court. The City Attorney is elected citywide; as of 2026 the office is held by David Chiu.

Two kinds of work

The office's page sorts its work into four areas: about the office, its work, "Standing up for SF" and affirmative litigation.

Counsel to the government. Departments call the City Attorney's deputies for opinions on contracts, land use, labor questions and the limits of their own authority. The deputies also defend the city when it is sued, and the office handles claims filed against the city. The guide below is the office's way of putting that advice in front of every board and commission member at once.

Standing up for SF. This heading on the page covers the office's work defending city policies against what it calls federal overreach. The office's current cases are listed on its site and in its news releases.

Affirmative litigation. The office files civil lawsuits to protect the city and its residents. The page also tells residents how to report a business or property owner that harms consumers, makes buildings or neighborhoods unsafe or does not follow rental laws. This is civil enforcement, which differs from criminal prosecution; for crimes, charges are brought by the elected District Attorney (see San Francisco District Attorney).

The Good Government Guide

The most-read document the office produces is the Good Government Guide, a handbook on ethics, open meetings and public records for the city's officials, employees and board members. The April 2026 edition runs to well over a hundred pages. It explains, among other things:

  • how the charter separates the legislative and executive branches (see How San Francisco city government works);
  • how boards and commissions nominate and remove department heads;
  • how the Sunshine Ordinance and the state's Public Records Act and Brown Act apply, including the ten-calendar-day response deadline for ordinary requests;
  • the rules on conflicts of interest, gifts and campaign activity.

It is published on sf.gov, so anyone can read it. A guide to the records rules is at how to request public records, and the board that hears complaints is in Public records and open meetings.

Services for residents

The page lists tasks a resident can start through the office:

  • report a business or property owner who is harming consumers, creating unsafe conditions or violating rental laws;
  • file a claim for injury, property damage or a tax refund;
  • submit public records requests;
  • petition the Supervisor of Records to review a city agency's response to a public records request;
  • apply for employment, internships and contracts.

The office's client is the city, not individual residents, so it is not a source of personal legal advice. A tenant with a landlord dispute should start with the Rent Board; see Rent Board and housing agencies and Renters' rights and rent control in San Francisco.

Where to find the office

The City Attorney's main office is in City Hall, Room 234, at 1 Dr. Carlton B. Goodlett Place. A second reception desk is at Fox Plaza, 7th floor, 1390 Market Street, open Monday to Friday from 8 a.m. to 5 p.m. Call 415-554-4700, or email [email protected]. The page lists 415-554-6770 beside a TTY label, so it is probably the line for callers who use a teletypewriter.

How it sits among the elected offices

The City Attorney is one of the citywide elected officers who stand apart from both the mayor and the Board. Others include the District Attorney, the Public Defender, the Sheriff, the Assessor-Recorder and the Treasurer. Their roles are mapped in The county side of City Hall. The city's budget for its legal department, like every department's, goes through the same June budget process described in City budget and finance.

Sources

  1. sf.gov/departments--city-attorney
  2. media.api.sf.gov/documents/April_2026_Good_Government_Guide.pdf

Checked against these official pages. Offices, officeholders, phone numbers and fees change; confirm with the office before you rely on them.

General information, not legal advice.

Profile last reviewed November 16, 2026

Compare with other offices

Related guides

Mentioned in

Mentioned in