He was appointed state secretary for foreign affairs in 1831.
Ihre became Swedish Minister of Ecclesiastical affairs from 1840, and also served as acting Swedish-Norwegian prime minister of foreign affairs 1840-1842, and was Swedish-Norwegian prime minister of foreign affairs 1842-1848.
Ihre, who was a grandson of the philologist Johan Ihre, was elected a member of the Royal Swedish Academy of Sciences in 1842, was awarded the title of baron in 1843 and a knighthood of the Order of the Seraphim in 1846.
He was elected a member of the Swedish Academy in 1849, having previously declined twice, but did not take his seat and resigned from the Academy in 1859.