We here report the importance of sufficient vitamin D levels to ensure enough high levels of the barrier proteins occludin and claudin-14 in the urinary bladder of postmenopausal women and in mice during E. coli infection. Here, CLDN14 is linked to escherichia coli infection.