Staphylococcus aureus is a major human pathogen. Pathogenic effects are largely due to production of bacterial toxins, whose synthesis is controlled by an mRNA molecule termed RNAIII. The S. aureus protein called RAP (RNAIII-activating protein) is secreted and activates RNAIII production by inducing the phosphorylation of its target protein TRAP (target of RAP). Antibodies to TRAP have been shown to suppress exotoxin production by S. aureus in vitro, suggesting that TRAP may be a useful vaccine target site. Here we showed that a peptide TA21 was identified by screening a phage display library using anti-TRAP antibodies. Mice vaccinated with Escherichia coli engineered to express TA21 on their surface (FTA21) were protected from S. aureus infections, using sepsis and cellulitis mice models. By sequence analysis, it was found that the TA21 is highly homologous to the C-terminal sequence of TRAP which is conserved among S. aureus and Staphylococcus epidermidis, suggesting that peptide TA21 may be a useful broad vaccine to protect from infection caused by various staphylococcal strains.