Later he studied theology in Würzburg. After attending lectures of the young professor F. W. J. Schelling, Spix became interested in nature. He quit his theology studies and began studying medicine, which he finished with a second doctoral degree in 1807.