Upper gastrointestinal (GI) bleeding is a common reason for emergency hospital admission. Proton pump inhibitors (PPIs) reduce gastric acid production and are used to manage upper GI bleeding. However, there is conflicting evidence regarding the clinical efficacy of proton pump inhibitors initiated before endoscopy in people with upper gastrointestinal bleeding. To assess the effects of PPI treatment initiated prior to endoscopy in people with acute upper GI bleeding. We searched the CENTRAL, MEDLINE, Embase and CINAHL databases and major conference proceedings to October 2008, for the previous versions of this review, and in April 2018, October 2019, and 3 June 2021 for this update. We also contacted experts in the field and searched trial registries and references of trials for any additional trials. We selected randomised controlled trials (RCTs) that compared treatment with a PPI (oral or intravenous) versus control treatment with either placebo, histamine-2 receptor antagonist (H2RA) or no treatment, prior to endoscopy in hospitalised people with uninvestigated upper GI bleeding. At least two review authors independently assessed study eligibility, extracted study data and assessed risk of bias. Outcomes assessed at 30 days were: mortality (our primary outcome), rebleeding, surgery, high-risk stigmata of recent haemorrhage (active bleeding, non-bleeding visible vessel or adherent clot) at index endoscopy, endoscopic haemostatic treatment at index endoscopy, time to discharge, blood transfusion requirements and adverse effects. We used standard methodological procedures expected by Cochrane. We included six RCTs comprising 2223 participants. No new studies have been published after the literature search performed in 2008 for the previous version of this review. Of the included studies, we considered one to be at low risk of bias, two to be at unclear risk of bias, and three at high risk of bias. Our meta-analyses suggest that pre-endoscopic PPI use may not reduce mortality (OR 1.14, 95% CI 0.76 to 1.70; 5 studies; low-certainty evidence), and may reduce rebleeding (OR 0.81, 95% CI 0.62 to 1.06; 5 studies; low-certainty evidence). In addition, pre-endoscopic PPI use may not reduce the need for surgery (OR 0.91, 95% CI 0.65 to 1.26; 6 studies; low-certainty evidence), and may not reduce the proportion of participants with high-risk stigmata of recent haemorrhage at index endoscopy (OR 0.80, 95% CI 0.52 to 1.21; 4 studies; low-certainty evidence). Pre-endoscopic PPI use likely reduces the need for endoscopic haemostatic treatment at index endoscopy (OR 0.68, 95% CI 0.50 to 0.93; 3 studies; moderate-certainty evidence). There were insufficient data to determine the effect of pre-endoscopic PPI use on blood transfusions (2 studies; meta-analysis not possible; very low-certainty evidence) and time to discharge (1 study; very low-certainty evidence). There was no substantial heterogeneity amongst trials in any analysis. There is moderate-certainty evidence that PPI treatment initiated before endoscopy for upper GI bleeding likely reduces the requirement for endoscopic haemostatic treatment at index endoscopy. However, there is insufficient evidence to conclude whether pre-endoscopic PPI treatment increases, reduces or has no effect on other clinical outcomes, including mortality, rebleeding and need for surgery. Further well-designed RCTs that conform to current standards for endoscopic haemostatic treatment and appropriate co-interventions, and that ensure high-dose PPIs are only given to people who received endoscopic haemostatic treatment, regardless of initial randomisation, are warranted. However, as it may be unrealistic to achieve the optimal information size, pragmatic multicentre trials may provide valuable evidence on this topic.