A criminal defense lawyer in San Francisco reviews the arrest, the charge, and the court date, then works the case on two fronts: challenging the evidence and arguing for the lightest outcome the facts allow. Cases are heard mainly at the Hall of Justice, and anyone held in custody must see a judge within 48 hours, excluding Sundays and holidays.

Our law firm has been featured on

Fox NewsNBC NewsTIMEThe Wall Street JournalCBSThe New York TimesABCUnivisionLos Angeles TimesCNNMSNBC

David Chesley in the news

Select a photo to enlarge

Which courthouse hears a San Francisco criminal case?

San Francisco's criminal cases are heard mainly at the Hall of Justice, with some matters sent to the Civic Center Courthouse or the Community Justice Center instead.

The Superior Court's own Criminal Division page states plainly that criminal cases are heard in the Hall of Justice Building, 850 Bryant Street, between 6th and 7th Streets. It adds that some criminal cases are instead heard in the Civic Center Courthouse, 400 McAllister Street, or the Community Justice Center, 575 Polk Street, a collaborative court whose courtroom serves the Tenderloin, South of Market, Union Square and Civic Center neighborhoods.

San Francisco's three criminal courthouses
CourthouseAddressWhat it generally hears
Hall of Justice850 Bryant Street, San Francisco, CA 94103Most felony and misdemeanor criminal matters, including arraignments, motions, and trials
Civic Center Courthouse400 McAllister Street, San Francisco, CA 94102Some criminal matters, as assigned by the court
Community Justice Center575 Polk Street, San Francisco, CA 94102A collaborative court serving the Tenderloin, South of Market, Union Square and Civic Center neighborhoods

To find which department hears a specific case, the court directs people to the Daily Calendar for criminal and traffic hearings, posted on an electronic wall monitor outside Room 101 at the Hall of Justice, Monday through Friday, or to call the Clerk's Office. The court's notice says its Filing Clerk's Office is open Monday through Friday from 8:30 a.m. to 12:30 p.m., with drop boxes available from 12:30 p.m. to 4 p.m. A person's own citation, booking papers, or notice to appear names the exact courthouse and department; Penal Code 853.6(c) ties a misdemeanor citation to the court that would have heard the case in person. California's self-help site gives a short overview of the legal process from filing through sentencing, and notes that most criminal cases do not go to trial.

Once a case is filed, the court's Criminal Case Search portal looks up a case by name or case number, after a short verification step. The firm's guide to California's criminal courthouses and jails explains how courthouse assignment generally works across the state, and the court's own Case Information page links its other lookup tools for family, probate, and civil matters, which are handled apart from the Criminal Division.

Who polices San Francisco, and where does booking happen?

The San Francisco Police Department investigates and makes arrests citywide, and a person held in custody is booked into one of the Sheriff's two county jails.

SFPD's own page lists its headquarters at 1245 3rd Street, San Francisco, CA 94158, with a general phone line of (415) 837-7000. Not every arrest leads to a jail booking: for many misdemeanors, an officer instead writes a citation and releases the person with a promise to appear, discussed below. When someone is held, the Sheriff's Office's Find a Person in Jail tool shows whether they are in custody at County Jail #2, 425 7th Street, San Francisco, CA 94103, or County Jail #3, 1 Moreland Drive, San Bruno, CA 94066. A family member who cannot find someone listed should call the jail directly rather than assume the person has been released, since booking and data entry take time.

Right after booking, and no later than three hours after arrest where that is physically possible, an arrested person has the right to make at least three completed phone calls, free within the local area. The call to a lawyer may not be monitored or recorded.

Immediately upon being booked and, except where physically impossible, no later than three hours after arrest, an arrested person has the right to make at least three completed telephone calls, as described in subdivision (b).

That is Penal Code 851.5(a)(1), and these rights apply regardless of the arrested person's immigration status. Any California lawyer may also visit a person in custody at the request of that person or a relative, under Penal Code 825(b).

What has to happen in the first 48 hours after a San Francisco arrest?

A person held in custody must be brought before a judge without unnecessary delay, and in every case within 48 hours of arrest, not counting Sundays and holidays.

Except as provided in paragraph (2), the defendant shall in all cases be taken before the magistrate without unnecessary delay, and, in any event, within 48 hours after his or her arrest, excluding Sundays and holidays.

That is Penal Code 825(a)(1). If the 48 hours end while court is not in session, the deadline runs through the end of the next court session on the following court day; a person arrested on a Wednesday after the day's court session has ended, when that Wednesday is not a court holiday, must be taken before a judge no later than the following Friday, unless that Friday is itself a court holiday. This is a deadline for seeing a judge, not a promise of release and not a deadline for filing a formal charge.

Can someone be released before their San Francisco arraignment?

Often, yes: most misdemeanor arrests end with a written citation on the spot, and even after booking, bail or an early release can come before anyone sees a judge.

For most misdemeanors, an officer must release the person on a written notice to appear instead of taking them into custody, unless one of several listed reasons applies.

When a person is arrested for an offense declared to be a misdemeanor, including a violation of a city or county ordinance, and does not demand to be taken before a magistrate, that person shall, instead of being taken before a magistrate, be released according to the procedures set forth by this chapter, although nothing prevents an officer from first booking an arrestee pursuant to subdivision (g).

That is Penal Code 853.6(a)(1). An officer may still refuse citation release for reasons the statute lists, including an outstanding warrant, no satisfactory identification, or a specific, stated reason to believe the person would not appear. Citation release does not apply at all to misdemeanor domestic battery, corporal injury to a partner, some protective order violations, stalking, or the other crimes listed in Penal Code 1270.1. For the 1270.1 offenses, which include serious or violent felonies other than residential burglary and corporal injury punished as a felony, a hearing in open court with two court days' notice to both sides is required before bail is set below the schedule or an own recognizance release is granted. For other charges, if no change to bail is ordered within eight hours of booking, the person is entitled to be released on the scheduled amount under Penal Code 1269c.

How does bail work for a San Francisco charge?

San Francisco's judges set a countywide bail schedule each year, but a schedule amount is only a starting point once a judge actually sets bail in court.

Every county's superior court judges must adopt and annually revise a uniform bail schedule, under Penal Code 1269b(c). San Francisco's current Felony and Misdemeanor Bail Index and Schedule is effective July 1, 2026. Before a defendant appears before a judge, bail is the amount set on an arrest warrant, or, absent a warrant, the amount in this countywide schedule. Once a defendant appears, the judge's own amount controls instead.

Two California Supreme Court decisions shape what a judge must consider. In re Humphrey (2021) held that conditioning release solely on whether a person can pay is unconstitutional:

The common practice of conditioning freedom solely on whether an arrestee can afford bail is unconstitutional.

That is In re Humphrey, S247278 (Cal. Supreme Ct., Mar. 25, 2021), which also requires the court to weigh nonfinancial conditions, such as supervision or monitoring, that could reasonably protect the public and the victim or assure a return to court. In re Kowalczyk (Apr. 30, 2026) answered a question Humphrey had left open and added this rule:

bail must generally be set in an amount that is reasonably attainable, in order to effectuate the defendant's constitutional right to pretrial release on bail

That is In re Kowalczyk, S277910. The same opinion says the amount "need not be easily affordable or convenient," and a defendant who claims an inability to pay carries the burden of supporting that claim with reliable evidence. A person in custody on a misdemeanor is generally entitled to own recognizance release at arraignment under Penal Code 1270(a), unless the court finds on the record that release would compromise public safety or not reasonably assure a return to court. Public safety is the primary consideration whenever bail is set, reduced, or denied, under Penal Code 1275(a)(1). The firm's page on bail hearings and its answer on how California bail amounts are set walk through this process in more depth.

Who prosecutes a San Francisco case, and who defends people who cannot pay?

The San Francisco District Attorney's Office prosecutes criminal charges citywide, and the San Francisco Public Defender's Office represents people who cannot afford a lawyer.

California's Government Code makes the district attorney the public prosecutor in every county. The San Francisco District Attorney's Office is at 350 Rhode Island Street, North Building, Suite 400N, San Francisco, CA 94103, open Monday through Friday, 9 a.m. to 5 p.m., phone (628) 652-4000. If a defendant wants a lawyer and cannot afford one, the court must appoint one, under Penal Code 987(a). The San Francisco Public Defender's Office lists its Adult and Immigration Defender office at 555 7th Street, San Francisco, CA 94103. A defendant may also hire a private lawyer at any point in the case, including before an arraignment is even set.

The city's Adult Probation Department, at 945 Bryant Street, San Francisco, CA 94103, open weekdays 8 a.m. to 5 p.m., supervises people the court places on probation after a case is resolved.

What happens at the first San Francisco court date?

At arraignment, a judge states the charge, confirms the right to a lawyer, and takes a plea, and in most misdemeanor cases a lawyer may appear in the defendant's place.

The judge must inform the defendant of the charge and the right to counsel at every stage of the case, under Penal Code 858(a). California recognizes six kinds of pleas, including guilty, not guilty, and no contest; a no contest plea to a felony has the same legal effect as a guilty plea for every purpose, under Penal Code 1016. A not guilty plea at arraignment keeps every option open while a lawyer reviews the evidence.

In a misdemeanor-only case, a defendant may appear through counsel, and with the defendant's agreement most proceedings other than a jury or court trial may be held remotely under Penal Code 977(a)(1). A misdemeanor domestic violence case is an exception, requiring the defendant's presence at arraignment and sentencing, and a court may order presence in a misdemeanor DUI case as well. A felony defendant must be physically present at the arraignment, the plea, the preliminary hearing, trial, and sentencing, unless the defendant waives physical presence; even so, no defendant may appear remotely for a jury or court trial, and a felony defendant may not appear remotely at sentencing outside postconviction relief proceedings or where another law allows it. Whether a specific San Francisco department actually offers a remote appearance is a question for that department directly.

Anyone appearing at the Hall of Justice should expect a security screening with a metal detector and bag check. The court's own Court Etiquette and Security page asks that no one appear barefoot, shirtless, in a tank top, or wearing sunglasses, and it lists prohibited items such as firearms, stun guns, switchblade or gravity knives with blades longer than two inches, and tear gas. Electronic devices must be turned off before entering a courtroom.

Is a San Francisco charge a misdemeanor, a felony, or a wobbler?

A misdemeanor carries up to 364 days in county jail, a felony can bring a state prison or county jail term, and a wobbler can be filed as either.

A felony is any crime punishable by death, a state prison term, or a county jail term served under Penal Code 1170(h), as defined in Penal Code 17(a). Every other crime is a misdemeanor or an infraction. The one-year county jail cap most statutes describe is shortened by one day:

Every offense which is prescribed by any law of the state to be punishable by imprisonment in a county jail up to or not exceeding one year shall be punishable by imprisonment in a county jail for a period not to exceed 364 days.

That is Penal Code 18.5(a). A wobbler is a charge the law lets a prosecutor file as either a misdemeanor or a felony, such as most grand theft; a judge can also later reduce a wobbler to a misdemeanor, when granting probation or on a pretrial motion.

How a San Francisco charge is classified
LevelMost serious sentenceExample
MisdemeanorCounty jail, never more than 364 daysPetty theft of 950 dollars or less (Penal Code 490.2)
WobblerUp to 364 days in county jail, or a felony termGrand theft over 950 dollars (Penal Code 487)
FelonyState prison, or county jail under Penal Code 1170(h)First-degree burglary (Penal Code 461)

Whether a charge is filed as a felony also decides whether a preliminary hearing applies, where a judge weighs whether there is enough evidence to hold the defendant for trial. That hearing must generally be held within 10 court days of the arraignment or plea, unless both sides waive it or the court finds good cause, under Penal Code 859b.

How are DUI, theft, and drug charges handled in San Francisco?

Each charge family carries its own penalty rules, and the firm's statewide pages give the detailed defense picture for drivers, people accused of theft, and drug cases.

DUI and traffic charges

A San Francisco DUI charge under Vehicle Code 23152 starts a criminal case in court and a separate license case at the DMV, with its own 10-day deadline to request a hearing under Vehicle Code 13558(b). The firm's statewide pages cover DUI defense generally, as well as refusal cases, an out-of-state DUI, DMV hearing defense, driving without a license, DUI expungement, and a wet reckless resolution.

Theft and property crimes

San Francisco theft charges turn on the dollar line in the law. Under Penal Code 490.2, taking property worth 950 dollars or less is petty theft, a misdemeanor, with two exceptions in that section: theft of a firearm, and a person already on a narrow list of prior convictions or a sex-offense registration requirement. Since Proposition 36 (2024), Penal Code 666.1 also allows a felony for a new petty theft or shoplifting when the person has two or more prior convictions for listed theft-related offenses. Theft of more than 950 dollars is grand theft under Penal Code 487. The firm's wider theft defense practice covers burglary, robbery, grand theft, embezzlement, vandalism, and petty theft.

Drug charges

Simple possession in California splits on one word. For drugs such as heroin and cocaine, Health and Safety Code 11350 says a person with a listed prior "shall" instead receive a felony term. For methamphetamine, Health and Safety Code 11377 says the court "may" impose one instead. Since 2018, drug diversion under Penal Code 1000 lets an eligible person plead not guilty, complete a program, and have the charges dismissed after 12 to 18 months. The firm's drug crimes practice covers marijuana, methamphetamine, heroin, possession of a controlled substance, manufacturing or producing controlled substances, drug possession for sale, and prescription drug cases.

How are violent, sex, and homicide charges handled in San Francisco?

These charges carry long potential sentences and stricter release rules, which makes the first court date and any bail hearing matter even more.

Assault, weapons, and domestic violence

Assault with a deadly weapon can be charged as a misdemeanor only under three subdivisions of Penal Code 245: (a)(1), a weapon other than a firearm; (a)(2), a firearm; and (a)(4), force likely to cause great bodily injury. Every other subdivision is a straight felony. Corporal injury to a spouse or partner under Penal Code 273.5 can be charged either way, and misdemeanor domestic battery is one of the Penal Code 1270.1 offenses that needs an open-court hearing before bail is set outside the schedule. The firm's San Francisco violent crimes page and San Francisco domestic violence page cover local representation; its statewide violent crimes practice also covers assault, aggravated assault, domestic violence, hate crimes, unlawful possession of a firearm, assault with a deadly weapon, resisting arrest, drive-by shooting, and brandishing a weapon charges.

Sex offenses

Many sex offense convictions require registration under Penal Code 290, with the length tied to a tier: at least 10 years for tier one, at least 20 years for tier two, and life for tier three, running from release from custody for tiers one and two rather than from the conviction date. The firm's San Francisco sex crimes lawyer page is the local starting point; its statewide sex crimes practice covers statutory rape, pimping and pandering, indecent exposure, failure to register as a sex offender, prostitution, and lewd conduct in public charges.

Homicide charges

Murder is an unlawful killing committed with malice aforethought, under Penal Code 187(a). First-degree murder carries 25 years to life, life without parole, or death; second-degree murder carries 15 years to life in most cases, under Penal Code 190. Manslaughter, defined in Penal Code 192 as a killing without malice, carries shorter terms under Penal Code 193. Degree and intent decide which charge applies, and the firm's homicide defense practice breaks each one down on its own page: first-degree murder, second-degree murder, attempted murder, and the three manslaughter charges, voluntary, involuntary, and vehicular.

How does a defense lawyer test the evidence in a San Francisco case?

Through discovery and pretrial motions: the prosecution must turn over its evidence, including anything favorable to the defense, and a judge can exclude evidence from an unlawful search.

California's discovery statute requires the prosecution to disclose, among other things, the statements of all defendants and any exculpatory evidence, under Penal Code 1054.1, with disclosures generally due at least 30 days before trial under Penal Code 1054.7. The firm's page on discovery and evidence review explains how that process and its timing work in practice.

A motion to suppress evidence asks the court to exclude evidence gathered through an unreasonable search or seizure without a warrant, under Penal Code 1538.5(a)(1)(A). When that motion is made before conviction, its ruling can still be reviewed on appeal even after a guilty plea. Review can also start before any charge is filed: as evidence is gathered, counsel may seek a pre-filing investigation conference with prosecutors, and a case that is not resolved earlier is tested in front of a jury at trial.

Can a San Francisco case be diverted instead of prosecuted?

Sometimes: state law allows judge-granted misdemeanor diversion and drug diversion for eligible cases, and the Superior Court runs its own set of collaborative courts.

Under Penal Code 1001.95, a judge may offer diversion on an eligible misdemeanor, even over a prosecutor's objection, for up to 24 months, with dismissal when the terms are completed. It does not apply to offenses requiring sex offender registration, domestic violence offenses, or stalking, and published appellate decisions hold it is not available for a DUI. Drug diversion under Penal Code 1000 works differently: a person pleads not guilty, completes a program, and the charges are dismissed after 12 to 18 months, which is not a conviction or an admission of guilt.

The Superior Court's Collaborative Courts page lists the county's own programs, covering drug court, behavioral health, mental health diversion, and veterans tracks among others. Eligibility and referral depend on the specific case, so a diversion program is requested, never automatic.

How do plea deals work, and what if the defendant is not a U.S. citizen?

The court must read a verbatim immigration warning before a guilty or no contest plea to a misdemeanor or felony, and may withdraw its approval of a felony plea deal.

Once a felony plea is accepted by the prosecutor and approved by the court, the resulting sentence cannot exceed the agreed terms. But that approval "is not binding": the judge may withdraw it at sentencing, and the defendant may then withdraw the plea, under Penal Code 1192.5. A lawyer uses plea negotiations and sentencing advocacy to argue for a lighter result once the case reaches that stage.

Before accepting a guilty or no contest plea to a misdemeanor or felony, the court must read this advisement verbatim on the record:

If you are not a citizen of the United States, you are hereby advised that conviction of the offense for which you have been charged may have the consequences of deportation, exclusion from admission to the United States, or denial of naturalization pursuant to the laws of the United States.

That is Penal Code 1016.5(a), which applies to a plea to a misdemeanor or felony, not to an infraction, and no defendant has to disclose immigration status to the court. Defense counsel must give accurate, affirmative advice about immigration consequences before a plea, and the prosecution "shall consider the avoidance of adverse immigration consequences in the plea negotiation process as one factor," under Penal Code 1016.3(b). A conviction entered because of prejudicial error about its immigration consequences can sometimes be vacated later under Penal Code 1473.7. An immigration question tied to the same San Francisco charge can also be reviewed on the firm's San Francisco immigration lawyer page.

Can a San Francisco arrest or conviction be cleared later?

Often, yes: a conviction can be dismissed after probation, and an arrest without a conviction can often be sealed, though neither step erases every trace of the record.

Dismissal under Penal Code 1203.4, often called expungement, lets a defendant withdraw the plea once probation is complete, on early discharge, or at the court's discretion in the interest of justice, and only when the person is not then serving a sentence, on probation or charged with an offense. It releases most penalties, but the conviction can still be used in a later case, must still be disclosed on applications for public office or a state or local license, and does not restore firearm rights. The state Department of Justice also grants some relief without a petition, reviewing its records monthly and dismissing eligible convictions when the funding and the records allow it, under Penal Code 1203.425, with similar relief for eligible arrests under Penal Code 851.93. An arrest that did not end in a conviction can also be sealed by petition under Penal Code 851.91, and California's self-help resources explain how an arrest without a conviction can be cleared. The firm's pages on expungement and sealing and destroying a criminal record cover both paths, and the California Department of Justice explains how to request a review of a person's own record directly.

What does a San Francisco criminal defense lawyer cost, and how do you choose one?

Cost depends on the charge, the courthouse, and how much work the case needs, and the firm offers a free consultation so a defendant can compare before deciding.

A misdemeanor that resolves at an early hearing takes far less work than a felony headed toward a preliminary hearing and trial. Affordable rates and payment plans are available at the firm; ask about fees and payment terms before agreeing to representation. The firm's guide on how to choose a criminal defense attorney lists practical questions to ask any lawyer, including what the fee covers and who will actually appear at each hearing.

Judge a lawyer by facts that can be checked. The firm's attorney profiles and firm-published case results, which depend on the facts of each case, are a starting point, alongside David S. Chesley's listing on third-party legal directories such as his profile on Avvo and his listing on Top Attorney. California's criminal justice landscape has shifted over the decades, and a lawyer who follows current law and local practice, not an outdated reputation, is worth asking about directly; the Public Policy Institute of California's own research traces some of those changes. On the other side, waiting too long to get a lawyer involved carries its own risk: the California Public Defenders Association's rights guide warns that continuing to talk with investigators after asking for a lawyer can be read by a court as giving up that right.

Frequently Asked Criminal Defense Questions in San Francisco, CA

Should I still hire a San Francisco, CA, criminal defense lawyer if I'm not guilty?

Yes. Being innocent does not end the case by itself; the charge still has to be challenged through discovery, motions, and, if needed, trial. A lawyer can press for an early dismissal, test the evidence, and make sure nothing you say is used against you while that happens.

How long does a conviction stay on my record in California?

A conviction does not fall off a California record after a set number of years on its own. Relief has to be granted, either by petition, such as dismissal under Penal Code 1203.4, or automatically by the Department of Justice when a person is eligible under Penal Code 1203.425. Even after relief, the conviction can still count in a later case.

Do criminal records in San Francisco, CA, include arrests?

Yes. California keeps a record of arrests as well as convictions. An arrest that did not lead to a conviction can often be sealed by petition under Penal Code 851.91, and the Department of Justice grants some arrest relief automatically under Penal Code 851.93 once the listed conditions are met.

If there is not a warrant out for my arrest, how can the police arrest me?

An officer can make a warrantless arrest with probable cause, meaning a reasonable belief based on the facts that the person committed a crime. The officer does not need to see the offense happen for every charge; a felony arrest can rest on probable cause alone, without a warrant.

If you've already been convicted, what are your options?

Options depend on the case: a direct appeal challenges legal errors at trial, a motion to vacate under Penal Code 1473.7 addresses prejudicial error affecting an immigration-related plea, and dismissal under Penal Code 1203.4 is available once probation is complete, on early discharge, or in the interest of justice, when not then serving a sentence, on probation or charged. A lawyer can review the record to see which path fits.

What are wobbler offenses in California?

A wobbler is a charge the law lets prosecutors file as either a misdemeanor or a felony, such as most grand theft under Penal Code 487. A judge can also reduce a wobbler that was filed as a felony down to a misdemeanor later, when granting probation or on a pretrial motion under Penal Code 17(b).

What are the advantages of plea bargaining in San Francisco, CA?

A negotiated plea can resolve a case for a reduced charge or an agreed sentence instead of the risk of trial. The court must still approve the deal, and that approval is not binding until sentencing under Penal Code 1192.5; if the court later withdraws its approval, the defendant is entitled to withdraw the plea.

Talk to a San Francisco criminal defense lawyer

If you or someone you love was arrested or cited in San Francisco, The Law Offices of David S. Chesley offers a free consultation and is available 24/7. Se habla español.

Affordable rates and payment plans are available; ask about fees and payment terms before agreeing to representation. Call (800) 755-5174, lines open day and night for your call at (800) 755-5174, or reach out through the firm's contact form. The firm's San Francisco office is listed on its San Francisco location page, with the current address and phone number for that office.

Our law firm can also assist with the below services in San Francisco, CA: