(510) 545-6515 — Free Consultation
(510) 545-6515
PC 647(b)

By Charge · Published August 2026

What Is PC 647(b)? Prostitution and Solicitation, Explained

By Ahmed S. Hasan·San Francisco Criminal Defense Attorney·Bar #364992

Penal Code 647(b) is California’s prostitution and solicitation law. It covers soliciting, agreeing to engage in, or engaging in an act of prostitution for compensation.

It is a misdemeanor carrying up to 6 months in county jail and/or a $1,000 fine — and these cases often turn on the agreement element and how the sting was run.

What PC 647(b) Says

PC 647(b) reaches three things done in exchange for compensation: soliciting an act of prostitution, agreeing to engage in one, or engaging in one. For the ‘agreeing’ branch, an agreement alone is not enough — California law also requires an act in furtherance of the agreement, which is frequently where these cases fall apart.

Penalties and Collateral Consequences

PC 647(b) is a misdemeanor. With no special term set by the statute, it carries the standard misdemeanor maximum of up to six months in county jail and/or a $1,000 fine. Beyond the sentence, a conviction can carry collateral consequences for professional licensing and for non-citizens, which is a central reason to fight for a non-conviction outcome.

Defenses

  • No agreement or no act in furtherance. On the ‘agreeing’ branch, the prosecution must prove both an agreement and a concrete act toward it.
  • Entrapment. Decoy stings are common, and entrapment is a recognized defense when officers induce conduct a person was not otherwise willing to commit.
  • Insufficient evidence. These cases often rest on a single officer’s account of an ambiguous conversation.
  • Judicial diversion (PC 1001.95) may be available to resolve the case without a conviction.

Frequently Asked Questions

Is PC 647(b) a felony or a misdemeanor?

Soliciting, agreeing to, or engaging in prostitution under PC 647(b) is a misdemeanor, carrying up to six months in county jail and/or a $1,000 fine. Enhanced penalties can apply in specific circumstances, such as offenses involving a minor.

What does the prosecution have to prove for solicitation?

That you solicited, agreed to engage in, or engaged in an act of prostitution for compensation. For the 'agreeing' branch, an agreement alone is not enough — California law also requires an act in furtherance of the agreement.

Is entrapment a defense to a solicitation charge?

It can be. Many PC 647(b) cases arise from decoy stings, and entrapment is a recognized defense when law enforcement induces conduct that the person was not otherwise predisposed to commit.

Can a PC 647(b) charge be dismissed?

Often. These cases frequently rest on a single officer's account of an ambiguous conversation, which creates room to challenge the agreement and act-in-furtherance elements. Judicial diversion under PC 1001.95 may also resolve the case without a conviction.

GuidesComplete Guide to California Misdemeanors · Glossary · Penalties Reference.

Free 30-Minute Consultation

Solicitation cases often turn on the agreement element and how the sting was run. Tell me what happened and I'll tell you where the case is soft.

(510) 545-6515

ahmed@ashlegal.com

Schedule Free Consultation

About the Author

Ahmed S. Hasan

San Francisco Criminal Defense Attorney · State Bar of California #364992

Ahmed S. Hasan is the founder of ASH Legal, a solo criminal defense practice based in San Francisco. The firm runs on flat-fee representation: one lawyer, one fee, from arraignment through resolution. No hourly billing. No surprise invoices.

Ahmed is a graduate of Emory University School of Law and a member in good standing of the State Bar of California (Bar #364992). His practice focuses on San Francisco misdemeanor defense — DUI, domestic violence, petty theft and shoplifting, drug possession, vandalism, trespassing, and assault and battery — with particular attention to diversion-track outcomes that end in dismissal under PC 1001.95, PC 1001.36 (Mental Health Diversion), PC 1001.80 (Military Diversion), and PC 1001.83 (Parental Caregiver Diversion).

Ahmed previously served as a post-bar clerk with the San Francisco Public Defender's Office, the city's largest indigent-defense practice. He is a member of the Asian Pacific American Bar Association of Silicon Valley.

He represents clients at the San Francisco Hall of Justice (850 Bryant Street) and the Civic Center Courthouse. The ASH Legal office is at 15 Boardman Place, Suite 301, San Francisco, CA 94103.

Free 30-minute consultations are available by phone or Zoom. (510) 545-6515 · ahmed@ashlegal.com

Related

Keep Reading