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 was signed in July 2022 and took effect on January 1, 2023. 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:
Offering or providing sex for compensation: Under subdivision (b)(1), it is unlawful to solicit, agree to engage in, or engage in an act of prostitution with the intent to receive compensation, money, or anything of value from another person.2
Paying an adult for sex: Under subdivision (b)(2), it is unlawful to solicit, agree to engage in, or engage in an act of prostitution with another person who is 18 or older in exchange for providing compensation, money, or anything of value. When the charge is based on accepting an offer or solicitation, some act in furtherance must also be done in California.3
Paying a minor for sex: Under subdivision (b)(3), the same conduct with a minor is prohibited, and it carries much heavier penalties under subdivision (l).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))
The defendant solicited another person to engage in prostitution. The prosecution must show that the defendant asked or offered to exchange a sexual act for money or something of value, whether as the person paying or the person being paid. 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.
Act in furtherance. The statute’s extra “act in furtherance” requirement applies when the charge is based on accepting an offer or solicitation, not to the solicitation itself. In those agreement cases, some act beyond the acceptance, such as withdrawing cash, driving to a specific location, or entering a hotel room, must be done in California.8
Agreement to Engage (PC 647(b))
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))
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.9
The “act in furtherance” requirement for agreement-based charges 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).10 11
| Offense Level | Jail Time | Fine | Additional Consequences |
|---|---|---|---|
| Offense involving adults (subd. (b)(1) or (b)(2)) | Up to 6 months county jail (PC 19) | Up to $1,000 (PC 19); a person who pays also faces an additional $1,000 fine (subd. (l)(5)) | Probation, possible diversion |
| Soliciting a minor (subd. (b)(3), (l)(1)) | 2 days to 1 year county jail | Up to $10,000, plus the additional $1,000 fine | Applies when the defendant knew or should have known the person was a minor |
| Soliciting a minor under 16, or more than 3 years younger (subd. (l)(2)-(3)) | 2 days to 1 year county jail, or a felony term under PC 1170(h); a second violation is a felony | Up to $10,000, plus the additional $1,000 fine | Human trafficking education program if granted probation |
A conviction stays on your record and limits your options if you ever face a similar allegation in the future, which makes it especially important to fight a first charge aggressively.
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, a non-citizen who has engaged in prostitution, or who has procured or attempted to procure persons for prostitution or received its proceeds, within 10 years of applying for a visa, admission, or adjustment of status is inadmissible to the United States.12 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 PC 647(b) conviction involving only adults is not on the list of offenses that require sex offender registration, although certain repeat convictions for soliciting a minor under subdivision (l) are.13 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.14 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
When the charge is based on agreeing to an offer or solicitation, the prosecution must prove an act in furtherance beyond the agreement itself.15 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.”16 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, a person has an affirmative defense if they were coerced to commit the offense as a direct result of being a human trafficking victim at the time of the offense and had a reasonable fear of harm. The defendant must establish this defense by a preponderance of the evidence.17 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, admission, or adjustment of status is inadmissible.18 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.19 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 (offenses involving adults) | 6 months county jail |
| Maximum fine | $1,000 for offenses involving adults, plus an additional $1,000 for a person who pays; up to $10,000 when a minor is solicited |
| 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. Penal Code, § 647, subd. (b).↑
- 2. Penal Code, § 647, subd. (b)(1).↑
- 3. Penal Code, § 647, subd. (b)(2), (b)(4).↑
- 4. Penal Code, § 647, subds. (b)(3), (l).↑
- 5. Penal Code, § 647, subd. (b).↑
- 6. See Senate Bill 357 (2021-2022 Reg. Sess.) [repealing Penal Code, § 653.22, effective January 1, 2023].↑
- 7. See CALCRIM No. 1153 [Prostitution and Related Offenses].↑
- 8. Penal Code, § 647, subd. (b)(4).↑
- 9. Penal Code, § 647, subd. (b).↑
- 10. See Penal Code, § 1192.7, subd. (c).↑
- 11. See Penal Code, § 667.5, subd. (c).↑
- 12. 8 U.S.C. § 1182(a)(2)(D)(i)-(ii).↑
- 13. See Penal Code, § 290 [sex offender registration requirements — PC 647(b) not listed as registrable offense].↑
- 14. See CALCRIM No. 3408 [Entrapment].↑
- 15. Penal Code, § 647, subd. (b)(4).↑
- 16. Penal Code, § 647, subd. (b).↑
- 17. See Penal Code, § 236.23 [affirmative defense for victims of human trafficking].↑
- 18. 8 U.S.C. § 1182(a)(2)(D)(i)-(ii).↑
- 19. See Penal Code, § 1473.7 [Motion to Vacate based on prejudicial error affecting immigration consequences].↑













