The present invention relates to immunogenic compositions, comprising polypeptides isolated from Staphylococcus epidermidis. The invention also relates to polynucleotides encoding Staphylococcus epidermidis polypeptides and their use in immunogenic compositions. In addition, the invention relates to methods of inducing an immune response in mammals against Staphylococcus epidermidis and Staphylococcus aureus using immunogenic compositions of the Staphylococcus epidermidis polypeptides and polynucleotides. The invention also relates to methods for detecting Staphylococcus epidermidis in a biological sample.