Workers at Greyhound Waste Recycling have voted to accept settlement proposals to end the 15-week dispute triggered by pay cuts.
The deal was accepted by 52 of the 78 strikers, with 15 voting against. There was one spoiled vote.
Greyhound CEO Michael Buckley has declined to say how much the dispute has cost the company.
He welcomed today's settlement, saying it will secure 400 jobs at the business.
Workers' spokesperson Ray Reilly said the picket on the company's Clondalkin depot would be lifted immediately, while Greyhound would withdraw its court actions against the strikers and their supporters.
He said the settlement would allow the workers to move on with their lives.
SIPTU Divisional Organiser Owen Reidy praised the fortitude and solidarity of the workers.
He said the dispute had captured the public imagination and had shone a light on the waste industry.
Mr Reidy said they now had an opportunity to clean up the industry by establishing a Joint Labour Committee to try to take wages out of competition.
The agreement includes a redundancy package of two weeks' pay plus statutory entitlements of two weeks per year of service for the workers who have decided to leave the company.
Thirteen of the workers who are remaining with the company will retain their previous terms and conditions.
These workers will work on a Dublin City Council contract to collect waste from social housing units and will be selected according to length of service at the company.
Workers who are remaining with the company but who will not be working on the social housing contract have agreed a wage reduction of between 15% and 20%.
These workers will also be compensated for the changes in their terms and conditions of employment by receiving a payment of a sum equal to 30% of the redundancy package to which they would have been entitled if they were leaving the company.
Greyhound has been operating collections during the dispute by using agency workers on lower pay rates.
Since the dispute began, the company has been granted High Court injunctions to prevent workers and their supporters from engaging in an alleged illegal Greyhound blockade, which caused significant disruptions to bin collections.
After Mr Buckley warned two weeks ago that the dispute could lead to the closure of the company with the loss of all 400 jobs, there were angry scenes outside the courts when administrative staff protested against the strikers.
Today, he was asked whether the agency workers on lower pay who carried out bin collections during the lockout would be recruited to replace the departing employees.
Mr Buckley said Greyhound was likely to use self-employed contractors, which they already use in other areas of the company.
He said the dispute had been challenging but claimed that the company had gained more customers than it had lost during the strike.