BackgroundSocioeconomic inequalities in lung cancer survival have been suggested to be at least partly caused by inequalities in receipt of treatment. In England, there are target waiting times for referral (14 days to first hospital appointment) and treatment (31 days from diagnosis) for suspected cancer. In a systematic review and meta-analysis, we found evidence of socioeconomic inequalities in receipt of lung cancer treatment in the UK, USA, and elsewhere. Northern and Yorkshire Cancer Registry and Information Centre (NYCRIS), Hospital Episode Statistics (HES), and lung cancer audit (LUCADA) data were linked via NHS number to investigate the effect of socioeconomic inequalities in receipt of and time to treatment on lung cancer survival. MethodsNYCRIS data for 22 967 patients diagnosed in 2006–09 with a primary diagnosis of lung cancer (ICD 10 C33 and C34) were analysed, including information about referral date and type and date of treatment. Socioeconomic position (SEP) was measured with the income domain of the index of multiple deprivation. Stage and performance status (a measure of patient wellbeing) were recorded in LUCADA for 5233 (23%) of the cohort. Comorbidity score was obtained from HES for 17 621 (77%). Survival time was from date of diagnosis to death or end of follow-up on Dec 31, 2011. Cox regression models were used to calculate hazard of death and logistic regression to examine likelihood of being alive 2 years after diagnosis, by SEP, in the full cohort and the subset with stage recorded. Findings3513 (15%) of 22 967 patients were alive 2 years after diagnosis. This proportion increased to 1562 (70%) of 2236 who had surgery. Patients referred (odds ratio [OR] 0·76, 95% CI 0·69–0·84; p<0·0001) and treated (0·37, 0·34–0·41; p<0·0001) within guideline targets had a lower likelihood of surviving to 2 years compared with those referred and treated later. Socioeconomic inequalities in survival were found in a multivariable analysis controlling for stage and performance status, with those in the lowest socioeconomic group significantly less likely to be alive after 2 years compared with those in the highest group (OR 0·78, 95% CI 0·69–0·88; p<0·0001). Timely referral did not change this result. However, when receipt of treatment was included, the association was no longer significant (OR 0·87, 95% CI 0·75–1·00; p=0·06). Timeliness of treatment did not alter the conclusion. InterpretationSocioeconomic inequalities in survival from lung cancer were statistically explained by socioeconomic inequalities in receipt of treatment, but not by inequalities in timeliness of referral and treatment. We were unable to examine smoking status and there might be residual confounding from this and other factors. Missing stage and performance status data are an important limitation. However, patterns of survival in the subset of patients with stage data were similar to those in the full cohort. Research into unexplained variance in treatment rates is needed to develop interventions that address socioeconomic inequalities in receipt of treatment and survival. This factor might have a greater effect on improvement of survival than the present clinical focus on time-interval targets. FundingLFF (ESRC studentship ES/I020926/1) is a PhD student funded by ESRC as a member of Fuse, the Centre for Translational Research in Public Health (www.fuse.ac.uk). JA, MW, and GR are funded in part as a staff member (JA), director (MW), and senior investigator (GR) of Fuse. Fuse is a UK Clinical Research Collaboration (UKCRC) Public Health Research Centre of Excellence. Funding for Fuse from the British Heart Foundation, Cancer Research UK, Economic and Social Research Council, MRC, NIHR, under the auspices of the UKCRC, is acknowledged. The views expressed do not necessarily represent those of the funders or UKCRC. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.