If police ask you to unlock your phone and you say no, what actually happens? The honest answer is that it depends on whether they are simply asking (consent), whether they have a warrant or court order, and whether they want a passcode or a biometric. Understanding those distinctions tells you what you can decline outright and where the pressure points are.
If they are just asking, you can say no
Very often officers will ask you to unlock your phone or "just show them" something on it. If there is no warrant or court order compelling you, this is a request for consent, and you can decline. You do not have to unlock your phone, type in a passcode, or hand it over unlocked simply because an officer asks. Declining a search is not a crime and is not evidence of guilt. A calm "I don't consent to a search of my phone, and I want a lawyer" is enough.
They generally need a warrant to search anyway
Under Riley v. California (2014), police need a warrant to search the contents of your phone, even after a lawful arrest. So refusing consent forces them to go get one from a judge. That is your right, and it is often your strongest move: it puts a neutral magistrate between you and the search and creates a clear record of what they were and were not authorized to do.
Passcode: usually protected, even under a court order
Being forced to reveal or enter a memorized passcode is widely treated as testimonial under the Fifth Amendment, so courts often will not compel it. There is an important exception some courts apply called the foregone-conclusion doctrine: if the government can already show it knows the phone is yours and that you know the passcode, a few courts have ordered defendants to unlock. Courts disagree sharply on whether and how this applies to passcodes, and many refuse to extend it. The upshot is that compelling a passcode is difficult and contested, which is exactly why it is the more protective option.
Biometrics: the pressure point
The weak spot is your face and fingerprint. Because several courts treat a compelled biometric unlock as a physical act rather than testimony, officers with proper authority have in some cases been allowed to hold a phone to your face or press your thumb to it, sometimes without needing your cooperation at all. This is why disabling biometrics before a phone is seized matters so much. On iPhone, hold the side and a volume button until the power-off screen appears, then cancel; on Android, use Lockdown in the power menu. Either forces passcode-only.
Can refusing get you charged or held in contempt?
Refusing a mere request cannot be a crime. Where things get serious is if a court issues a valid order compelling you to unlock and you still refuse: a judge can potentially hold you in contempt of court, which in rare cases has meant jail until you comply. These situations are unusual, legally contested, and always involve a judge, not a roadside officer. They are also precisely the situations where you need your own lawyer, because whether the order is even valid may be challengeable.
What to actually do
Do not consent to a search and do not unlock the phone voluntarily.
Disable biometrics with the lockdown gesture, so a passcode is required.
Say clearly that you do not consent and that you want a lawyer, then stop talking.
Do not physically resist if officers seize the phone; assert your rights verbally and let your attorney challenge it later.
If a court order to unlock appears, get a criminal-defense lawyer immediately rather than deciding alone.
This is general legal information, not legal advice. The law on compelled unlocking and contempt varies by jurisdiction and is actively changing. For your specific situation, talk to a criminal-defense attorney.
The law behind your rights
The Fourth Amendment protects the data on your phone and the digital location records it generates, so police generally need a warrant to search your device or track you through it, and that protection applies to state and local police through the Fourteenth Amendment.
These are landmark federal cases that establish the rights described above. How they apply can depend on your state, the federal circuit you are in, and the specific facts of an encounter. This is general legal information, not legal advice.
Frequently asked questions
Can you refuse to unlock your phone for police?
Yes, if they are only asking for consent. You do not have to unlock your phone or reveal your passcode on request, and declining is not a crime. They generally need a warrant to search it under Riley v. California.
Can you be jailed for refusing to unlock your phone?
Not for refusing a simple request. But if a judge issues a valid order to unlock and you refuse, you can potentially be held in contempt of court, which in rare cases has meant jail until you comply. These situations involve a judge and require your own lawyer.
What is the foregone-conclusion doctrine?
It is an exception some courts use to compel unlocking when the government can already show it knows the phone is yours and that you know the passcode. Courts disagree sharply on whether it applies to passcodes, and many refuse to extend it.
Should I unlock my phone if police ask?
You are not required to unless there is a valid court order. Many people decline, state that they do not consent and want a lawyer, and let officers rely on a warrant. Disabling biometrics first keeps the decision in your hands.
This article is general legal information, not legal advice, and may not reflect the most current law or the law in your jurisdiction. Laws vary by state and change over time. For advice about your specific situation, consult a licensed attorney.
Knowing your rights is the first step
Join thousands committing to calmly and consistently exercise their constitutional rights.