Here the authors show that high glucose impairs innate immunity through reduced levels of the antimicrobial peptide psoriasin and impaired epithelial barrier function, resulting in an increased risk of urinary tract infection. This evidence concerns the gene S100A7 and urinary tract infection.