To analyze the efficacy and associated factors affecting the prognosis in patients with disturbance of consciousness after hyperbaric oxygen (HBO) treatment. A retrospective study was carried out on patients with disorders of consciousness (DOC) receiving HBO treatment from January to January 2022 in the Second Department of Rehabilitation Medicine of the Second Hospital of Hebei Medical University, China. HBO therapy improved the Glasgow Coma Scale (GCS) and Chinese Nanjing Persistent Vegetative State Scale (CNPVSS), as well as the clinical efficacy in patients with DOC. The comparison of GCS and CNPVSS scores in patients with DOC before and after HBO treatment was all statistically significant, with 325 patients (67.1%) showing effective results and 159 patients (32.9%) having unchanged outcomes. Univariate analysis indicated that there were statistically significant differences in age, HBO intervention time, HBO treatment times, pre-treatment GCS score, and etiology and underlying diseases between the good and poor prognoses groups. Multivariate regression analysis showed that HBO intervention time ≤7 days, HBO treatment > times, high GCS score before HBO treatment, and brain trauma were independent influencing factors in achieving a good prognosis for patients with DOC. Low pre-treatment GCS scores were an independent risk factor for a poor prognosis in patients with brain trauma while being male, late HBO intervention time, fewer HBO treatment times, and low pre-treatment GCS scores were independent risk factors for a poor prognosis in patients with DOC after a stroke. Being ≥50 years of age, late HBO intervention time, and low pre-treatment GCS scores were independent risk factors for a poor prognosis in patients with DOC after hypoxic-ischaemic encephalopathy. HBO therapy can improve the GCS, CNPVSS scores and clinical efficacy in patients with DOC, and the timing of HBO intervention ≤7 days, times of HBO treatment, high pre-treatment GCS score, and brain trauma were the independent influencing factors of good prognosis in patients with DOC.