The vote was the first major test for Prime Minister Antonis Samaras's two-party coalition since losing an ally over the abrupt shutdown of the state broadcaster last month, which left it with a scant five-seat majority in the 300-seat parliament.
After midnight, 153 politicians out of the 293 present voted in favour of the bill, whose passage was required to unlock nearly 7 billion euros ($9.2 billion) in aid from European Union and International Monetary Fund lenders.
The bill includes deeply divisive plans for a transfer and layoff scheme for 25,000 public workers - mainly teachers and municipal police - that had triggered a week of almost daily marches, rallies and strikes in protest.
The reforms were passed hours before German Finance Minister Wolfgang Schaeuble - Europe's leading proponent of austerity blamed by many Greeks for their woes - arrives in Athens for his first visit to Greece since the debt crisis began in 2009.
Before the vote, Samaras announced Greece's first tax cut since its crisis began nearly four years ago, in a bid to placate protests and an increasingly restive public mood.
The latest bill agreed with lenders includes a luxury tax on houses with swimming pools and owners of high performance cars.
But the move that has drawn the most anger is the plan to place 25,000 workers into the layoff scheme by the end of 2013.