Ørsted was born in Rudkøbing. As a young boy Ørsted developed his interest in science while working for his Father, who owned a pharmacy. He and his brother Anders received most of their early education through self-study at home, going to Copenhagen in 1793 to take entrance exams for the University of Copenhagen, where both brothers excelled academically. By 1796 Ørsted had been awarded honors for his papers in both aesthetics and physics. He earned his doctorate in 1799 for a dissertation based on the works of Kant entitled "The Architectonics of Natural Metaphysics".