We study the contribution from the electron spin to the ponderomotive force, using a quantum kinetic model, including the spin-orbit correction. Specifically, we derive an analytical expression for the ponderomotive force, applicable for electrostatic waves propagating parallel to an external magnetic field. To evaluate the expression, we focus on the case of Langmuir waves and on the case of the spin resonance wave mode, where the classical and spin contributions to the ponderomotive force are compared. Somewhat surprisingly, depending on the parameter regime, we find that the spin contribution to the ponderomotive force may dominate for the Langmuir wave, whereas the classical contribution can dominate for the spin resonance mode.