Patients with acute brain injury are at high risk of ventilator-associated pneumonia (VAP). The benefit of short-term antibiotic prophylaxis remains debated. We aimed to establish the effect of an early, single dose of the antibiotic ceftriaxone on the incidence of early VAP in patients with severe brain injury who required mechanical ventilation. PROPHY-VAP was a multicentre, randomised, double-blind, placebo-controlled, assessor-masked, superiority trial conducted in nine intensive care units in eight French university hospitals. We randomly assigned comatose (Glasgow Coma Scale score [GCS] ≤12) adult patients (age ≥18 years) who required mechanical ventilation for at least 48 h after acute brain injury to receive intravenous ceftriaxone 2 g or placebo once within the 12 h following tracheal intubation. Participants did not receive selective oropharyngeal and digestive tract decontamination. The primary outcome was the proportion of patients developing early VAP from the 2nd to the 7th day of mechanical ventilation, confirmed by masked assessors. The analysis was reported in the modified intention-to-treat population, which comprised all randomly assigned patients except those who withdrew or did not give consent to continue and those who did not receive the allocated treatment because they met a criterion for non-eligibility. The trial is registered with ClinicalTrials.gov, NCT02265406. From Oct 14, 2015, to May 27, 2020, 345 patients were randomly assigned (1:1) to receive ceftriaxone (n=171) or placebo (n=174); 330 received the allocated intervention and 319 were included in the analysis (162 in the ceftriaxone group and 157 in the placebo group). 166 (52%) participants in the analysis were men and 153 (48%) were women. 15 patients did not receive the allocated intervention after randomisation and 11 withdrew their consent. Adjudication confirmed 93 cases of VAP, including 74 early infections. The incidence of early VAP was lower in the ceftriaxone group than in the placebo group (23 [14%] vs 51 [32%]; hazard ratio 0·60 [95% CI 0·38-0·95], p=0·030), with no microbiological impact and no adverse effects attributable to ceftriaxone. In patients with acute brain injury, a single ceftriaxone dose decreased the risk of early VAP. On the basis of our findings, we recommend that an early, single dose of ceftriaxone be included in all bundles for the prevention of VAP in patients with brain injury who require mechanical ventilation. French Ministry of Social Affairs and Health.