A large number of people around the world are exposed to the risks of passive smoking. This prospective study aimed to examine the association between secondhand smoke exposure, exposure time, and the incidence of chronic kidney disease (CKD) and determine whether this association was influenced by genetic susceptibility. The study included 214244 participants of the UK Biobank who were initially free of CKD. Cox proportional hazards model was used to estimate the associations between secondhand smoke exposure time and the risks of CKD in people who have never smoked. The genetic risk score for CKD was calculated by a weighted method. The likelihood ratio test comparing models was used to examine the cross-product term between secondhand smoke exposure and genetic susceptibility to CKD outcomes. During a median of 11.9 years of follow-up, 6583 incidents of CKD were documented. Secondhand smoke exposure increased the risk of CKD (HR=1.09; 95% CI: 1.03-1.16, p<0.01), and a dose-response relationship between CKD prevalence and secondhand smoke exposure time was found (p for trend<0.01). Secondhand smoke exposure increases the risk of CKD even in people who never smoke and have a low genetic risk (HR=1.13; 95% CI: 1.02-1.26, p=0.02). There was no statistically significant interaction between secondhand smoke exposure and genetic susceptibility to CKD (p for interaction=0.80). Secondhand smoke exposure is associated with higher risk of CKD, even in people with low genetic risk, and the relationship is dose dependent. These findings change the belief that people with low genetic susceptibility and without direct participation in smoking activities are not prone to CKD, emphasizing the need to avoid the harm of secondhand smoke in public places.