Using data from the UK Biobank cohort, we showed inverse and positive associations of vitamin D and CRP levels with incident diabetes in ambulatory community-dwelling middle-aged and older adults. This evidence concerns the gene CRP and diabetes mellitus.