Last reviewed: 30 October 2026
Quick Answer: An informal request for your PIN is not a legal requirement. Police can give a RIPA section 49 notice in some cases, and section 53 makes it an offence knowingly to fail to comply with one. Ask for a solicitor before you unlock anything.
Key points: an officer simply asking for your PIN is not a legal requirement. The criminal offence applies to a person “to whom a section 49 notice has been given” who “knowingly fails” to comply with it.[4][8] A section 49 notice must be in writing or recorded, and a police officer can only give one for a seized phone if they are of at least superintendent rank or have permission from someone of that rank.[1][7][8] The maximum sentence is two years, or five years in national security and child indecency cases.[4][8] At a port or airport, Schedule 7 to the Terrorism Act 2000 works differently.[10][11]
This guide covers England and Wales, including Kent custody suites. Every legal point below quotes the official wording and links to it so you can check it. It is general information, not advice on your case.
What you should do now
- Ask the officer plainly: “Is this a request, or are you giving me a notice under section 49?” The offence only applies once a section 49 notice has been given.[4]
- Ask for a solicitor before you unlock anything or type a code. If you are under arrest, PACE section 58(1) says you are “entitled, if he so requests, to consult a solicitor privately at any time”.[19] Code C paragraph 6.1 says detainees must be told “that free independent legal advice is available”, and the Home Office rights notice says of having a solicitor at the police station: “This is free.”[18][20]
- If you are given a notice, check it is in writing (or recorded) and read what it asks for and by when.[1][8]
A request is not a notice
Officers often ask people to unlock a phone so they can look at it. RIPA section 53(1) says: “A person to whom a section 49 notice has been given is guilty of an offence if he knowingly fails, in accordance with the notice, to make the disclosure required by virtue of the giving of the notice.”[4] The Home Office code of practice describes the offence in the same terms: “Where a person given a section 49 notice knowingly fails to make the disclosure required they commit an offence.”[8] So the offence is tied to a notice, not to an informal question.
The Crown Prosecution Service describes the notice as the formal step to take when investigators cannot get into a phone: “If the investigator has not been provided with the necessary information to be able to unlock the phone, you may want to consider asking the investigator to issue a notice under section 49 of the Regulation of Investigatory Powers Act 2000.”[9] The same CPS guidance says: “It would not be appropriate to issue a s.49 notice to a complainant or witness in a case but could be beneficial where a suspect/defendant is not co-operating.”[9]
Declining an informal request does not stop the police keeping the phone or applying for a notice later. That is why the decision is best made with a solicitor, not at the desk.
What counts as a “key” and “protected information”
RIPA section 56(1) defines a key as “any key, code, password, algorithm or other data the use of which (with or without other keys)” allows access to electronic data, or facilitates putting it into an intelligible form.[6] Protected information is electronic data which, without the key to the data, “cannot, or cannot readily, be accessed” or put into an intelligible form.[6] The code puts it the same way: protected information means electronic data which, without a key, “cannot, or cannot readily” be accessed or put into an intelligible form.[8]
When police can give a section 49 notice
Section 49(1)(a) covers information that has come, or is likely to come, into the possession of any person “by means of the exercise of a statutory power to seize, detain, inspect, search or otherwise to interfere with documents or other property”. A phone seized by the police is the obvious example.[1] Under section 49(2), the person with appropriate permission must believe, on reasonable grounds, all of the following:[1]
- “that a key to the protected information is in the possession of any person”;
- that imposing the requirement is necessary on the grounds in section 49(3) (“in the interests of national security”, “for the purpose of preventing or detecting crime”, or “in the interests of the economic well-being of the United Kingdom”), or for the effective exercise of a statutory power or duty;
- that it “is proportionate to what is sought to be achieved”; and
- “that it is not reasonably practicable” to obtain the information in an intelligible form “without the giving of a notice under this section”.
Who has to authorise it
A notice can only be given by someone with “appropriate permission” under Schedule 2.[1] For a phone the police have seized without a warrant, Schedule 2 paragraph 4(2) says the police “have the appropriate permission in relation to the protected information, without any grant of permission under paragraph 1” (that is, without a judge).[7] The code gives “material obtained by the police under section 19 of PACE” as an example of this route.[8]
But there is a rank threshold. Schedule 2 paragraph 6(2) says a constable does not have appropriate permission unless “he is of or above the rank of superintendent” or permission “has been granted by a person holding the rank of superintendent, or any higher rank”.[7] Code paragraph 9.29 lists the same requirement: “Police – Superintendent or above”.[8]
Permission can also come from a judge. Schedule 2 paragraph 1 refers to written permission granted “in England and Wales, by a Circuit judge”, and code paragraph 9.5 says public authorities “may always seek appropriate permission for giving a section 49 notice from a judge”.[7][8] Even then, paragraph 6(2) applies to a constable relying on a judge’s permission under paragraph 1, so the superintendent rule still applies. Code paragraph 9.29 states the rank rule for all protected information in police possession.[7][8]
Normally a notice can be met by giving the information in intelligible form, or by handing over a key instead (section 50(1) and (2)).[2] If the police want the key itself, section 51 requires a direction that the notice “can be complied with only by the disclosure of the key itself”, and for the police that direction cannot be given “except by or with the permission of a chief officer of police”.[3] The code repeats this at paragraph 9.30.[8]
What the notice must contain
Section 49(4) says a notice must:[1]
- “be given in writing or (if not in writing) … in a manner that produces a record of its having been given”;
- “describe the protected information to which the notice relates”;
- specify the grounds it is given on;
- specify the office, rank or position of the person giving it, and of the person who granted permission;
- “specify the time by which the notice is to be complied with”; and
- “set out the disclosure that is required by the notice and the form and manner in which it is to be made”.
The time allowed must give “a period for compliance which is reasonable in all the circumstances” (section 49(4), closing words).[1] Code paragraph 4.17 repeats these requirements and says the time to comply “must be reasonable in all the circumstances”.[8]
Time to take legal advice
Code paragraph 4.21 says notices, “including those which impose a secrecy requirement, should clarify that if the recipient has any doubt what they are required to do in response to the notice, they should contact a professional legal adviser”.[8] The Act protects that contact: section 54(6) gives a defence to the tipping-off offence where “the disclosure was made by or to a professional legal adviser in connection with the giving, by the adviser to any client of his, of advice about the effect of provisions of this Part”.[5] If you are under arrest, PACE section 58(1) and Code C paragraph 6.1 give you the right to consult a solicitor privately, and free legal advice is available.[19][18]
The offence and the maximum sentence
Under section 53(5) and (5A), the maximum on indictment is five years’ imprisonment “in a national security case or a child indecency case” and two years “in any other case”.[4] Code paragraph 10.2 sets out the same maximums.[8] Lower limits apply if the case is dealt with in the magistrates’ court.[4]
| Type of case | Maximum on indictment |
|---|---|
| National security case or child indecency case (s.53(5A)(a)) | 5 years, or a fine, or both |
| Any other case (s.53(5A)(b)) | 2 years, or a fine, or both |
If you say you do not have or cannot remember the PIN
Section 53(2) says that if it is shown you had the key at any time before the notice, you are treated as still having it “unless it is shown that the key was not in his possession after the giving of the notice and before the time by which he was required to disclose it”. Section 53(3) says you are taken to have shown that if “sufficient evidence of that fact is adduced to raise an issue with respect to it” and “the contrary is not proved beyond a reasonable doubt”.[4] Code paragraphs 10.3 to 10.5 explain the same rule, ending: “The prosecutor has to prove the contrary beyond reasonable doubt.”[8]
If you could not comply in time
Section 53(4) gives a defence if it “was not reasonably practicable” to make the disclosure in time, but you “did make that disclosure as soon after that time as it was reasonably practicable” to do so.[4] Code paragraph 10.6 gives “purely technical reasons” as an example.[8]
Secrecy (“tipping-off”) requirements
A notice can sometimes require you to keep the notice and its contents secret. Section 54 limits this to information that has come, or is likely to come, into the possession of the police, the National Crime Agency, HMRC or the intelligence services, and creates a separate tipping-off offence.[5] The code describes the two offences in Part III as “failure to comply with a notice (Section 53) and making an unauthorised disclosure (tipping-off) (Section 54)”.[8]
Saying “no comment” about the phone in interview
Whether you must hand over a PIN is a separate question from what you say in interview. The standard caution, in Code C paragraph 10.5, includes: “But it may harm your defence if you do not mention when questioned something which you later rely on in Court.”[18] That reflects section 34(1) of the Criminal Justice and Public Order Act 1994, which applies where, on being questioned under caution, the accused “failed to mention any fact relied on in his defence” that they could reasonably have been expected to mention.[17] How that affects questions about your phone depends on the evidence and the disclosure you are given. See our no comment interview guide.
Port and airport stops: Schedule 7
Schedule 7 to the Terrorism Act 2000 lets examining officers question people at ports and airports. A person questioned under it must “give the examining officer any information in his possession which the officer requests” (paragraph 5(a)), and a person who “wilfully fails to comply with a duty imposed under or by virtue of this Schedule” commits an offence (paragraph 18). The maximum prison term is three months.[10][22]
The October 2025 Schedule 7 code says information requested under paragraph 5(a) “may include passwords to electronic devices”, but an officer may not compel a person to “disclose information subject to legal privilege”. It also says: “The person must provide access to any electronic device to allow for a search to be undertaken”.[11] Counter Terrorism Policing says a person being examined “can be required to provide any information requested, including passwords and PINs to any electronic devices”.[21]
We have not found an equivalent statutory rule on fingerprint or face unlock for an ordinary police investigation that we could confirm from two independent sources, so this guide does not state one. If an officer asks you to use your fingerprint or face, ask what power they are using and ask for a solicitor.
A new power that is not yet in force
Section 173 of the Crime and Policing Act 2026 (Royal Assent 29 April 2026) will allow a senior officer, where a device “has been lawfully seized”, to authorise extraction of information “accessible by means of one or more online accounts which were accessed by means of the device before it was seized”.[12] It is not in force yet. Section 255(1) says the Act comes into force on days appointed by regulations, legislation.gov.uk marks section 173 as prospective, and the first commencement regulations brought in only “sections 176(7) and 177 (extraction of online information: confidential information and code of practice)” from 29 June 2026.[12][13] We will update this page if section 173 is brought into force.
Your phone being kept, and getting it back
Holding your phone is separate from making you unlock it. PACE section 22(1) says anything seized “may be retained so long as is necessary in all the circumstances”, including for use as evidence or “for forensic examination”, and section 22(4) says nothing may be kept for use as evidence “if a photograph or copy would be sufficient”.[14] Code B paragraphs 7.14 and 7.15 say the same.[15]
If you had the phone when it was seized, PACE section 21 says you can ask for a record of what was taken, to be provided “within a reasonable time”, and can ask for supervised access or a copy, unless the officer in charge believes this would prejudice the investigation.[14] Code B paragraphs 7.16 and 7.17 cover the same rights.[15] Code B Note 7A says anyone claiming property seized by the police may apply to a magistrates’ court under the Police (Property) Act 1897, and section 1(1) of that Act lets the court order delivery of the property to the person who appears to be the owner.[15][16] For more on seizure, see can police take my phone.
Practical steps
- Note the officer’s name, collar number and the exact words used.
- Ask whether you are being given a section 49 notice, and ask to see it.
- Check the notice states the rank of the person who granted permission and the time you have to comply.[1]
- If you are under arrest or invited to a voluntary interview, use the contact pathways on this site to request representation.
When to get a solicitor
Speak to a solicitor before you unlock a phone, before you sign anything, and straight away if you receive a section 49 notice. I check whether a notice is valid on its face, who granted permission, and how long you have, and I advise on the interview separately. I cover police stations Kent-wide, with longer travel time for East Kent.
Sources
- Regulation of Investigatory Powers Act 2000 (RIPA) s.49(1)–(4) (notices requiring disclosure)—https://www.legislation.gov.uk/ukpga/2000/23/section/49
- RIPA s.50(1)–(3) (effect of a notice; disclosing a key instead)—https://www.legislation.gov.uk/ukpga/2000/23/section/50
- RIPA s.51(1)–(2) (cases where the key itself is required; chief officer permission)—https://www.legislation.gov.uk/ukpga/2000/23/section/51
- RIPA s.53(1)–(5A) (offence of failing to comply, possession of the key, defence, penalties)—https://www.legislation.gov.uk/ukpga/2000/23/section/53
- RIPA s.54(1)–(4) and (6) (secrecy requirements, tipping-off, legal adviser defence)—https://www.legislation.gov.uk/ukpga/2000/23/section/54
- RIPA s.56(1) (definitions of “key” and “protected information”)—https://www.legislation.gov.uk/ukpga/2000/23/section/56
- RIPA Sch. 2 paras 1, 4(2) and 6(2) (who has appropriate permission)—https://www.legislation.gov.uk/ukpga/2000/23/schedule/2
- Home Office: Investigation of Protected Electronic Information, Revised Code of Practice (August 2018). Paras 3.12, 4.17, 4.21, 9.5, 9.25, 9.29, 9.30, 10.1–10.6—https://assets.publishing.service.gov.uk/media/5ba378d540f0b605084c94cf/RIPA_Part_III_Code_of_Practice.pdf
- CPS: Social Media – Reasonable Lines of Enquiry (updated 3 August 2022), section on obtaining content from a phone—https://www.cps.gov.uk/prosecution-guidance/social-media-reasonable-lines-enquiry
- Terrorism Act 2000 Sch. 7 paras 5(a) and 18 (duty to give information; offence)—https://www.legislation.gov.uk/ukpga/2000/11/schedule/7
- Home Office: Examining Officers and Review Officers under Schedule 7 to the Terrorism Act 2000, Code of Practice (October 2025), paras 55 and 61—https://www.gov.uk/government/publications/codes-of-practice-for-officers-using-examination-powers-at-ports/examining-officers-and-review-officers-under-schedule-7-to-the-terrorism-act-2000-accessible-version
- Crime and Policing Act 2026 s.173 (extraction of online information following seizure of electronic devices; prospective)—https://www.legislation.gov.uk/ukpga/2026/20/section/173
- Crime and Policing Act 2026 s.255(1) (commencement by regulations) and SI 2026/689 reg 2(1)(t) (only ss.176(7) and 177 of the extraction provisions commenced, 29 June 2026)—https://www.legislation.gov.uk/uksi/2026/689/regulation/2/made
- Police and Criminal Evidence Act 1984 (PACE) s.21 (record and access) and s.22(1), (2) and (4) (retention)—https://www.legislation.gov.uk/ukpga/1984/60/section/22
- Home Office: PACE Code B (December 2023), paras 7.14–7.17 and Note 7A—https://www.gov.uk/government/publications/pace-code-b-2023
- Police (Property) Act 1897 s.1(1) (court order for return of property held by police)—https://www.legislation.gov.uk/ukpga/Vict/60-61/30/section/1
- Criminal Justice and Public Order Act 1994 s.34(1) (failure to mention facts when questioned)—https://www.legislation.gov.uk/ukpga/1994/33/section/34
- Home Office: PACE Code C (December 2023), paras 6.1 and 10.5—https://www.gov.uk/government/publications/pace-code-c-2023/pace-code-c-2023-accessible
- PACE s.58(1) (right to consult a solicitor)—https://www.legislation.gov.uk/ukpga/1984/60/section/58
- Home Office: Notice of rights and entitlements (English), section 1 “Getting a solicitor to help you”—https://www.gov.uk/government/publications/notice-of-rights-and-entitlements-english/notice-of-rights-and-entitlements-english
- Counter Terrorism Policing: Schedule 7 (questions and answers, “Can the police demand passwords for electronic devices?”)—https://www.counterterrorism.police.uk/what-we-do/counter-terrorism/protect/schedule-7/
- Independent Reviewer of Terrorism Legislation: Response to the Schedule 7 Code of Practice consultation (April 2022), para 10—https://terrorismlegislationreviewer.independent.gov.uk/wp-content/uploads/2022/04/220401-Response-Sched-7-Code-Consultation.pdf
General information only — not legal advice. While every care is taken to ensure what is stated is accurate and reflects current law and official guidance, errors may occur and the law changes. Do not rely on this page instead of advice from a qualified solicitor about your own situation. Legal services are provided through Tuckers Solicitors LLP (SRA number 592449) where applicable. If you believe something on this page is incorrect, please contact us and say you are reporting a content error.
Frequently asked questions
Do I have to give police my phone PIN if they just ask?
An ordinary request is not a legal requirement. The offence in section 53 of the Regulation of Investigatory Powers Act 2000 (RIPA) applies to “a person to whom a section 49 notice has been given” who “knowingly fails” to make the disclosure the notice requires. The Home Office code of practice says the same: the offence is committed “where a person given a section 49 notice knowingly fails to make the disclosure required”. If no section 49 notice has been given, that offence does not arise. Ask whether you are being given a notice, and ask for a solicitor before you decide.
What is a section 49 notice?
It is a formal notice under RIPA section 49 requiring you to put protected (for example encrypted or locked) electronic information into an intelligible form, or in some cases to disclose the key to it. Section 56 defines a key as “any key, code, password, algorithm or other data” that allows access to the data or puts it into an intelligible form, so a PIN or passcode can be a key.
Who can authorise a section 49 notice for a phone the police have seized?
For information the police obtain under a statutory power without a warrant (the code gives the example of material seized under section 19 of PACE), Schedule 2 paragraph 4(2) gives the police appropriate permission without a judge. But paragraph 6(2) says a constable does not have it unless they are “of or above the rank of superintendent” or permission has been granted by someone of that rank or higher. The code lists “Police – Superintendent or above”. Permission can also be sought from a Circuit judge (Schedule 2 paragraph 1; code paragraph 9.5), but paragraph 6(2) still applies the superintendent rule to a constable who relies on a judge’s permission.
What does a section 49 notice have to say?
Section 49(4) says it must be in writing (or given in a way that produces a record), describe the protected information, state the grounds, give the office, rank or position of the person giving it and of the person who granted permission, state the time for compliance, and set out the disclosure required and how it is to be made. Section 49(4) and code paragraph 4.17 both say the time allowed must be reasonable in all the circumstances.
What is the maximum sentence for refusing a section 49 notice?
Under section 53(5) and (5A), on indictment the maximum is five years’ imprisonment in a national security or child indecency case and two years in any other case. Code paragraph 10.2 gives the same figures for cases on indictment. Lower limits apply if the case stays in the magistrates’ court.
What if I have genuinely forgotten my PIN?
Section 53(2) says that if you are shown to have had the key before the notice, you are treated as still having it unless “it is shown that the key was not in his possession” after the notice. Section 53(3) says you are taken to have shown that if “sufficient evidence of that fact is adduced to raise an issue” and the prosecution does not prove the contrary beyond reasonable doubt. Code paragraphs 10.3 to 10.5 explain the same rule. Whether you can raise that issue depends on the evidence in your case, so take advice before you say anything about it.
Can I get legal advice before I answer a section 49 notice?
Yes. Code paragraph 4.21 says notices, including those with a secrecy requirement, should tell the recipient that if they have any doubt what they must do, “they should contact a professional legal adviser”. Section 54(6) gives a defence to the tipping-off offence for a disclosure made to or by a professional legal adviser when advising a client about the effect of this part of the Act. If you are under arrest, PACE section 58 entitles you to consult a solicitor privately at any time, and the Home Office rights notice says having a solicitor at the police station is free.
Do I have to unlock my phone at an airport or port?
Schedule 7 to the Terrorism Act 2000 is different. A person questioned under it must “give the examining officer any information in his possession which the officer requests” (paragraph 5(a)), and wilfully failing to comply with a duty under the Schedule is an offence (paragraph 18). The October 2025 Schedule 7 code says information requested under paragraph 5(a) “may include passwords to electronic devices”, and that the person “must provide access to any electronic device” to allow a search. Counter Terrorism Policing says the same: a person being examined can be required to provide passwords and PINs to electronic devices.