In 1840 Bernhard went to Hanover to live with his grandmother and visit the Lyceum. After the death of his grandmother in 1842 he went to the Johanneum in Lüneburg. 1846, at the age of 19, he started studying Philology and Theology at the University of Göttingen. He attended lectures of Gauss on the method of least squares. 1847 his father allowed him to stop studying Theology and start studying Mathematics.
Riemann held his first lectures in 1854, which not only founded the field of Riemannian geometry but set the stage for Einstein's General relativity. He was promoted an extraordinary professor at the University of Göttingen in 1857 and became an ordinary professor in 1859.
In 1862 he married Elise Koch.
He died on his third journey to Italy in Selasca.