Ivan Tavčar ( pronunciation ) (28 August 1851 – 19 February 1923) was a Slovenian writer, lawyer, and politician.
Tavčar was born into the poor peasant family of Janez and Neža née Perko in the Carniolan village of Poljane near Škofja Loka in what was then the Austrian Empire (now Slovenia). It has never been entirely clear who his father was. This disputed origin significantly influenced Tavčar's later personal life and political decisions.
He started schooling in his home village and continued in Ljubljana, from which he was expelled for disciplinary reasons. For a while he attended secondary school in Novo Mesto and eventually returned to Ljubljana. In 1871 he began studying law at the University of Vienna. He began his political career in the Provincial Assembly of the Duchy of Carniola, where he formed the core of a radical group of Slovene liberals together with Ivan Hribar. He became one of the leading members of the National Progressive Party and long served as the chief editor of the party journal Slovenski narod, succeeding Josip Jurčič. Between 1901 and 1907 he was member of the Austrian Parliament. In 1911, he succeeded Ivan Hribar as mayor of Ljubljana.