António José Seguro of the Socialist Party won the presidential election with 66.8% of the vote in the run off election and will serve a five-year term.
André Ventura of the Chega party received 33.2%.
In the January election, Seguro received 31% of the vote, while Ventura came second with 23.5%. Since no candidate reached the required 50% threshold in January, a run-off election was held between the two candidates as they received the most votes.
Incumbent president Marcelo Rebelo de Sous of the Social Democratic Party (PSD) had served a maximum of two terms so was not eligible for re-election.
The President of Portugal has a largely ceremonial role, with no executive power, but can veto new laws and dissolve Parliament.
Portugal has a population of around 10.4 million and 10.9 million registered voters. Voter turnout in the election was 50.1%.