Nitrous oxide (N₂O) is a controlled substance under the Psychoactive Substances Act 2016. It is legal for legitimate medical, industrial, and culinary uses (e.g., whipped cream chargers), but illegal to possess, supply, or import for psychoactive inhalation.
It is an offence to drive or attempt to drive while unfit through drugs—including nitrous oxide. Police can require a Field Impairment Test and/or a blood/urine test.
Carrying canisters, balloons ("whippets"), or inhalation paraphernalia in a vehicle can constitute evidence of intent to inhale for psychoactive effects—an offence under the Act.
Providing nitrous oxide to anyone in the vehicle for recreational use is supplying a psychoactive substance—illegal.
Laws evolve; consult the latest UK government guidance or legal counsel for definitive advice.