Our results show that trimethoprim is associated with greater risk of acute kidney injury and hyperkalaemia compared with other antibiotic drugs for a UTI, among the general population aged 65 and over, and not just those treated with renin-angiotensin system blockers. This evidence concerns the gene REN and bacterial urinary tract infection.