We calculate the gravitational waveform for spinning, precessing compact binary inspirals through second post-Newtonian order in the amplitude. When spins are collinear with the orbital angular momentum and the orbits are quasi-circular, we further provide explicit expressions for the gravitational-wave polarizations and the decomposition into spin-weighted spherical-harmonic modes. Knowledge of the second post-Newtonian spin terms in the waveform could be used to improve the physical content of analytical templates for data analysis of compact binary inspirals and for more accurate comparisons with numerical-relativity simulations.