Determining molecular markers for osteoporosis may be valuable for improving the quality of life of affected elderly patients by aiding in early detection and disease management. In the present study, the association between single nucleotide polymorphisms (SNPs) of the vitamin D receptor () and tumour necrosis factor superfamily number 11 () genes and the susceptibility of developing osteoporosis was investigated in a Thai female cohort. The study group consisted of 105 Thai postmenopausal patients diagnosed with osteoporosis and 132 healthy Thai postmenopausal female volunteers. DNA extracted from blood samples was used to genotype the and genes using polymerase chain reaction-restriction fragment length polymorphism and sequencing analysis. For , the frequencies of the genotypes TT, CT and CC for theI SNP (rs731236) were 87.88, 11.36 and 0.76%, respectively, in the control group, while in the osteoporosis cohort were 92.38, 5.71 and 1.91%, respectively. For the I SNP (rs2228570), the frequencies of the genotypes CC, CT and TT were 31.06, 55.30 and 13.64%, respectively, in the control group, and in the osteoporosis group were 29.52, 43.81 and 26.67%, respectively. ForI SNP (rs1544410), the frequencies of the genotypes GG, GA and AA were 78.03, 18.94 and 3.03%, respectively, in control group, and in the osteoporosis group were 80.95, 18.10 and 0.95%, respectively. The significant risk of osteoporosis associated with the I SNP was determined. The odds ratio (95% confidence interval) was 2.30 (1.14-4.69; P=0.01) among patients with osteoporosis with TT as the susceptibility genotype. For, the frequencies of the genotypes TT, CT and CC for the -290C>T SNP (rs9525641) in the control group were 36.36, 50.76 and 12.88%, respectively, while in the osteoporosis group were 31.43, 56.19 and 12.38%, respectively. For the -643C>T SNP (rs9533156), the frequencies of the genotypes TT, CT and CC in the control group were 35.61, 48.48 and 15.91%, respectively, while in the osteoporosis group were 32.38, 55.24 and 12.38%, respectively. For the -693G>C SNP (rs9533155), the frequencies of the genotypes CC, CG, and GG in the control group were 39.39, 46.97 and 13.64%, respectively, and in the osteoporosis group were 36.19, 53.33 and 10.48%, respectively. No significant associations of the SNPs with osteoporosis were determined; however, it was notable that the GCT haplotype of may be a protective haplotype for osteoporosis. Therefore, it was concluded that the SNP I of may be a potential molecular biomarker for the development of osteoporosis in Thai females.