Commuters on the T4 line were re-directed onto buses as a crew worked to repair a broken rail at Oatley station on Tuesday morning.
Services on the Eastern Suburbs & Illawarra Line between Como and Oatley were cancelled or delayed at 5am, while a repair crew was sent to the scene.
Crew have completed emergency repairs to the broken rail at Oatley. The plate repairs to the rail will allow services to safely travel through the affected area at a faster pace.
NSW Transport said the rail had been fixed just before 7am, but some services remained either delayed or cancelled.
The T4 Sydney Trains social media team said that flow-on delays were still impacting services but that they "are working hard to return services to normal", and apologised to commuters.
"We appreciate your patience as we work hard to return services back to normal after broken rail at Oatley required emergency repairs this morning. Buses are supplementing train services between Hurstville & Sutherland."