We analyzed data from the large population-based case-cohort of iPSYCH26,27, which include genotypes from all individuals born in Denmark between 1981 and 2008 who have received treatment for depression in hospitals and outpatient clinics (ICD-10 codes F32-F33 in the Danish Psychiatric Central Research Register28). Compared to the latest GWAS of depression (from May 2021)25, which included 18,629 cases and 17,841 controls from the initial iPSYCH2012 cohort12,27, data from 11,710 individuals with depression and 18,410 controls were included from the expanded iPSYCH2015 cohort26,27, which leads to a total of 30,618 individuals with depression and 38,200 controls after relatedness pruning and removal of ancestry outliers. In addition, we included an updated dataset consisting of 28,098 individuals with depression and 228,817 controls from the FinnGen23 study. When combining these with data from previously published samples from the PGC, UKB, 23andMe and MVP, the number of samples added up to a total of 371,184 individuals with depression and 978,703 controls (Supplementary Table S1).