PanicStation.org
uk Legal, police, prison & official contact police ask for passwords • police demand phone pin • asked to unlock my phone • asked for device passcode • asked to sign into my email • asked to sign into social media • asked for cloud account access • asked for two factor code • asked for backup codes • pressure to share login • police say just unlock it • device seized asked to unlock • interview asked for passwords • investigation login request • hand over account details uk • give police my passwords

What to do if…
police ask you to hand over passwords or account logins related to an investigation

Short answer

Pause and don’t hand over passwords or log in “on the spot”. Ask for a solicitor and ask whether they are relying on a formal written power/notice that legally requires disclosure.

Do not do these things

  • Don’t “just tell them to get it over with” — a password can expose far more than one item of evidence.
  • Don’t sign into an account on your device “so they can look” unless your solicitor advises it.
  • Don’t give one-time codes (2FA/SMS/app prompts), backup codes, or recovery keys casually — they can function like a live key.
  • Don’t guess passwords or repeatedly try codes under pressure (you can lock accounts or trigger security changes).
  • Don’t delete anything, factory reset, or try to “clean up” devices/accounts — that can create new problems.
  • Don’t assume a casual request is a legal requirement.

What to do now

  1. Get clarity on what’s happening. Calmly ask:
    • “Am I under arrest, or am I free to leave?”
    • “Are you asking me to volunteer this, or are you requiring it under a formal power?”
  2. Ask for a solicitor before any access is provided. Say: “I want legal advice before answering questions or providing any passwords, codes, or logins.”
    • If you are detained/arrested or at the station for interview, ask for the duty solicitor (free independent legal advice at the police station).
  3. Ask whether they are serving a formal written notice requiring disclosure. For example, police may rely on a notice that compels disclosure of a password/encryption key in certain cases.
    • If they say they are using a formal notice/power, ask to see it in writing, and ask for time to speak to your solicitor.
    • Don’t ignore deadlines or requirements in a properly served written notice — get legal advice immediately because non-compliance can be an offence.
  4. If the request stays informal, use one sentence and repeat it. “I’m not refusing anything lawful — I’m asking for a solicitor before I provide any password, code, or log in.”
  5. Prevent accidental over-disclosure.
    • Don’t open apps, email, cloud drives, or password managers “to show” something.
    • Don’t hand over your password manager, recovery emails, or printed backup codes.
    • If your device is in your hands, keep it locked unless your solicitor advises otherwise.
  6. Record the basics as soon as you safely can. Note date/time, police force, officer names/numbers, what exactly was requested (which device/account), and whether you were cautioned/interviewed.
  7. If you’re free to leave, leave and get legal advice. If you are not detained, you can say you’ll respond through a solicitor, then end the interaction.

What can wait

  • You do not need to decide right now whether to cooperate beyond what the law requires.
  • You do not need to “explain your side” immediately.
  • You do not need to contact employers, schools, family, or account providers right now (unless your solicitor advises it).
  • You do not need to change passwords, close accounts, or “tidy” devices.

Important reassurance

Feeling pressured to comply quickly is a normal reaction to police authority. Taking a pause, asking for a solicitor, and insisting on the correct legal process is a standard, legitimate response — especially with passwords and logins.

Scope note

These are first steps for the moment you’re asked to hand over access. The right next move depends on whether you’re detained, being interviewed voluntarily, a witness, or a suspect, and on what formal powers (if any) are being used.

Important note

This is general information, not legal advice. UK law and procedure can differ across England & Wales, Scotland, and Northern Ireland, and your situation may have specific factors (for example, the wording of any written notice, or whether an interview is voluntary). If police request passwords or logins, speak to a solicitor as soon as possible before providing access.

Additional Resources
Support us