Eugen Huber (July 31, 1849 – April 23, 1923) was a Swiss jurist and the creator of the Swiss Civil code of 1907.
Huber was born in Swiss Canton of Zürich on July 31, 1849. His father was a physician. At the University of Zurich, Huber studied jurisprudence, where he received a doctorate in 1872 with a thesis on "The Swiss law of inheritance in its development since the separation of the Old Swiss Confederacy from the Holy Roman Empire." In 1875, he was a correspondent for a newspaper in Zurich until he replaced a judge in Appenzell from 1877 until 1880. In 1880, he became a professor of Swiss civil and federal law at the University of Basel and later, in 1888, he became a professor at Halle University in Halle and Wittenberg, where he taught legal history, private and commercial law, public land law as well as canon law and philosophy of law.
During this time, he began to write an extensive treatise on the private laws of the cantons, which was published in four volumes. In 1892, he was asked by the Swiss government to draft the Swiss civil code (Zivilgesetzbuch), which he completed in 1904. It was enacted in 1907 and entered into force in 1912. The Zivilgesetzbuch was applauded for being clear and modern, and it was later adopted in Turkey.