The Osteoprotegerin/RANK/RANKL system has been implicated in the biological cascade of events initiated by particulate wear debris and bacterial infection resulting in periprosthetic bone loss around loosened total hip arthroplasties (THA). Individual responses to such stimuli may be dictated by genetic variation and we have studied the effect of single nucleotide polymorphisms (SNPs) within these genes. We performed a case control study of the Osteoprotegerin, RANK and RANKL genes for possible association with deep sepsis or aseptic loosening. All patients included in the study were Caucasian and had had a cemented Charnley THA and polyethylene acetabular cup. Cases consisted of 91 patients with early aseptic loosening and 71 patients with microbiological evidence at surgery of deep infection. Controls consisted of 150 THAs that were clinically asymptomatic for over 10 years and demonstrated no radiographic features of aseptic loosening. DNA samples from all individuals were genotyped using Taqman allelic discrimination. The A allele (p<0.001) and homozygous genotype A/A (p<0.001) for the OPG-163 SNP were highly associated with aseptic failure. Additionally, the RANK-575 (C/T SNP) T allele (p=0.004) and T/T genotype (p=0.008) frequencies were associated with aseptic failure. No statistically significant relationship was found between aseptic loosening and the OPG- 245 or OPG-1181 SNPs. When the septic group was compared to controls, the frequency of the A allele (p<0.001) and homozygous genotype A/A (p<0.001) for the OPG-163 SNP were statistically significant. No statistically significant relationship was found between septic failure and the OPG- 245, OPG-1181 or RANK-575 SNPs. Aseptic loosening and possibly deep infection of THA may be under genetic influence to candidate susceptibility genes. SNP markers may serve as predictors of implant survival and aid pharmacogenomic prevention of THA failure.