Ehrenberg was appointed professor of medicine at Berlin University in 1827. In 1829 he accompanied Alexander von Humboldt through eastern Russia to the Chinese frontier. After his return he began to concentrate his studies on microscopic organisms, which then were not much studied.