Pro-European conservative Prokopis Pavlopoulos won 233-30 votes to be named president on Wednesday, after receiving backing from the main center-right opposition party and the new left-wing government led by Prime Minister Alexis Tsipras.
The 64-year-old's appointment to the largely ceremonial post ends a deadlock over the presidential selection that triggered snap general elections last month.
Pavlopoulos, a veteran politician and former law professor, was seen as a surprise choice, as conservative European Commissioner Dimitris Avramopoulos had been widely considered the favorite in the leadup to the vote.
Tsipras, leader of the radical left-wing Syriza party, put Pavlopoulos forward as his presidential nominee in a bid to draw much-needed cross-party support as Greece struggles to negotiate a new loan deal with its international creditors.
Athens is expected to submit a formal request for an extension of its loan agreement on Thursday. The application is also expected to seek the removal of tough austerity conditions.
The country's debt woes have given rise to fears Greece could lose its place in the single currency eurozone bloc.
Tsipras said the new president had "a proven democratic sensitivity, a high feeling of national conscience, and... enjoys broad approval in society and parliament."
Pavlopoulos will take over from 85-year-old Karolos Papoulias whose five-year term ends in March.
nm/kms (AFP, dpa, AP, Reuters)