California Penal Code § 647(d) makes it a misdemeanor to loiter in or around any restroom open to the public for the specific purpose of engaging in or soliciting any lewd, lascivious, or unlawful act.
Prosecutions under this statute frequently stem from undercover police sting operations, plainclothes surveillance, and subjective interpretations of body language, eye contact, or brief conversations near public facilities.
For a corporate Chief Executive Officer (CEO), private equity managing partner, physician, or high-profile public figure, an arrest under Penal Code § 647(d) triggers urgent concerns beyond the courtroom—including board governance disclosures, executive employment agreements, professional licensing, and reputational privacy.
Securing early representation from an experienced California criminal defense lawyer at Eisner Gorin LLP allows your legal team to challenge specific-intent assumptions, scrutinize undercover police conduct, pursue pre-filing intervention, and seek dismissal through judicial diversion without a criminal conviction.
What Is Restroom Loitering Under California Penal Code § 647(d)?
Penal Code § 647(d) is a disorderly conduct statute targeting individuals who remain in or around public restrooms for a prohibited purpose, commonly called "Loitering in Public Toilet for Lewd Acts."
The law applies to public facilities, including restrooms at shopping centers, transportation terminals, public parks, restaurants, and commercial establishments.
A defendant does not have to complete a sexual act or successfully solicit another individual to violate this provision. The offense turns on the person's intent while loitering near the restroom.
For example, a senior investment banking director repeatedly entering a public restroom to seek sexual encounters may face prosecution even without physical contact. However, repeated visits, unusual behavior, or lingering nearby for an extended period do not, by themselves, demonstrate unlawful intent.
What Must Prosecutors Prove Under California Penal Code § 647(d)?
To convict a defendant of restroom loitering under Penal Code § 647(d), the prosecution must prove three legal elements beyond a reasonable doubt (see CALCRIM No. 1162):
-
Loitering (Lingering or Remaining): The defendant lingered, waited, or remained in a particular location without an immediate, ordinary transit purpose.
-
In or Around a Public Restroom: The location was inside or immediately around a restroom open to the public.
-
Specific Unlawful Purpose: When the defendant lingered or remained there, they acted with the specific intent to engage in or solicit lewd, lascivious, or unlawful conduct.
Specific intent is the decisive battleground in almost every § 647(d) defense.
Merely standing near a restroom, entering multiple times due to a medical condition or digestive illness, or waiting for a colleague does not violate the law unless prosecutors prove beyond a reasonable doubt that the individual remained there specifically to solicit or perform prohibited conduct.
What Conduct Can Lead to Penal Code § 647(d) Allegations?
Law enforcement vice units typically build Penal Code § 647(d) cases around behavior they interpret as signaling or initiating sexual contact in a public restroom environment:
-
Repeated Entry and Exit Patterns: Entering and exiting a public restroom multiple times while looking toward or approaching other patrons.
-
Lingering Near Entrances or Stalls: Waiting inside a restroom or near an exterior doorway while attempting to strike up suggestive conversations.
-
Gesture or Signal Interpretations: Making hand motions, glances, or physical gestures that undercover officers characterize as solicitation.
-
Direct Verbal Propositions: Initiating sexually explicit conversations or proposing sexual activity inside a stall or nearby area.
-
Digital App Coordination: Exchanging messages on a dating or social application to arrange a sexual meeting at a designated airport, park, or retail restroom, then arriving and waiting at that location.
Investigators commonly combine undercover officer testimony with CCTV surveillance footage, audio recordings, and digital communications to argue that an individual's presence was purposeful rather than coincidental.
What Are the Penalties for Penal Code § 647(d) Restroom Loitering?
A violation of California Penal Code § 647(d) is a misdemeanor offense punishable under Penal Code § 19, carrying criminal penalties alongside significant reputational and collateral risks:
|
Legal Dimension |
Statutory Exposure & Court Consequences |
Collateral & Professional Impact |
| Incarceration & Fines | Up to 6 months in county jail and a fine up to $1,000 (plus penalty assessments). | Public court docket entry if formal misdemeanor charges are filed. |
| Probation & Conditions | Summary (informal) probation, court-approved counseling, stay-away orders from the facility, and community service. | Employment contract disclosure triggers or board governance review for senior executives. |
| Sex Offender Registration (PC § 290) | Not mandatory for a standalone Penal Code § 647(d) conviction (unlike certain felony or non-consensual offenses). | Background check visibility unless dismissed via diversion or sealed under Penal Code § 851.91. |
What California Criminal Laws Are Related to Penal Code § 647(d)?
Understanding related California disorderly conduct and public indecency statutes is essential for executives and public figures because prosecutors frequently evaluate alternative or companion charges—carrying distinct intent elements, collateral consequences, and sex offender registration risks—when reviewing undercover vice investigations.
-
Engaging in or Soliciting Lewd Conduct in Public (Penal Code § 647(a)): Prohibits willfully engaging in or soliciting anyone to engage in lewd or dissolute conduct in any public place or place open to the public or exposed to public view, punishable as a misdemeanor by up to six months in county jail and a $1,000 fine.
-
Indecent Exposure (Penal Code § 314): Makes it a crime to willfully and lewdly expose one's private parts in any public place or where others are present to be offended or annoyed, carrying misdemeanor penalties on a first offense alongside mandatory lifetime sex offender registration under Penal Code § 290.
-
Solicitation of Prostitution (Penal Code § 647(b)): Criminalizes soliciting, agreeing to engage in, or engaging in any act of prostitution in exchange for money or other consideration, punishable as a misdemeanor by up to six months in county jail and a $1,000 fine.
-
Annoying or Molesting a Child Under 18 (Penal Code § 647.6(a)): Prohibits any person from annoying or molesting any child under 18 years of age—including in or around public parks, schools, or public restrooms—punishable by up to one year in county jail (or felony state prison if prior qualifying convictions exist) and mandatory sex offender registration.
-
Loitering on Private Property or With Unlawful Intent (Penal Code § 647(h)): Makes it a misdemeanor to loiter, prowl, or wander upon the private property of another at any time without visible or lawful business with the owner or occupant, punishable by up to six months in county jail and a $1,000 fine.
How Can Pre-Filing Intervention Protect Confidentiality?
Pre-filing intervention involves negotiating with prosecutors before they decide whether to file criminal charges.
In Penal Code § 647(d) investigations, defense counsel may seek to:
- Obtain police reports and available recordings through authorized procedures
- Identify inconsistencies between surveillance footage and officer descriptions
- Challenge unsupported conclusions about the accused person's intent
- Present communications or witnesses that materially affect the alleged conduct
- Seek a prosecutorial decision declining charges when the evidence is insufficient
- Negotiate an appropriate alternative resolution when dismissal is unlikely
For a publicly traded company's chief financial officer, avoiding a formal court filing may substantially reduce the likelihood of unwanted publicity.
However, a decision not to prosecute does not erase an arrest or guarantee that investigative records will remain confidential. Separate procedures may be necessary to address records and disclosure obligations.
The objective is to secure the strongest available resolution while limiting unnecessary public exposure.
Can Undercover Police Operations and Entrapment Be Challenged?
Yes—undercover vice operations frequently generate contested factual records regarding who initiated contact, what exact words were spoken, and whether officers induced conduct that would not otherwise have occurred.
Under California law, police officers may lawfully afford a person an opportunity to commit an offense, but entrapment occurs when law enforcement conduct would likely induce a normally law-abiding person to commit the crime (see CALCRIM No. 3408 Entrapment Defense). Defense counsel evaluates:
-
Initiation of Sexual Topics: Whether the undercover detective—rather than the accused—first raised sexual topics or suggested entering a restroom stall.
-
Persistence After Hesitation: Whether an officer repeatedly pressured, flattered, or encouraged the individual after initial reluctance or ambiguous responses.
-
Incomplete Audio or Video Capture: Whether surveillance captured only isolated moments while omitting earlier context showing innocent behavior.
-
Ambiguous Body Language: Challenging officer assumptions that ordinary eye contact, nervous pacing, or polite conversation constituted unlawful solicitation.
How Does Judicial Diversion Resolve a Penal Code § 647(d) Charge Without a Conviction? (Hypothetical Case Study)
Consider a hypothetical scenario illustrating how strategic defense advocacy and Penal Code § 1001.95 judicial diversion can protect a senior executive's career following a restroom loitering arrest:
The Chief Operating Officer (COO) of a publicly traded medical device company headquartered in Irvine oversees manufacturing and hospital supply contracts across 14 facilities and is slated to be named company President.
During an undercover vice operation at an Orange County public restroom following citizen complaints, surveillance records the COO visiting the facility on three evenings, lingering near the entrance, and making gestures an undercover detective interprets as solicitation.
During the third visit, the COO approaches the detective, initiates a conversation referencing a sexual encounter, and suggests stepping inside the restroom—portions of which are captured on audio—resulting in his arrest under Penal Code § 647(d).
The arrest creates acute professional risk: his executive employment agreement requires disclosure of criminal proceedings, and a public misdemeanor conviction could derail his promotion to President.
Defense counsel at Eisner Gorin LLP conducts a detailed review of the audio recording, surveillance footage, and prior incident reports:
-
Identifying Evidentiary Gaps: While the audio confirms an awkward conversation, it does not record an explicit request to engage in a sexual act inside the restroom, and several physical gestures described in the arrest report appear ambiguous on video.
-
Pre-Filing Negotiation and Diversion Positioning: During pre-filing discussions, prosecutors decline to reject the case outright because of the three visits and recorded remarks, but our defense counsel secures a critical commitment from the District Attorney not to oppose judicial diversion once the case is filed.
-
Dismissal Under Penal Code § 1001.95: Following arraignment, our defense counsel persuades the court to grant judicial diversion under Penal Code § 1001.95, conditioned on private counseling and law-abiding conduct. After completing the diversion terms, the court dismisses the Penal Code § 647(d) charge, preventing a criminal conviction and allowing the COO to retain his leadership role and complete his executive transition.
Frequently Asked Questions (FAQs)
These FAQs help executives, public figures, and individuals under investigation understand how California Penal Code § 647(d) applies to undercover encounters and protect their privacy and future.
What does Penal Code § 647(d) prohibit in California?
Penal Code § 647(d) makes it a misdemeanor to linger or remain in or around a restroom open to the public for the specific purpose of engaging in or soliciting lewd, lascivious, or unlawful conduct.
Do prosecutors have to prove a sexual act took place for a § 647(d) conviction?
No. Prosecutors do not need to prove physical contact or a completed sexual act—only that you lingered in or around a public restroom with the specific intent to engage in or solicit prohibited conduct.
Does a Penal Code § 647(d) conviction require sex offender registration?
No. A standalone misdemeanor conviction under California Penal Code § 647(d) does not trigger mandatory lifetime sex offender registration under Penal Code § 290.
Can a Penal Code § 647(d) charge be dismissed through judicial diversion?
Yes. Under California Penal Code § 1001.95, a judge may grant misdemeanor judicial diversion—typically involving counseling and compliance conditions—resulting in full dismissal of the charge without a criminal conviction upon completion.
How can pre-filing representation protect my privacy after an arrest?
Before formal charges are filed in public court records, a defense attorney can present exculpatory context or evidentiary weaknesses to prosecutors to seek dismissal of the charge, keeping the case off public criminal dockets.
Talk to a Defense Lawyer for Help
An arrest or investigation under California Penal Code § 647(d) demands immediate, discreet legal representation to protect your freedom, reputation, and career.
Early intervention by an experienced California criminal defense lawyer at Eisner Gorin LLP enables your legal team to review undercover recordings, challenge weak specific-intent assumptions, pursue pre-filing charge rejection, and seek dismissal through judicial diversion.
To discuss your case in strict confidence and protect your privacy and future, contact an experienced California criminal defense lawyer today.

If you have one phone call from jail, call us! If you are facing criminal charges,