A strike at Fremantle port has ended sooner than expected after marathon talks broke an impasse between the Maritime Union of Australia and the facility's state-owned operator.
The industrial action started at 5.30am (WST) on Monday and was planned to continue until the same time on Sunday.
The union was concerned about the possibility of job losses if the port was privatised, despite Transport Minister Troy Buswell saying that would not happen.
The union wanted a clause inserted in the employment agreement, guaranteeing permanency of employment for the life of that agreement.
Fremantle Ports chief executive Chris Leatt-Hayter said an agreement had been reached on the issue after lengthy discussions on Monday.
The employees returned to work on Tuesday morning.