{
  "url": "https://openlegislation.uk/sentencing-act-2020/schedule-9/paragraph-22B",
  "json_url": "https://openlegislation.uk/sentencing-act-2020/schedule-9/paragraph-22B.json",
  "legislation": "ukpga/2020/17",
  "legislation_title": "Sentencing Act 2020",
  "legislation_url": "https://openlegislation.uk/sentencing-act-2020",
  "path": "schedule/9/paragraph/22B",
  "kind": "paragraph",
  "number": "22B",
  "heading": null,
  "text": "(1) A court may not impose a drug testing requirement unless the following conditions are met—\n(a) the misuse condition, and\n(b) the availability of arrangements condition.\n(2) The misuse condition is that the court is satisfied that the offender’s misuse of a drug or psychoactive substance—\n(a) caused or contributed to the offence to which the order relates or an associated offence, or\n(b) is likely to cause or contribute to the commission of further offences by the offender.\n(3) The availability of arrangements condition is that the court has been notified by the Secretary of State that arrangements for implementing drug testing requirements are available in the offender’s home local justice area (and the notice has not been withdrawn).",
  "extent": null,
  "status": null,
  "version": "current",
  "annotations": [
    {
      "type": "F",
      "label": "F1",
      "text": "Sch. 9 Pt. 10A inserted (28.6.2022) by Police, Crime, Sentencing and Courts Act 2022 (c. 32), s. 208(5)(s), Sch. 15 para. 6"
    }
  ],
  "outstanding_effects": [
    {
      "type": "words inserted",
      "affecting": "ukpga/2020/17",
      "affecting_title": "Sentencing Act 2020"
    },
    {
      "type": "amendment to earlier amending provision 2006 c. 52, s. 179(3)",
      "affecting": "ukpga/2020/17",
      "affecting_title": "Sentencing Act 2020"
    },
    {
      "type": "amendment to earlier amending provision 2006 c. 52, s. 179(3)",
      "affecting": "ukpga/2020/17",
      "affecting_title": "Sentencing Act 2020"
    },
    {
      "type": "amendment to earlier affecting provision 2006 c. 52, s. 203(4)",
      "affecting": "ukpga/2020/17",
      "affecting_title": "Sentencing Act 2020"
    },
    {
      "type": "amendment to earlier affecting provision 2006 c. 52, s. 203(4)",
      "affecting": "ukpga/2020/17",
      "affecting_title": "Sentencing Act 2020"
    },
    {
      "type": "amendment to earlier affecting provision 2003 c. 44, Sch. 31 para. 3",
      "affecting": "ukpga/2022/32",
      "affecting_title": "Police, Crime, Sentencing and Courts Act 2022"
    },
    {
      "type": "word substituted",
      "affecting": "ukpga/2026/2",
      "affecting_title": "Sentencing Act 2026"
    },
    {
      "type": "inserted",
      "affecting": "ukpga/2026/2",
      "affecting_title": "Sentencing Act 2026"
    },
    {
      "type": "applied (with modifications) by 2006 c. 52, s. 183 (as amended)",
      "affecting": "ukpga/2026/2",
      "affecting_title": "Sentencing Act 2026"
    },
    {
      "type": "substituted for Sch. 9 para. 2(1)",
      "affecting": "ukpga/2026/2",
      "affecting_title": "Sentencing Act 2026"
    },
    {
      "type": "word substituted",
      "affecting": "ukpga/2026/2",
      "affecting_title": "Sentencing Act 2026"
    },
    {
      "type": "word substituted",
      "affecting": "ukpga/2026/2",
      "affecting_title": "Sentencing Act 2026"
    },
    {
      "type": "amendment to earlier affecting provision 2003 c. 44, Sch. 31 para. 2",
      "affecting": "ukpga/2026/2",
      "affecting_title": "Sentencing Act 2026"
    },
    {
      "type": "applied (with modifications) by 2003 c. 44, Sch. 31 para. 2A (as inserted)",
      "affecting": "ukpga/2026/2",
      "affecting_title": "Sentencing Act 2026"
    },
    {
      "type": "amendment to earlier affecting provision 2003 c. 44, Sch. 19A para. 2",
      "affecting": "ukpga/2026/2",
      "affecting_title": "Sentencing Act 2026"
    },
    {
      "type": "inserted",
      "affecting": "ukpga/2026/2",
      "affecting_title": "Sentencing Act 2026"
    }
  ],
  "provenance": {
    "source": "legislation.gov.uk",
    "source_url": "https://www.legislation.gov.uk/ukpga/2020/17/schedule/9/paragraph/22B",
    "retrieved_at": "2026-10-29T09:00:57.370248+00:00"
  },
  "licence": "Open Government Licence v3.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."
}