Can Police Force You to Unlock Your Phone: Passcodes vs. Biometrics

Whether police can force you to unlock your phone depends on how it’s locked. If you use a numeric or alphanumeric passcode, courts have broadly held that the Fifth Amendment protects you from being compelled to enter it, because typing your code reveals something you know. If you use a fingerprint or face scan, the answer is unsettled and depends on where you are: federal appeals courts are currently split on whether compelling biometric unlocks is constitutional. In almost every scenario, police also need a warrant before they can search what’s inside the phone, whether they got past the lock or not.

Passcodes Get the Strongest Protection

The Fifth Amendment protects you from being forced to give testimony against yourself.1Legal Information Institute. Fifth Amendment Entering a passcode requires you to reveal something you know, and many courts treat that act as testimonial: by typing the code, you communicate to the government that you know the password and have access to the device. Because of that reasoning, courts have widely ruled that the government cannot force you to hand over a passcode. This is the clearest, strongest tool available for keeping police out of a phone.

The Foregone Conclusion Exception

Passcode protection has a limit. Under a doctrine called “foregone conclusion,” a court can compel you to unlock a device if the government can already prove what’s on it and that you have access to it. The idea is that if the government already possesses the information your compliance would reveal, you aren’t communicating anything new by entering the code.

The government’s burden is high. It must show with specificity that it already knows the suspect can access the device and already knows what evidence the device contains. The Supreme Judicial Court of Massachusetts has allowed compelled unlocking under this doctrine when independent evidence established what was on the phone. The Supreme Courts of Pennsylvania and Indiana have rejected it, reasoning that if the government already knows the information, it doesn’t need the suspect’s help to prove its case. Outcomes depend heavily on the jurisdiction and the strength of the government’s existing evidence.

Biometrics Are the Weak Spot

Fingerprints and face scans sit on shakier ground. Many courts have treated biometric unlocks the way they treat blood draws, handwriting samples, or lineups: physical characteristics that don’t reveal the contents of your mind. Under that reasoning, pressing your finger to a sensor isn’t testimony, and the Fifth Amendment doesn’t apply.

That reasoning has started to crack. In January 2025, the D.C. Circuit ruled in United States v. Brown that compelling a defendant to unlock his phone with his thumbprint violated the Fifth Amendment. The court found the compliance was testimonial because it communicated that the defendant knew how to open the phone and that its contents were his. A key detail: officers instructed him to open the phone himself rather than physically pressing his finger to the sensor, and the court held that his compliance with that instruction was a communicative act.

Brown directly conflicts with the Ninth Circuit’s decision in United States v. Payne, which held that compelled biometric unlocking is not testimonial. The Supreme Court has not resolved the split; Brown was mooted by a presidential pardon before it could be appealed. Until the Supreme Court weighs in, whether police can force a biometric unlock turns on which circuit or state you’re in.

The practical takeaway: a passcode gives you the strongest legal footing. If you rely on biometrics for daily convenience, learn how to disable them fast. On iPhones, pressing and holding the power button and volume-up button for a few seconds triggers the Emergency SOS screen; after dismissing it, the phone requires a passcode. On most Android phones, holding the power button and selecting “Lockdown” does the same.

Police Still Need a Warrant to Look Inside

Unlocking is only half the question. Even if police can get past the lock screen, the Fourth Amendment generally requires a warrant backed by probable cause before they search the phone’s contents.2Legal Information Institute (LII) / Cornell Law School. Fourth Amendment The Supreme Court settled that point in Riley v. California in 2014, ruling unanimously that police generally may not, without a warrant, search digital information on a cell phone seized from someone who has been arrested.3Justia Supreme Court Center. Riley v California, 573 US 373 (2014) Before Riley, officers routinely searched phones during arrests under the “search incident to arrest” exception. The Court rejected that practice, recognizing that modern smartphones contain far more private information than anything a person carries in a pocket.

Two exceptions matter in day-to-day encounters.

Consent. If you voluntarily agree to let police search your phone, no warrant is needed. You have every right to refuse, and refusal alone cannot be used as probable cause to get a warrant.4LII / Legal Information Institute. US Constitution Annotated – Amendment IV – Consent Searches Officers are trained to ask casually. “Mind if I take a look at your phone?” is a request, not an order. Say clearly, “I don’t consent to a search.” You don’t need to explain yourself.

Exigent circumstances. When there’s an immediate threat to public safety or a genuine risk that evidence is about to be destroyed, police may act without a warrant. The bar is high; officers need a concrete, articulable reason for the urgency, not a general worry.

What Happens If You Refuse

Refusing to unlock doesn’t end the encounter. It changes what police can do next, and the sequence usually plays out in stages.

They Can Seize the Phone Without a Warrant

Police can take the physical phone even without a warrant and hold it as evidence while applying for one. Seizing the phone doesn’t give them access to its data; it just prevents you from destroying evidence while they go through the judicial process.

How long police can hold your phone is limited by the Fourth Amendment’s reasonableness requirement. Courts have found delays of more than 30 days in applying for a warrant unreasonable. If police never develop probable cause, the phone should be returned to you promptly. A phone held for months without a warrant or active investigation raises serious constitutional problems.

A Judge’s Order Changes the Math

If a judge issues an order compelling you to unlock, refusing to comply is contempt of court, and penalties include fines and jail time.5Cornell Law Institute. Contempt of Court In civil contempt, incarceration is meant to coerce compliance; you hold the key to your own release by complying. In one Florida case, a man spent 44 days in jail for refusing to enter his phone’s passcode after a judge ordered him to.

Asserting your Fifth Amendment right against compelled passcode disclosure is legally defensible. But once a court specifically orders you to unlock, defiance carries real consequences, and the constitutional question becomes something to challenge on appeal, not by simply refusing.

Never Remotely Wipe a Seized Phone

If police have taken your phone, don’t log in remotely and erase it. Refusing to unlock is a passive act that courts generally respect regarding passcodes. Actively destroying data is treated the same way as shredding documents the police have already confiscated.

Federal law makes it a crime to destroy, alter, or conceal a record or object with the intent to impair its availability for an official proceeding, carrying a potential sentence of up to 20 years.6GovInfo. 18 USC 1512 – Tampering With a Witness, Victim, or an Informant People have been charged with evidence tampering and hindering prosecution for remotely wiping phones in police custody. Destroying evidence can also backfire at trial, where courts may instruct juries to assume the deleted data was incriminating.

Law enforcement is prepared for this. Many agencies place seized phones in Faraday bags, signal-blocking enclosures that prevent remote commands from reaching the device. Wiping is likely to fail and almost certain to make your legal situation worse.

The Rules Change at the Border

International borders and airports are the major exception to almost everything above. U.S. Customs and Border Protection claims authority to search travelers’ electronic devices without a warrant under the border search exception. CBP policy distinguishes two types of device search.7U.S. Customs and Border Protection. Border Search of Electronic Devices at Ports of Entry

  • A basic search, where an officer manually reviews the contents of your device without connecting external equipment. CBP policy does not require reasonable suspicion.
  • An advanced search, where an officer connects external equipment to copy or analyze contents. This requires reasonable suspicion of a legal violation or a national security concern, plus approval from a senior manager.

Neither type requires a warrant under current CBP policy. Border crossings are the most vulnerable moment for your phone’s privacy. If you’re traveling internationally and concerned about device searches, the safest approach is to travel with a minimal-data device or to back up and wipe your phone before crossing.

Practical Steps During an Encounter

Use a strong passcode as your primary lock. The Fifth Amendment protection is clearest for something you know, and biometric convenience comes at a real legal cost. If you use biometrics, learn the quick disable sequence for your device so you can force a passcode prompt before handing anything over.

Refuse consent verbally and clearly. Don’t physically resist if an officer takes the phone anyway; assert your refusal on the record and challenge the search later in court.

Don’t try to outsmart the process. Wiping a seized phone is a separate crime with penalties far worse than whatever the phone contains. Leave it alone and let an attorney challenge the warrant, the search method, or the scope of what officers reviewed.

And keep in mind that this area of law is genuinely unsettled. The Supreme Court has not ruled on compelled biometric unlocking, the foregone conclusion doctrine is applied differently across jurisdictions, and border authority remains broader than most travelers realize. A strong passcode, a clear refusal of consent, and a lawyer if things escalate is the reliable default.