CALL US NOW Text Us

Prostitution Lawyers in Bay Area (PC 647b)

A single undercover conversation can lead to an arrest that follows you for years. Understanding how California prosecutes prostitution charges under Penal Code 647(b) is the first step toward building a defense that protects your record, your career, and your future.

Most people charged under PC 647(b) never expected to find themselves in a police station. Many are working professionals with no prior criminal history who were caught in a sting operation and are now facing the very real possibility of a misdemeanor conviction appearing on every background check for the rest of their lives. The stigma alone can be devastating, even before you consider the legal consequences.

Here is what you need to know: a prostitution charge is not a conviction. Prosecutors still have to prove every element of the offense, and these cases frequently involve aggressive police tactics that create genuine defense opportunities. Our team at The Nieves Law Firm Criminal Defense Attorneys has defended clients across the Bay Area against sex crime charges, and we know how to challenge the evidence, pursue diversion when it’s available, and fight for outcomes that keep your record clean.

If you are facing a PC 647(b) charge, contact our team today for a consultation. The earlier we get involved, the more options we have to protect you.

How California Defines Prostitution Under PC 647(b)

California’s prostitution statute was significantly reshaped by Senate Bill 357, which took effect in June 2022. That legislation repealed the old “loitering with intent” provision (former Penal Code section 653.22) and refocused enforcement on the transaction itself rather than a person’s mere presence in a particular area.1

Under the current version of PC 647(b), three distinct categories of conduct are prohibited:

Solicitation (the buyer): Under subdivision (b)(1), it is unlawful to solicit another person to engage in prostitution. This targets the person offering to pay for sexual services.2

Agreement to engage: Under subdivision (b)(2), it is unlawful to agree to engage in an act of prostitution and then take a step in furtherance of that agreement. This applies to the person who accepts or agrees to the arrangement.3

Engaging in prostitution: Under subdivision (b)(3), it is unlawful to willfully engage in an act of prostitution.4

The statute defines “prostitution” as any lewd act between persons for money or other consideration.5 That definition is broader than many people realize. It does not require completed sexual intercourse, and “consideration” extends beyond cash to include anything of value.

The SB 357 Policy Shift

The 2022 legislative changes reflect California’s evolving approach to prostitution enforcement. By eliminating the loitering provision, the legislature acknowledged that criminalizing someone’s presence on a sidewalk based on their appearance disproportionately affected vulnerable communities without meaningfully reducing exploitation.6 The current framework increasingly distinguishes between buyers and sellers, with prosecutors directing more resources toward those who solicit and those who profit from the sex trade (pimps and traffickers) rather than the individuals selling sex.

What Prosecutors Must Prove

To secure a conviction under PC 647(b), the prosecution cannot simply point to an arrest. They must establish specific elements depending on which subsection is charged.7

Solicitation (PC 647(b)(1))

The defendant solicited another person to engage in prostitution. The prosecution must show that the defendant initiated or made an offer to pay for sexual services. Vague or ambiguous language during a conversation does not automatically satisfy this element.

The defendant had specific intent to engage in prostitution. This is a critical requirement. The prosecution needs to prove that the defendant genuinely intended to follow through, not merely that words were exchanged. Specific intent is an internal mental state, and prosecutors typically try to establish it through the context of the conversation, prior conduct, or the specificity of the language used.

The defendant took some act in furtherance. An overt step beyond mere conversation is required. This could include withdrawing cash, driving to a specific location, or entering a hotel room. Without this concrete act, the charge may not hold.

Agreement to Engage (PC 647(b)(2))

The defendant agreed to engage in an act of prostitution. The prosecution must prove an actual agreement, not just a conversation that could be interpreted multiple ways.

Specific intent to engage in prostitution. Same requirement as solicitation. The agreement must reflect genuine intent, not curiosity, confusion, or entrapment.

An act in furtherance of the agreement. Again, the prosecution needs more than words. Some concrete step toward completing the transaction must be shown.

Engaging in Prostitution (PC 647(b)(3))

The defendant willfully engaged in an act of prostitution. This requires proof that a lewd act actually occurred and that it was exchanged for money or other consideration.8

The “act in furtherance” requirement across these subsections is where many prosecutions run into trouble. In sting operations, the line between a conversation that was heading somewhere and an actual step toward completing the offense is often blurry, and that ambiguity creates real defense opportunities.

Penalties for a PC 647(b) Conviction

Prostitution under PC 647(b) is a misdemeanor in California. It is not a strike offense and does not appear on the list of serious felonies under Penal Code section 1192.7(c) or violent felonies under Penal Code section 667.5(c).9 10

Offense Level Jail Time Fine Additional Consequences
First offense Up to 6 months county jail Up to $1,000 Probation, possible diversion
Second offense Minimum 45 days county jail Up to $1,000 Mandatory minimum sentence
Third or subsequent offense Minimum 90 days county jail Up to $1,000 Mandatory minimum sentence

The escalating mandatory minimums for repeat offenses make it especially important to fight a first charge aggressively. A conviction today limits your options dramatically if you ever face a similar allegation in the future.

Collateral Consequences Beyond the Courtroom

The formal penalties listed above tell only part of the story. For many of our clients, the collateral consequences of a prostitution conviction cause far more lasting damage than any fine or jail sentence.

Employment and professional licensing. A prostitution conviction appears on criminal background checks. For professionals in healthcare, education, finance, law, or any field requiring state licensing, this can trigger disciplinary proceedings, license suspension, or termination. Even in industries without formal licensing requirements, many employers will not hire someone with this type of conviction on their record.

Immigration consequences. This is one of the most severe and underappreciated risks. Under federal immigration law, any person who has engaged in prostitution or procured prostitution may be found inadmissible to the United States.11 This applies regardless of whether the offense is classified as a misdemeanor under California law. A conviction, or in some cases even an admission during immigration proceedings, can trigger removal proceedings, bar adjustment of status, and prevent naturalization. For non-citizens, fighting the charge or obtaining post-conviction relief is not optional; it is essential.

Reputation and personal relationships. The stigma attached to a prostitution charge can affect personal relationships, custody disputes, and community standing in ways that persist long after the legal case is resolved.

Sex offender registration. A standalone PC 647(b) conviction does not require sex offender registration.12 However, if the case involves related charges such as indecent exposure (PC 314) or lewd conduct in public (PC 647(a)), registration requirements could come into play depending on the specific facts.

Entrapment and Sting Operations in Prostitution Cases

The single most important legal concept in PC 647(b) defense is entrapment, and it deserves more attention than most people give it.

The vast majority of prostitution arrests in the Bay Area originate from undercover sting operations. Law enforcement officers pose as either buyers or sellers, initiate contact (often online or on the street), and steer the conversation toward an explicit agreement. When the target says or does enough to satisfy the elements, officers make the arrest.

The legal question is whether the defendant was predisposed to commit the offense or whether law enforcement manufactured the crime.

Under California law, entrapment occurs when a law enforcement officer or agent induces a normally law-abiding person to commit a crime they would not otherwise have committed.13 California uses an objective test for entrapment, which means the focus is on the officer’s conduct rather than the defendant’s predisposition. The question is whether the police conduct was likely to induce a normally law-abiding person to commit the offense.

This is a significant advantage for the defense. Unlike the federal subjective test, California’s objective standard means the prosecution cannot simply argue that the defendant was “the type of person” who would commit this crime. If the officer’s behavior crossed the line, the defense applies regardless of the defendant’s character or history.

What Entrapment Looks Like in Practice

Entrapment defenses succeed most often when the evidence shows that the undercover officer:

  • Initiated the conversation about sexual services rather than waiting for the defendant to raise the topic
  • Used persistent persuasion, repeated offers, or escalating pressure after the defendant initially declined or expressed hesitation
  • Created an atmosphere of urgency or opportunity designed to overcome reluctance
  • Made promises or representations that lowered the defendant’s guard (such as claiming to be a friend of a friend)

In our experience, many sting operations involve officers who are trained to guide conversations toward incriminating language. Body camera footage and recorded communications frequently reveal that the officer introduced the topic of money, suggested specific acts, or pushed past moments where the defendant tried to change the subject. These details matter enormously at trial or in pre-trial negotiations.

Defense Strategies for PC 647(b) Charges

Challenging Specific Intent

Prosecutors must prove that the defendant specifically intended to engage in prostitution. Conversations that are ambiguous, joking, or exploratory do not necessarily establish that intent. If the recorded exchange can be reasonably interpreted in a non-criminal way, the prosecution has a problem. Our team reviews every piece of communication evidence to identify language that undermines the intent element.

No Act in Furtherance

For charges under subdivisions (b)(1) and (b)(2), the prosecution must prove an overt act beyond mere conversation. Simply talking about the possibility of an exchange is not enough. If the defendant never withdrew cash, never drove to a meeting location, and never took any concrete step toward completing the transaction, the charge may fail on this element alone.

Consider this scenario: a person responds to an online ad, exchanges a few messages, but never agrees to a specific time, place, or price, and never leaves their home. That set of facts may not support a conviction even if some of the messages were suggestive.

Insufficient Evidence of Exchange

Prostitution requires a lewd act “for money or other consideration.”14 If the prosecution cannot establish that compensation was discussed, agreed upon, or exchanged, the case lacks an essential element. This defense is particularly relevant when the alleged agreement was vague or when the conversation could be interpreted as two people arranging a consensual encounter without any transactional component.

Mistaken Identity

Sting operations involving multiple suspects in the same location can produce identification errors. When arrests happen in chaotic environments, surveillance footage may be unclear, and officers may confuse one individual for another. We scrutinize the identification evidence in every case.

Coercion and the Human Trafficking Victim Defense

California law recognizes that many people charged with prostitution are themselves victims of exploitation. Under Penal Code section 236.23, individuals who committed the offense as a direct result of being a victim of human trafficking have an affirmative defense to prostitution charges.15 This defense reflects the legislature’s understanding that punishment is not the appropriate response for people who were coerced or forced into the sex trade.

Pre-Trial Diversion Programs

Alameda County and other Bay Area jurisdictions have historically offered diversion programs for individuals charged with prostitution, particularly first-time offenders and those identified as trafficking survivors. Programs like LEAD (Law Enforcement Assisted Diversion) connect participants with services rather than prosecution. Successful completion of a diversion program results in case dismissal, meaning no conviction appears on your record. Our familiarity with local diversion availability in Alameda County, where cases are typically heard at the Rene C. Davidson Courthouse in Oakland, allows us to pursue these alternatives early in the process.

Immigration Consequences Require Immediate Attention

We mentioned immigration consequences above, but this issue is important enough to address in greater depth because it is one of the primary reasons people seek our help with PC 647(b) charges.

Federal immigration law treats prostitution-related offenses with particular severity. Under 8 U.S.C. § 1182(a)(2)(D), a non-citizen who has engaged in prostitution within 10 years of applying for a visa or admission is inadmissible.16 This ground of inadmissibility does not require a criminal conviction. Even an admission to the conduct during an immigration interview can trigger consequences.

For non-citizens who have already been convicted, a Motion to Vacate under Penal Code section 1473.7 may provide relief.17 This is one of our team’s specialties. Immigration attorneys throughout the Bay Area refer clients to us specifically because we understand how to identify constitutionally deficient plea agreements and build the record necessary to vacate convictions that carry immigration consequences.

If you are a non-citizen facing a PC 647(b) charge, or if you have a prior conviction that is affecting your immigration status, reach out to our team to discuss your options.

Offenses Commonly Charged Alongside PC 647(b)

Prostitution charges rarely exist in isolation. Depending on the circumstances, prosecutors may file additional charges that significantly increase the stakes.

Related Offense Statute Classification
Pimping Penal Code, § 266h Felony
Pandering Penal Code, § 266i Felony
Human trafficking for commercial sex Penal Code, § 236.1 Felony
Lewd conduct in public Penal Code, § 647, subd. (a) Misdemeanor
Indecent exposure Penal Code, § 314 Misdemeanor or felony
Keeping a house of prostitution Penal Code, § 315 Misdemeanor

The distinction between a misdemeanor prostitution charge and a felony pandering charge often comes down to how the prosecution interprets the facts. When someone is accused of facilitating or profiting from another person’s prostitution, the charges escalate dramatically. Our team evaluates the full scope of potential charges early in every case to ensure the defense strategy accounts for everything the prosecution might pursue.

Quick Reference

Category Details
Statute Penal Code, § 647, subd. (b)
Classification Misdemeanor
Maximum jail (first offense) 6 months county jail
Maximum fine $1,000
Strike offense No
Sex offender registration Not required for PC 647(b) alone
Immigration impact Severe — ground of inadmissibility under federal law
Diversion available Yes, in many Bay Area jurisdictions
Expungement eligible Yes, upon completion of sentence

Why The Nieves Law Firm for Your PC 647(b) Defense

Prostitution cases require a defense team that understands the sensitive nature of the charge and has the courtroom experience to challenge the prosecution’s evidence effectively. Our attorneys have defended clients across the Bay Area against sting operation arrests, and we know how local prosecutors handle these cases and what it takes to secure dismissals, diversion placements, and favorable plea outcomes.

We also understand that for many of our clients, the criminal case is only one piece of the puzzle. Immigration consequences, professional licensing concerns, and the need to protect your reputation all factor into the defense strategy. As one of the largest criminal defense teams in the Bay Area, we have the resources to address every dimension of your case simultaneously.

Don’t let a single mistake define your future. Schedule a consultation with our team today and take the first step toward protecting your record, your career, and your reputation.

References

  1. 1. Penal Code, § 647, subd. (b) [“Who solicits, or who agrees to engage in, or who engages in, any act of prostitution with the intent to receive compensation, money, or anything of value from another person.”]
  2. 2. Penal Code, § 647, subd. (b) [“Who solicits, or who agrees to engage in, or who engages in, any act of prostitution with the intent to receive compensation, money, or anything of value from another person.”]
  3. 3. Penal Code, § 647, subd. (b) [“Who solicits, or who agrees to engage in, or who engages in, any act of prostitution with the intent to receive compensation, money, or anything of value from another person.”]
  4. 4. Penal Code, § 647, subd. (b) [“Who solicits, or who agrees to engage in, or who engages in, any act of prostitution with the intent to receive compensation, money, or anything of value from another person.”]
  5. 5. Penal Code, § 647, subd. (b) [“Who solicits, or who agrees to engage in, or who engages in, any act of prostitution with the intent to receive compensation, money, or anything of value from another person.”]
  6. 6. See Senate Bill 357 (2021-2022 Reg. Sess.) [repealing Penal Code, § 653.22, effective June 2022].
  7. 7. See CALCRIM No. 1153 [Prostitution and Related Offenses].
  8. 8. Penal Code, § 647, subd. (b) [“Who solicits, or who agrees to engage in, or who engages in, any act of prostitution with the intent to receive compensation, money, or anything of value from another person.”]
  9. 9. See Penal Code, § 1192.7, subd. (c).
  10. 10. See Penal Code, § 667.5, subd. (c).
  11. 11. 8 U.S.C. § 1182(a)(2)(D)(i)-(ii).
  12. 12. See Penal Code, § 290 [sex offender registration requirements — PC 647(b) not listed as registrable offense].
  13. 13. See CALCRIM No. 3408 [Entrapment].
  14. 14. Penal Code, § 647, subd. (b) [“Who solicits, or who agrees to engage in, or who engages in, any act of prostitution with the intent to receive compensation, money, or anything of value from another person.”]
  15. 15. See Penal Code, § 236.23 [affirmative defense for victims of human trafficking].
  16. 16. 8 U.S.C. § 1182(a)(2)(D)(i)-(ii).
  17. 17. See Penal Code, § 1473.7 [Motion to Vacate based on prejudicial error affecting immigration consequences].
SMS Agree(Required)

Top-Rated Bay Area Criminal Lawyer

Don't Just Take Our Word For It.
We've helped hundreds of clients through the worst moments of their lives. Here's what they have to say.

The Nieves Law Firm

Your Future Is
Worth Fighting For
If you or someone you care about is facing criminal charges in the Bay Area, the next decision matters. Call us for a confidential consultation.
  • 100% Confidential
  • Se Habla Español
  • Payment Plans Available