Greek government officials have reached agreement with creditors on the terms to restart bailout loan payouts, following months of tough negotiations.
The terms include another round of pension cuts in 2019 and a commitment to maintain a high primary budget surplus after the current rescue programme ends next year.
Prime Minister Alexis Tsipras's left-wing government is set to approve the new cuts in parliament by mid-May, so eurozone finance ministers could unfreeze bailout funds at a scheduled meeting on May 22.
Mr Tsipras's governing coalition has a majority in parliament of just three seats.
Greece has been surviving on bailout loans since 2010 in return for harsh spending cuts and tax increases that have put nearly a quarter of the workforce out of work and seen more than a third of population living in poverty or at risk of poverty.
"We have said many times ... that this is a painful compromise," Interior Minister Panos Skourletis told state-run ERT television.
Mr Tsipras's governing Syriza party is trailing badly behind rival conservatives in the polls, and he has insisted it will not seek elections until his term ends in 2019.
The agreement was reached after an all-night session of talks at an Athens hotel.
Government officials said lenders dropped their demands to abolish a long list of employment rights and also agreed to the expansion of benefit schemes for jobless and low-income families.
Hours before the deal, protesters had gathered at the entrance of the hotel during large May Day rallies in the capital, but riot police blocked them from entering the building.
Mr Tsipras's government - which rose to power on an anti-bailout platform - had initially aimed to finalise the current round of negotiations with creditors last December.
The delay has threatened hopes of a return to growth after years of recession and stagnation fuelled by austerity and a reversal of prior chronic state overspending.
Greece faces a spike in bailout loan repayments in July, and needed to unlock the additional funds to avoid the threat of bankruptcy.