Ivar Afzelius (15 October 1848, Uppsala – 30 October 1921) was a Swedish jurist and politician.
Having studied law at the universities of Uppsala, Leipzig and Göttingen, he was appointed to teach process law at Uppsala in 1879. Bernhard Windscheid was one of his teachers. From 1891 to 1902, he was a justice in the Supreme Court of Sweden, 1898–1903 and 1905–1915 a member of the Riksdag, whose first chamber, the Senate, he presided in 1913–1915. Since 1905, he was a member of the Permanent Court of Arbitration in The Hague, and president of the Svea Court of Appeal in 1910–1918.
Afzelius is remembered as a precursor of a pan-Scandinavic legislative endeavour, especially the laws of the sea. He has been characterised as the prototype of an idealistic jurist in the liberal state. Still, he sought to link Swedish legal traditions to modern (especially German) dogmatic thought, whose reception in Sweden was strongly furthered by his authority.
Modéer, Kjell Åke (2001). "Ivar Afzelius". In Michael Stolleis (ed.). Juristen: ein biographisches Lexikon; von der Antike bis zum 20. Jahrhundert (in German) (2nd ed.). München: Beck. p. 20. ISBN3-406-45957-9.