Nils Edén (25 August 1871 – 16 June 1945) was a Swedish historian and liberal politician, Prime Minister of Sweden 1917–1920, and along with Hjalmar Branting acknowledged as co-architect of Sweden's transition from quasi-absolute monarchy to a parliamentary democracy with equal male and female suffrage.