A recursion formula for the Magnus expansion is presented which can be used to deduce higher-order terms and to investigate their properties. The application of this formula is illustrated with several examples which were motivated by NMR spectroscopy.