We obtain a formula for the general N-dimensional optical theorem in quantum mechanics, generalizing the standard result for three dimensions. It is obtained by an application of the method of steepest descents. The formula holds for arbitrary (anisotropic, nonlocal) short-range potentials.