Treatment with calcitriol, the hormonal form of vitamin D, has shown beneficial effects in ex-perimental models of acute lung injury. In this study we aimed to analyze the associations be-tween calcitriol supplementation and the risk of SARS-CoV2 infection or COVID-19 mortality. Individuals ≥18 years old living in Catalonia and supplemented with calcitriol from April 2019 to February 2020 were compared with propensity score matched controls. Outcome variables were SARS-CoV2 infection, severe COVID-19 and COVID-19 mortality. Associations between calcitriol supplementation and outcome variables were analyzed using multivariable Cox proportional regression. A total of 8076 patients were identified as being on calcitriol treatment. Advanced chronic kidney disease and hypoparathyroidism were the most frequent reasons for calcitriol supplementation in our population. Calcitriol use was associated with reduced risk of SARS-CoV2 infection (HR 0.78 [CI 95% 0.64-0.94], p=0.010), reduced risk of severe COVID-19 and reduced COVID-19 mortality (HR 0.57 (CI 95% 0.41-0.80), p=0.001) in patients with advanced chronic kidney disease. In addition, an inverse association between mean daily calcitriol dose and COVID-19 severity or mortality was observed in treated patients, independently of renal function. Our findings point out that patients with advanced chronic kidney disease could benefit from calcitriol supplementation during the COVID-19 pandemic.