We derive and apply a partial differential equation for the moment generating function of the Wright-Fisher model of population genetics.