Methods for treating or preventing infections from coagulase-negative staphylococci using proteins and polypeptides from coagulase-negative staphylococcal bacteria such as S. epidermidis, including proteins designated SdrF, SdrG and SdrH, and their effective fragments such as their respective A domains, are provided. Methods are also provided wherein antibodies that recognize the SdrG protein or its ligand binding A region are used to treat or prevent staphylococcal infection, and these methods can also be utilized to prevent the formation of infections on indwelling medical devices.