Can Police Make You Unlock Your Phone? Passcodes and the Fifth Amendment

Police generally cannot make you unlock your phone. Searching the contents of a phone requires a warrant under the Supreme Court’s 2014 decision in Riley v. California, and even with a warrant, the Fifth Amendment usually protects your passcode because telling someone what you know is treated as testimony against yourself. The harder questions, and the ones that trip people up, involve fingerprint and face unlock, international borders, consent, and a narrow exception called the foregone conclusion doctrine.

A Warrant Is Required to Search the Phone

The Fourth Amendment bars unreasonable government searches, and the Supreme Court applied that protection squarely to cell phones in Riley v. California. The Court held unanimously that police cannot search a phone taken during an arrest without first getting a warrant, recognizing that phones hold “the privacies of life” and far more personal information than anything else a person carries. Digital data can’t be used as a weapon or help someone escape, so the usual reasons for searching an arrestee’s belongings don’t apply.1Justia U.S. Supreme Court Center. Riley v. California, 573 U.S. 373 (2014)

A warrant is a court order signed by a judge who has found probable cause to believe the phone holds evidence of a crime. It must identify the specific phone and the kind of evidence officers can look for. Even after a lawful arrest, an officer can hold your phone to prevent destruction of evidence, but opening it up requires that signed order.

Why Your Passcode Gets Fifth Amendment Protection

A warrant lets police search a phone. It does not, on its own, let them make you type in the code. That’s where the Fifth Amendment comes in. It protects you from being “compelled in any criminal case to be a witness against” yourself.2Congress.gov. Fifth Amendment Courts read that to mean the government cannot force you to reveal the contents of your mind when doing so would help build a case against you.

The dividing line is between physical and “testimonial” evidence. A blood draw or a lineup is physical. A password is testimonial because it exists only in your head. In United States v. Hubbell, the Supreme Court held that producing evidence becomes testimonial when the act communicates your knowledge, possession, or control.3Legal Information Institute. United States v. Hubbell

Entering or saying a passcode communicates three things at once: you know the code, you have access to the phone, and the files on it are yours to control. Any of those facts can be incriminating. The Indiana Supreme Court stated the rule directly in Seo v. State: “The compelled production of an unlocked smartphone is testimonial and entitled to Fifth Amendment protection.”4Justia Law. Seo v. State, 2020, Supreme Court of Indiana Decisions

Fingerprint and Face Unlock Are Not Settled Law

If your phone unlocks with a fingerprint or a face scan, the rules get murky. For years, most courts treated biometric unlocking as a physical act, more like handing over a key or giving a handwriting sample than revealing a password. Under that view, pressing a finger to a sensor doesn’t disclose anything you know, so the Fifth Amendment doesn’t apply, and a warrant is enough.

That view is no longer uniform. The D.C. Circuit held in United States v. Brown that forcing someone to unlock a phone with a fingerprint is testimonial, because the act communicates that the person knows how to open the phone, controls access, and that a particular finger functions as the password. The court suppressed the evidence from the phone. The Indiana Supreme Court reached the same conclusion in Seo, holding that compelled unlocking is testimonial regardless of the method used.4Justia Law. Seo v. State, 2020, Supreme Court of Indiana Decisions

Whether police can make you use your face or finger depends on which jurisdiction’s courts would hear the case. If the biometric gap worries you, a passcode gets stronger protection than a scan under current law.

The Foregone Conclusion Exception

Fifth Amendment protection for passcodes has one meaningful limit. Under the “foregone conclusion” doctrine, if the government can already prove what’s on the phone, forcing you to unlock it reveals nothing new, and nothing new means nothing testimonial. The Supreme Court developed the doctrine in Fisher v. United States and Hubbell. To use it, the government generally has to show it already knows that specific evidence exists, where it is, and that it’s authentic.3Legal Information Institute. United States v. Hubbell

Courts split on how this applies to phones. Some require prosecutors to point to particular files they expect to find. Others set a lower bar and ask only whether the government can show you know the passcode, sometimes relying on an officer having seen you unlock the phone earlier. The Indiana Supreme Court accepted that the doctrine could apply in theory but found the state hadn’t done enough to meet its burden.4Justia Law. Seo v. State, 2020, Supreme Court of Indiana Decisions

Most compelled-unlocking disputes come down to this doctrine. A judge weighs how much the prosecution independently knows about the phone’s contents. A fishing expedition usually fails. A case built on witnesses who saw specific files, or on recorded statements about what’s on the phone, has a stronger shot at an unlock order.

Situations Where a Warrant Isn’t Required

A few recognized exceptions let police act without a warrant. The important ones for phones are emergencies, consent, and border crossings.

Emergencies

Courts allow warrantless action in “exigent circumstances,” which the Supreme Court has defined to include emergency aid, pursuit of a fleeing suspect, and preventing imminent destruction of evidence.5Congress.gov. Amdt4.6.3 Exigent Circumstances and Warrants For phones, that might cover a device being wiped remotely or one holding information about an immediate threat to life. The Riley Court noted that “some warrantless searches of cell phones might be permitted in an emergency.”1Justia U.S. Supreme Court Center. Riley v. California, 573 U.S. 373 (2014) Judges review these claims afterward, and officers who manufacture the emergency, or who can’t explain why there wasn’t time to call a magistrate, risk losing the evidence.

Consent

If you agree to a search, officers don’t need a warrant, probable cause, or any suspicion at all. Consent is one of the most litigated exceptions to the Fourth Amendment, and whatever police find after you say yes can be used against you.6Legal Information Institute. U.S. Constitution Annotated – Amdt4.6.2 Consent Searches The prosecution must show the consent was voluntary under all the circumstances. Courts look at whether you were in custody, whether officers used threats, and whether you knew you could refuse. The Supreme Court held in Schneckloth v. Bustamonte that police do not have to tell you about your right to say no.7Justia U.S. Supreme Court Center. Schneckloth v. Bustamonte, 412 U.S. 218 (1973)

You can withdraw consent, and police must stop searching once you do. Anything they already found stays in. Handing over an unlocked phone is extraordinarily hard to undo.

At the Border

The rules change at international borders and the airports where you clear customs. Customs and Border Protection takes the position that “all persons regardless of citizenship” and their belongings “are subject to inspection” at the border, including electronic devices.8U.S. Customs and Border Protection. Border Search of Electronic Devices at Ports of Entry CBP distinguishes a basic manual search, which it conducts without any suspicion, from an advanced forensic search, which requires reasonable suspicion of a legal violation or a national security concern and supervisor approval.9U.S. Department of Homeland Security. CBP Directive 3340-049A Border Search of Electronic Devices

Federal appeals courts have mostly agreed that manual searches at the border don’t require suspicion, while forensic searches do, though at least one circuit requires no suspicion for either. No court has yet required a full warrant for a device search at the border.

Refusing a Court Order Has Consequences

If a judge finds the foregone conclusion doctrine applies and orders you to unlock, refusing can land you in jail for civil contempt. Contempt is coercive, not punitive: the judge holds you until you comply or until the court decides further confinement won’t work. People have been jailed for weeks and months in these fights. The defendant in Seo was held in contempt before the Indiana Supreme Court reversed on Fifth Amendment grounds.4Justia Law. Seo v. State, 2020, Supreme Court of Indiana Decisions You can appeal the underlying order, but you may be in custody while that appeal plays out.

If Police Ask for Your Phone

Knowing the rules only helps if you use them in the moment. Stay calm and polite. The goal is to preserve your rights without giving officers a new reason to escalate.

  • Refuse consent clearly. Something like “I do not consent to a search of my phone” is enough. You don’t need to explain.
  • Ask to see the warrant if an officer says there is one. It should name the device and describe what evidence they can look for.
  • Invoke silence and counsel. Say “I want to remain silent and I’d like a lawyer.” Once you ask for counsel, officers must stop questioning you.2Congress.gov. Fifth Amendment
  • Don’t physically resist. If police take the phone over your objection, let them. Your objection is on the record and your lawyer can work with it.
  • Think about your lock method. On an iPhone, holding the side button and either volume button for a few seconds triggers a screen that requires the passcode. Most Android phones offer a lockdown option in security settings. Once biometrics are off, only the passcode works, and the passcode has stronger protection under current law.

None of this guarantees your phone won’t be searched. A valid warrant, a genuine emergency, or a border inspection can override your objections. But a clear refusal and an invoked right to counsel give your attorney something to work with if evidence from the phone shows up later in court.