An essential element of the innate immune response to injury is the capacity to recognize microbial invasion and stimulate production of antimicrobial peptides. We investigated how this process is controlled in the epidermis. Keratinocytes surrounding a wound increased expression of the genes coding for the microbial pattern recognition receptors CD14 and TLR2, complementing an increase in cathelicidin antimicrobial peptide expression. These genes were induced by 1,25(OH)2 vitamin D3 (1,25D3; its active form), suggesting a role for vitamin D3 in this process. How 1,25D3 could participate in the injury response was explained by findings that the levels of CYP27B1, which converts 25OH vitamin D3 (25D3) to active 1,25D3, were increased in wounds and induced in keratinocytes in response to TGF-beta1. Blocking the vitamin D receptor, inhibiting CYP27B1, or limiting 25D3 availability prevented TGF-beta1 from inducing cathelicidin, CD14, or TLR2 in human keratinocytes, while CYP27B1-deficient mice failed to increase CD14 expression following wounding. The functional consequence of these observations was confirmed by demonstrating that 1,25D3 enabled keratinocytes to recognize microbial components through TLR2 and respond by cathelicidin production. Thus, we demonstrate what we believe to be a previously unexpected role for vitamin D3 in innate immunity, enabling keratinocytes to recognize and respond to microbes and to protect wounds against infection.