Background Delirium is a common complication in ICU patients, and it can signi cantly increase the length of hospital stay and cost. Dexamethasone is widely used in various in ammatory diseases and is a glucocorticoid commonly used in critically ill patients. There are no studies on the effect of dexamethasone on the development of delirium in critically ill patients, therefore, this study aimed to con rm the effect of dexamethasone use and the dose on the incidence of delirium and patient prognosis in critically ill patients through a large cohort study. Methods A retrospective cohort study was conducted using data extracted from the MIMIC III database, and the primary outcome was the development of delirium, using multivariate logistic regression analysis to reveal the relationship between dexamethasone and delirium. Secondary endpoints were in-hospital mortality, total length of stay and length of ICU stay, and the relationship between dexamethasone and prognosis was assessed with Cox proportional hazards models. The Lowess smoothing technique was used to investigate the dose correlation between dexamethasone and outcomes, subgroup analysis was used to account for heterogeneity, and different correction models and propensity matching analysis were used to eliminate potential confounders. Results Finally, 38,509 patients were included, and 2,204 (5.7%) used dexamethasone. A signi cantly higher incidence of delirium (5.0% vs. 3.4%, P < 0.001), increased in-hospital mortality (15.0% vs. 11.3%, P < 0.001), and longer length of stay and ICU stay were observed in patients taking dexamethasone compared with those not taking dexamethasone. Multivariate logistic and Cox regression analyses con rmed that dexamethasone was signi cantly associated with delirium (adjusted OR = 1.45, 95% CI = 1.08-1.95, P = 0.014) and in-hospital mortality (adjusted HR = 1.19, 95% CI = 1.02-1.40, P = 0.032). The risk of delirium and in-hospital death was lower with dexamethasone less than 10 mg, and subjects with 10-14 mg had the shortest length of hospital stay. Conclusions This study demonstrated that the use of dexamethasone in critically ill patients exacerbated the occurrence of delirium, while increasing the risk of in-hospital death and length of stay, and the use of low-dose dexamethasone had a lower risk of delirium and death, which appeared to be safer. Key Points Question: Previous controversies have been inconclusive about the effect of dexamethasone on postoperative delirium, so in critically ill patients of ICU, does the use and dose of dexamethasone have an effect on the occurrence of delirium? Findings: The use of dexamethasone in critically ill patients exacerbates the development of delirium, while increasing the risk of inhospital mortality and length of stay, and low-dose dexamethasone had a lower risk of delirium and death. Meaning: To reduce the risk of delirium, it may be of interest to reduce the use of nonessential dexamethasone and control the intake level of dexamethasone in ICU patients.