Short answer: if your spouse hands you their phone or you share the device, looking is generally fine. Breaking into a phone, laptop, or account they keep private is not. California Penal Code 502 makes unauthorized access to someone’s computer or phone a crime, federal law protects stored messages and email, and California family courts have treated reading a spouse’s private messages as harassment.

Being married doesn’t give you a right to someone’s passcode. Here’s where the lines usually fall.

Usually fine

Usually not

Why it matters

Evidence you got illegally can backfire. Recordings made in violation of California’s recording law generally can’t be used in court, and the other side can use what you did against you in a divorce or custody case. In one well-known California case, a court found that reading and sharing a spouse’s private email could support a restraining order. You don’t want to be the one explaining yourself to a judge.

What to look for when you do have access

When your partner hands you the phone, look at what’s missing, not just what’s there. Texts from a night you saw them messaging that are gone, or an app eating a lot of cellular data, usually means they cleared the history or they’re talking through an app. Check the Recently Deleted photos folder, which keeps deleted pictures for about 30 days. Our guide to catching a cheating spouse covers more.

A safer way to get proof

What’s on a phone tells you something is wrong. Video of where they went and who they met is what holds up. Our surveillance investigators document it lawfully, in public, and write it up in a report we can stand behind in court. If you’re stuck, read what to do when you know your partner is cheating but have no proof, and if you’re thinking about tracking their car, read the rules on GPS trackers first.

See our guide to what private investigators can legally do, or contact us for a free, 100% confidential consultation.

This article is general information, not legal advice. Laws change, and a family law attorney can tell you how they apply to your situation.