The Wirral loop line will re-open on Monday after six months of disruption for passengers.
The work has been carried out in three phases, with no trains at all between Wirral and Liverpool for much of the project.
Merseyrail said: We would like to thank our passengers for your patience during the track renewal work, we’re looking forward to welcoming you back on Monday.
The first and third phase of track renewal saw no trains at all between Liverpool and Wirral, while during the second phase weekday services ran from Wirral to James Street station on weekdays.
The work was part of a £340m investment in the region’s rail network over the next three years.
Other projects will include creating new and longer platforms at Liverpool Lime Street and building a new station at Maghull North.