The aim of this study was to assess whether SP-D could act as a mediator between smoking or air contaminant exposure and T2DM development in the general Spanish adult population. This evidence concerns the gene SFTPD and type 2 diabetes mellitus.