Background Infants undergo multiple clinically-required painful procedures during their time in hospital, and there is an increasing desire from both parents and clinical staff to have parents directly involved in their newborn’s pain relief. To avoid biases due to selective analysis and reporting, a clinical trial’s statistical analysis plan (SAP) should be finalised and registered prior to dataset lock and unblinding. Here, we outline the SAP for the Petal trial, which was registered on the ISRCTN registry prior to dataset lock and unblinding. Methods The Petal trial is a multicentre, individually randomised, parallel-group interventional superiority trial. The study involves in-patient neonates born at or after 35+0 weeks gestation with a postnatal age of ≤7 days, in two hospital research sites (John Radcliffe Hospital, Oxford, UK; Royal Devon and Exeter Hospital, Exeter, UK). The primary objective is to investigate the potential efficacy of a non-pharmacological parent-led stroking intervention on reducing the magnitude of neonates’ noxious stimulus-evoked brain activity. The primary outcome is the neonate’s brain activity recorded using electroencephalography (EEG) in response to a heel lance blood sampling procedure. Secondary outcomes include neonatal clinical pain scores and tachycardia, and parental anxiety. The study hypothesis is neonates’ pain responses and parents’ anxiety scores are lower in the intervention group. Randomisation will be via a minimisation algorithm to maintain balance in five prognostic factors. Conclusions Paediatric pain trials have been highlighted by regulatory bodies as an important and challenging topic, with interest increasing in brain imaging outcomes. The Petal trial, to which this SAP relates, is part of a larger effort of establishing a brain-based EEG outcome measure of infant pain for use in clinical trials. This SAP is thus likely to be of interest to those in academia, pharmaceutical companies, and regulatory bodies. Trial registration ClinicalTrials.gov: NCT04901611, 25/05/2021; ISRCTN: ISRCTN14135962, 23/08/2021).