This document provides a background to prescribing and mental health medicines in secure environments with some common principles that apply throughout the medicines optimisation pathway, and more detailed information within the pathway to support safer practice.