In 1999, the Moderates and the centre-right People's Party, set up in May 1998 after a fusion of Peasants' Party and People's Party of Republicans and Conservatives (a 1994 splinter group from the Fatherland Alliance), formed the Moderate People's Party (Rahvaerakond Mõõdukad). The seemingly unlikely decision to fuse took place on 29 May 1999, with some foreign commentators drawing parallels with 'right-wing socialists'.[10] In November the same year, the unification was formally approved by party's general assembly.
The Moderates' contacts with People's Party predecessors had started in 1998. The two parties had a joint list in 1999 parliamentary election and formed a governing coalition with Pro Patria Union and Reform Party. In 2003, the Moderate People's Party joined the Party of European Socialists. After disappointing election results in 2003, the party renamed itself the Social Democratic Party (SDE) on 7 February 2004.
The SDE is committed to the social market economy model, in addition to conventional social-democratic values including equality, social justice, solidarity, and the welfare state. On 10 May 2005, former social-liberals Peeter Kreitzberg and Sven Mikser joined them. On 28 November former social-liberal Mark Soosaar re-joined the SDE. The party was in opposition from 2002 on, but they participated talks for a common alternative presidential candidate to Arnold Rüütel, SDE's Toomas Hendrik Ilves was elected on 23 September 2006 as the next president of Estonia (apart from the Social Democrats, he was supported by the Reform Party of Estonia, Pro Patria Union and Res Publica deputies).
After last elections to the local government councils on 16 October 2005, the party in most major cities is in opposition, but are a part of the governing coalition in Rakvere and Tapa. The party improved its position in most areas. In Tallinn, it formed a joint list with the agrarian People's Union, which got six seats out of 63 seats with 11.1% share of votes. Comparing to 2003. elections to the local government council in Tallinn SDE and People's Union gained seats. In the 2003 election, SDE got a 4.9% share of votes and People's Union 3.4% share of votes, which were both below a 5% election threshold. In Estonia, SDE local lists won 6.43% share of votes. In 2003, they got only 4.39% share of votes nationally. SDE is today represented on 65 local councils out of 206 and is governing in 20 local councils. After the 2003 election, the party was represented in 104 local councils out of 247.
SDE's aim in the 2007 Estonian parliamentary election was to win at least 17 seats out of 101. Independent member of current RiigikoguLiina Tõnisson ran as a candidate in their list. All SDE's MEPs and their current MPs were candidates in the 2007 election. The party got 58,354 votes (10.6% of the total), a gain of +3.6%; it won 10 seats in the new Riigikogu, a gain of four.
In April 2007, the Social Democrats joined the coalition government led by the Estonian Reform Party.
Following the resignation of Prime Minister Andrus Ansip, a new cabinet was sworn in on 26 March 2014, with Taavi Rõivas of the Reform Party serving as Prime Minister in coalition with the SDE.[11]
In the 2015 parliamentary election on 1 March 2015, the SDE received 15.2% of the vote and 15 seats in the Riigikogu.[13] After the coalition formation with the Reform Party and Pro Patria and Res Publica Union (IRL), MP Jevgeni Ossinovski announced that he would challenge Sven Mikser in the party congress on 30 May 2015.[14] Mikser however stepped down before the election at the congress and Ossinovski was chosen as the new party leader.[15] On 7 November 2016, the Social Democratic Party and IRL announced that they were asking Prime Minister Taavi Rõivas to resign and were planning on negotiating a new majority government.[16] In the following vote of confidence on 9 November, the majority of Riigikogu voted in favour of removing the prime minister's government.[17]
On 23 November 2016, a coalition government led by Estonian Centre Party (EK) leader Jüri Ratas consisting of EK, SDE and IRL was sworn in.[18] This cabinet governed until 29 April 2019, when it was brought does by a vote of no confidence when the SDE and IRL sided with the opposition parties.[19][20]
In the 2019 parliamentary election held on 3 March 2019, the SDE received 9.8% of the vote and 10 seats. In the 2019 European elections on 26 May 2019, the party won 23.3% of the national vote and two seats in the European Parliament.
In the 2023 parliamentary election, the SDE received 9.3% of the vote and nine seats. Following the election on 7 March, Prime Minister Kallas invited the SDE and Estonia 200 for preliminary talks aimed at forming a new coalition government.[23] A coalition agreement between the three parties was reached by 7 April,[24] giving SDE three ministerial positions,[25] and was officially signed on 10 April.[26] On 17 April, the third Kallas government was sworn into office.[27]
One year on from the 2023 Estonian parliamentary election, the Social Democrats remained the only party in the government coalition to avoid losing support in polling. This was attributed to the party members' public statements, especially those of the leader of the party Lauri Läänemets, setting the Social Democrats apart from the two economically liberal parties in the coalition. Moreover, the party gained MPs and members from the defections out of the Centre Party, including seeing its number of MPs increase from nine to 13.[28][29]
The party was in government in the following periods: 1992–1994 (Mart Laar's first government), 1994–1995 (Andres Tarand's government, often called to Christmas Peace government [jõulurahu valitsus]), 1999–2002 (Mart Laar's second government, often called the Triple Alliance [kolmikliit]), and 2007–2009, some of which included participating in three centre-right governments with the Fatherland Union and Reform Party. The party returned to government in Kaja Kallas' second cabinet on 18 July 2022 in a coalition with Reform and Isamaa.