The ex-education minister comfortably beat former PM Manuel Valls, who conceded before the final tally was completed.
However, the Socialists are not expected to do well in the election as the outgoing president, Francois Hollande, has a very low approval rating.
Conservative Francois Fillon, right-wing Marine Le Pen, and centrist Emmanuel Macron lead the polls for April elections.
With 60% votes counted in the Socialist run-off, Benoit Hamon had just over 58% to Manuel Valls’ 41%.
After his win was announced, Benoit Hamon said: “Despite the differences, the forces of the left have never been so close in terms of ideas. Let’s come together.”
Benoit Hamon, 49, called on the Socialist Party, independent left-winger Jean-Luc Melenchon, and a Green candidate to unite and “construct a government majority”.
He was the most left-leaning of the seven initial candidates in the Socialist race, the first round of which was held last week.
Benoit Hamon has experienced a surge in popularity from a range of progressive plans, including a proposal for a universal monthly income for all citizens.
He also wants to legalize cannabis, and ditch the labor law passed last year that made it easier to hire and fire.
Anyone was allowed to vote in the primary, even those who were not party members.
According to organizers, the turnout was much higher than the previous week, when 1.6 million people cast ballots.
However, there have been reports of mismanagement, with one reporter from news site Buzzfeed saying she had been allowed to vote four times in the second round. She said she voided her ballot so as not to affect the outcome.
Journalists from Le Monde newspaper also claimed they were permitted to vote more than once in the first round.
Manuel Valls had built his campaign on his experience gained as prime minister between 2014 and 2016.
The presidential race has taken a turn in recent days, with the favorite for the post, Francois Fillon, becoming embroiled in a controversy over payments to his wife for political work – which a French publication claimed there was no evidence she carried out.
Francois Fillon denies the allegations, and said he would drop out of the race if there was enough evidence to launch an investigation.
On January 29, Francois Fillon and his wife were side by side at a Paris rally that sought to reinvigorate his candidacy.
In his speech, Francois Fillon said: “Leave my wife out of the political debate!”
Francois Fillon’s scandal could potentially be a boost for Marine Le Pen, the anti-immigration hardliner who has pledged to put “native” French people first.
Quincy Jones, the celebrated musician and producer who worked with Michael Jackson, Frank Sinatra, Ray…
Misleading allegations, rumours and outright lies about voting and fraud are flooding online spaces in…
At least 158 people have died in Spain's worst flooding disaster in generations. On October…
Google has been fined two undecillion (a two followed by 36 zeroes) roubles by a…
Embarking on a home remodel is an exciting journey, promising enhanced comfort, increased property value,…
The US presidential candidates continued to campaign across key swing states on October 20. Footage…