{
  "url": "https://openlegislation.uk/prison-act-1952/section-40D",
  "json_url": "https://openlegislation.uk/prison-act-1952/section-40D.json",
  "legislation": "ukpga/Geo6and1Eliz2/15-16/52",
  "legislation_title": "Prison Act 1952",
  "legislation_url": "https://openlegislation.uk/prison-act-1952",
  "path": "section/40D",
  "kind": "section",
  "number": "40D",
  "heading": "Other offences relating to prison security",
  "text": "(1) A person who, without authorisation—\n(a) takes a photograph, or makes a sound-recording, inside a prison, or\n(b) transmits, or causes to be transmitted, any image , sound or information from inside a prison by electronic communications for simultaneous reception outside the prison,\nis guilty of an offence.\n(2) It is immaterial for the purposes of subsection (1)(a) where the recording medium is located.\n(3) A person who, without authorisation—\n(a) brings or otherwise conveys a restricted document out of a prison or causes such a document to be brought or conveyed out of a prison, or\n(b) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nis guilty of an offence.\n(3A) A person who, without authorisation, is in possession of any of the items specified in subsection (3B) inside a prison is guilty of an offence.\n(3B) The items referred to in subsection (3A) are—\n(a) a device capable of transmitting or receiving images, sounds or information by electronic communications (including a mobile telephone);\n(b) a component part of such a device;\n(c) an article designed or adapted for use with such a device (including any disk, film or other separate article on which images, sounds or information may be recorded).\n(4) In proceedings for an offence under this section it is a defence for the accused to show that—\n(a) he reasonably believed that he had authorisation to do the act in respect of which the proceedings are brought, or\n(b) in all the circumstances there was an overriding public interest which justified the doing of that act.\n(5) A person guilty of an offence under this section is liable—\n(a) on conviction on indictment, to imprisonment for a term not exceeding two years or to a fine (or both); or\n(b) on summary conviction, to imprisonment for a term not exceeding the general limit in a magistrates’ court or to a fine not exceeding the statutory maximum (or both).",
  "extent": "E+W+S+N.I.",
  "status": null,
  "version": "current",
  "annotations": [
    {
      "type": "F",
      "label": "F1",
      "text": "Ss. 40D, 40E inserted (1.4.2008) by Offender Management Act 2007 (c. 21), ss. 23(1), 41(1); S.I. 2008/504, art. 3(i)"
    },
    {
      "type": "F",
      "label": "F2",
      "text": "Words in s. 40D(1)(b) substituted (26.3.2012) by Crime and Security Act 2010 (c. 17), ss. 45(a), 59(1); S.I. 2012/584, art. 2"
    },
    {
      "type": "F",
      "label": "F3",
      "text": "S. 40D(3)(b) and word repealed (26.3.2012) by Crime and Security Act 2010 (c. 17), ss. 45(b), 59(1); S.I. 2012/584, art. 2"
    },
    {
      "type": "F",
      "label": "F4",
      "text": "S. 40D(3A)(3B) inserted (26.3.2012) by Crime and Security Act 2010 (c. 17), ss. 45(c), 59(1); S.I. 2012/584, art. 2"
    },
    {
      "type": "F",
      "label": "F5",
      "text": "Words in s. 40D(5)(b) substituted (7.2.2023 at 12.00 p.m.) by The Judicial Review and Courts Act 2022 (Magistrates’ Court Sentencing Powers) Regulations 2023 (S.I. 2023/149), regs. 1(2), 2(1), Sch. Pt. 1 table"
    },
    {
      "type": "C",
      "label": "C1",
      "text": "S. 40D modified (1.4.2008) by Offender Management Act 2007 (c. 21), s. 41(1), Sch. 4 para. 5; S.I. 2008/504, art. 3(m)"
    }
  ],
  "outstanding_effects": [],
  "provenance": {
    "source": "legislation.gov.uk",
    "source_url": "https://www.legislation.gov.uk/ukpga/Geo6and1Eliz2/15-16/52/section/40D",
    "retrieved_at": "2026-10-29T11:17:21.749923+00:00",
    "licence": "OGL-UK-3.0",
    "licence_url": "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/",
    "attribution": "Contains public sector information licensed under the Open Government Licence v3.0. Source: legislation.gov.uk, The National Archives."
  }
}