To capture smoking heaviness and duration as well as smoking initiation, we generated a lifetime smoking measure using data from the UK Biobank. The UK Biobank is a national health research resource of 502 647 participants aged 40–69 years, recruited from across the UK between 2006 and 2010 (http://www.ukbiobank.ac.uk). Our sample consisted of 462 690 individuals of European ancestry who had phenotype data and passed genotype inclusion criteria (54% female; mean age = 56.7 years; s.d. = 8.0 years). Overall, 30% of the sample had ever smoked (8% current smokers and 22% former smokers).