Mast cells (MCs) are considered sentinels in the skin and mucosa. Their ability to release antimicrobial peptides, such as cathelicidin, protects against bacterial infections when the epithelial barrier is breached. We recently described that MCs defend against bacterial and viral infections through the release of cathelicidin during degranulation. In this study, we hypothesize that cathelicidin expression is induced in MCs by the activation of TLR2 from bacterial products (lipoteichoic acid) produced by commensal bacteria at the epithelial surface. Our research shows that signaling through TLR2 increases the production and expression of cathelicidin in mast cells, thereby enhancing their capacity to fight vaccinia virus. MCs deficient in cathelicidin were less efficient in killing vaccinia virus after lipoteichoic acid stimulation than wild-type cells. Moreover, the activation of TLR2 increases the MC recruitment at the skin barrier interface. Taken together, our findings reveal that the expression and control of antimicrobial peptides and TLR signaling on MCs are key in fighting viral infection. Our findings also provide new insights into the pathogenesis of skin infections and suggest potential roles for MCs and TLR2 ligands in antiviral therapy.