Frankston line commuters will be forced onto replacement buses for more than two months, as the Andrews government launches rolling closures to remove six level crossings.

A stretch of the politically sensitive railway line between Mordialloc and Moorabbin will close between mid-May and mid-July, as major works get under way to remove three level crossings in Cheltenham and Mentone.

An artist's impression of the new Mentone station. Credit:Level Crossing Removal Project

The mid-year construction works will lower the Frankston line in a trench at Park and Charman roads in Cheltenham and Balcombe Road in Mentone.

But before that, a longer section of the line between Frankston and Moorabbin will be closed for two weeks in February, to remove three level crossings in Carrum.