California Penal Code § 647(b) is one of the most commonly enforced laws involving prostitution and solicitation in the state. The statute makes it illegal to engage in prostitution, solicit prostitution, or agree to engage in prostitution in exchange for money or another form of compensation.
Many people mistakenly believe prostitution laws only apply to street activity, but California law covers a much broader range of situations. Charges may arise from online conversations, undercover sting operations, text messages, escort arrangements, or in-person interactions.
This guide explains what California Penal Code § 647(b) means, how prosecutors handle these cases, potential penalties, common defenses, and what individuals should know if they are facing accusations involving prostitution or solicitation.
What Is California Penal Code § 647(b)?
California Penal Code § 647(b) is part of the state’s disorderly conduct laws. Under this statute, a person may be charged with a crime if they:
- Engage in prostitution
- Solicit prostitution
- Agree to engage in prostitution
The law applies to both the person offering sexual services and the individual attempting to purchase them. In other words, both parties involved in the alleged transaction may face criminal charges.
Although prostitution offenses are usually charged as misdemeanors, a conviction can still carry serious legal, personal, and professional consequences.
How California Defines Prostitution
Under California law, prostitution generally refers to engaging in sexual intercourse or a lewd act in exchange for money, goods, services, or anything of value.
A “lewd act” may include touching intimate body parts for sexual gratification or arousal. The law does not necessarily require completed intercourse for criminal charges to occur.
Compensation does not have to involve cash. Prosecutors may argue that gifts, drugs, favors, or other benefits qualify as payment under the statute.
Examples that may lead to allegations under Penal Code § 647(b) include:
- Offering money in exchange for sexual acts
- Negotiating prices for intimate activity
- Agreeing to provide sexual services for compensation
- Arranging meetings for paid sexual conduct
- Accepting gifts or valuables in exchange for sexual acts
Because the statute is broad, even conversations or arrangements that never result in physical contact may still lead to criminal investigations.
What Counts as Solicitation?
Solicitation occurs when someone requests, encourages, or attempts to persuade another person to engage in prostitution with the intent to follow through with the act.
To secure a conviction for solicitation, prosecutors generally must show that:
- A person requested or offered prostitution
- The request was communicated to another individual
- The accused intended to engage in prostitution
Intent plays a critical role in these cases. Simply being present in an area known for prostitution activity is usually not enough to support a conviction.
For example, talking to strangers, waving at passing vehicles, or standing in certain public areas does not automatically establish criminal conduct. Prosecutors must still prove intent beyond a reasonable doubt.
Agreeing to Engage in Prostitution
California law also criminalizes agreeing to engage in prostitution. However, an agreement alone is often insufficient for conviction.
Typically, prosecutors must demonstrate:
- An agreement existed between the parties
- The accused intended to engage in prostitution
- An additional act was taken to further the arrangement
Examples of actions that may support criminal charges include:
- Driving to a designated meeting location
- Booking a hotel room
- Withdrawing money for payment
- Sending payment electronically
- Providing directions to a meeting place
Courts generally require evidence showing that the parties intended to carry out the agreement rather than merely discussing hypothetical scenarios or fantasy role-play.
Online Solicitation and Internet Investigations
Modern prostitution investigations increasingly involve digital communications and online platforms.
Law enforcement agencies often monitor:
- Dating applications
- Social media accounts
- Messaging apps
- Classified advertisement websites
- Text message conversations
- Online escort listings
Individuals may face criminal charges even if they never meet another person in real life. Investigators frequently use screenshots, digital chats, payment records, and online communication histories as evidence in court.
As technology continues to evolve, online sting operations have become more common throughout California.
Undercover Sting Operations
Many prostitution and solicitation arrests occur during undercover police operations.
In these investigations, law enforcement officers may pose as:
- Escorts
- Sex workers
- Customers
- Massage parlor employees
- Online advertisers
The purpose of these operations is to identify individuals allegedly seeking to exchange compensation for sexual acts.
Although sting operations are legal, they sometimes raise questions about entrapment. Entrapment may occur when law enforcement improperly pressures or persuades someone to commit a crime they otherwise would not have committed.
However, simply providing an opportunity to commit a crime is generally not considered entrapment under California law.
Penalties for Violating Penal Code § 647(b)
A violation of California Penal Code § 647(b) is usually charged as a misdemeanor offense.
Potential penalties may include:
- Up to six months in county jail
- Fines of up to $1,000
- Informal probation
- Community service requirements
- Mandatory educational or counseling programs
Repeat offenses can result in harsher penalties, including mandatory minimum jail sentences in certain situations.
Judges may also impose additional conditions depending on the circumstances of the case.
Long-Term Consequences of a Conviction
Even though prostitution and solicitation charges are misdemeanors, the long-term effects can be significant.
Criminal Record
A conviction becomes part of a person’s criminal history and may appear on background checks conducted by employers, landlords, or licensing agencies.
Employment Challenges
Certain employers may hesitate to hire individuals with prostitution-related convictions, particularly in industries requiring trust, professional licensing, or security clearances.
Professional Licensing Issues
Doctors, nurses, attorneys, teachers, real estate professionals, and other licensed individuals may face disciplinary action from licensing boards.
Immigration Concerns
Non-citizens accused of prostitution-related offenses may encounter immigration complications depending on their specific circumstances and prior criminal history.
Reputation Damage
Prostitution allegations can create personal embarrassment and negatively affect relationships, careers, and reputations — even before a case is resolved.
Common Defenses to Prostitution and Solicitation Charges
Every criminal case is different, and several defenses may apply depending on the facts and evidence involved.
Lack of Intent
Intent is one of the most important elements in prostitution-related cases. A defense attorney may argue that the accused never intended to engage in prostitution.
Misunderstandings, jokes, vague conversations, or ambiguous language may weaken the prosecution’s case.
No Agreement Existed
The defense may argue that no actual agreement for prostitution was ever made.
For example:
- Payment terms may never have been discussed
- The conversation may have been unclear
- The parties may not have intended to follow through
Without sufficient evidence of an agreement, prosecutors may struggle to prove their case.
Insufficient Evidence
Many prostitution cases rely heavily on testimony from undercover officers or electronic communications.
If the evidence is inconsistent, incomplete, or unreliable, the defense may challenge whether prosecutors can establish guilt beyond a reasonable doubt.
Entrapment
Entrapment may become an issue if law enforcement officers used excessive pressure or improper tactics to convince someone to commit a crime.
Constitutional Violations
Illegal searches, unlawful arrests, or violations of constitutional rights may lead to suppression of evidence or dismissal of charges.
Can a Prostitution Conviction Be Expunged?
In many situations, individuals convicted under Penal Code § 647(b) may qualify for expungement after successfully completing probation and satisfying court requirements.
An expungement does not completely erase a criminal record, but it may improve employment opportunities and reduce the impact of a prior conviction.
Eligibility depends on several factors, including:
- Completion of probation
- Payment of fines and fees
- Compliance with court orders
- No pending criminal cases
An attorney can evaluate whether expungement may be available in a particular case.
Difference Between Prostitution, Pimping, and Pandering
California law distinguishes prostitution offenses from more serious crimes such as pimping and pandering.
Prostitution or Solicitation
Usually misdemeanor offenses involving agreements or exchanges of sexual acts for compensation.
Pimping
Receiving financial support or earnings from another person’s prostitution activities.
Pandering
Encouraging, persuading, or recruiting another person to engage in prostitution.
Unlike prostitution charges, pimping and pandering offenses are often charged as felonies and may carry substantial prison sentences.
Cases Involving Minors
California law treats cases involving minors much more seriously.
When minors are involved in commercial sexual exploitation, additional criminal charges and enhanced penalties may apply. Modern California law increasingly recognizes that minors involved in prostitution-related situations are often victims of exploitation rather than offenders.
Cases involving minors may trigger investigations related to human trafficking, exploitation, or child endangerment offenses.
Frequently Asked Questions
Is prostitution legal in California?
No. Prostitution and solicitation remain illegal under California Penal Code § 647(b).
Can someone be arrested even if no sexual act occurred?
Yes. Prosecutors may file charges based on solicitation, agreements, or actions taken to further prostitution-related activity.
Is solicitation considered a felony?
In most situations, solicitation is charged as a misdemeanor offense.
Can text messages be used as evidence?
Yes. Prosecutors frequently use text messages, online chats, emails, and digital communication records in prostitution investigations.
Does an arrest automatically mean conviction?
No. Prosecutors must still prove every element of the offense beyond a reasonable doubt, and many defenses may apply.
Final Thoughts on California Penal Code § 647(b)
California Penal Code § 647(b) covers a wide range of conduct involving prostitution and solicitation. While these offenses are commonly charged as misdemeanors, the consequences can still be serious and long-lasting.
Many cases involve undercover sting operations, online communications, or disputed interpretations of conversations and intent. Because the law is broad and fact-specific, every case should be carefully evaluated based on its unique circumstances.
Understanding your legal rights, possible defenses, and the potential consequences of a conviction is critical when facing prostitution or solicitation allegations in California.
Contact Southwest Legal Today
If you or someone you know is facing charges under California Penal Code § 647(b), obtaining experienced legal representation as early as possible can make a significant difference in the outcome of the case.
The legal team at Southwest Legal understands the complexities of prostitution and solicitation cases and is committed to protecting clients’ rights, reputations, and futures. Whether you are under investigation or recently arrested, Southwest Legal can help you understand your legal options and build a strong defense strategy.
Contact us today to schedule a confidential consultation and learn how an experienced California criminal defense attorney can assist with your case.


