Bus replacement services will be running.
Transperth said late night trains on the Mandurah Line will be affected by an early morning closure on Sunday June 24.
Trains will not be operating between Rockingham and Mandurah stations with the last full-line service to depart from Perth at 12.15 am and from Mandurah from 12.59am.
Train replacement bus Route 909 will run between Rockingham and Mandurah while trains are cancelled.
Passengers are urged to allow extra travelling time and be aware that replacement buses may not connect with timetabled bus and train services.
Due to space restrictions, bicycles will not be permitted on Transperth buses.
Trains will resume from 7.30am departing Perth and 6.29am departing Mandurah on Sunday 24 June.
Mandurah Crab Fest boasts huge range of free, family friendly entertainment
Fuel prices surge in Perth, Mandurah
Teen boys charged over Mandurah burglaries
Tragic update in search for missing man Robert Snyder
Premier Roger Cook to leave Kwinana electorate, move to Perth
Mandurah Marine Rescue's new vessel named in memory of nun who survived 1959 boating accident
Teen dies in motorbike crash at Waroona Dam
Shark alert issued after whale carcass reported at Preston Beach
Kwinana businesses to refuse serving students during school hours