We study the collective density modes that can affect neutron-star thermodynamics in the baryonic density range between nuclear saturation (ρ 0 ) and 3ρ 0 . In this region, the expected constituents of neutron-star matter are mainly neutrons, protons and electrons (npe matter), under the constraint of β equilibrium. The elementary excitations of this npe medium are studied in the random-phase approximation framework. We emphasize the effect of Coulomb interaction, in particular the electron screening of the proton plasmon mode. For the treatment of the nuclear interaction, we compare two modern Skyrme forces and a microscopic approach. The importance of the nucleon effective mass is observed.