The invention relates to the use of a combination of SP1298 and SP2205 proteins or functional fragments thereof or homologous proteins or protein fragments thereof of S. pneumoniae for preventing or treating a S. pneumoniae infection, their use for the preparation of a vaccine for the preventive treatment of a S. pneumoniae infection, compositions comprising said proteins of S. pneumoniae or functional fragments thereof, vaccines comprising said proteins or functional fragment thereof, and to a method for in vivo immune protection.