Work to lay the foundations for the electrification of the Fife Circle is about to launch.
In the first phase of work between Haymarket and Dalmeny, Network Rail Scotland will pile the foundations for masts that will carry overhead wires up to the Forth Rail Bridge.
The Scottish Government is investing £55 million in the line between Haymarket and Dalmeny, meaning the railway is being transformed to accommodate quieter, more environmentally friendly electric trains.
25 single track kilometres (STKs) of railway is to be electrified by December 2024.
Meanwhile, subsequent phases of work will see "partial" electrification of lines in Fife, which will lead to a totalling a further 104 STKs.
This will allow the introduction of Battery Electric Multiple Units (BEMUs) to replace life-expired diesel units which are to be phased out.
Contractors, Scottish Powerlines (SPL), will shortly start on-site activities between Haymarket and Dalmeny.
It will include piling and constructing steelwork foundations to support overhead power masts.
Electrification between Edinburgh into the Kingdom represents the next phase of the rolling programme of electrification and part of the wider programme of decarbonisation which will build a cleaner, greener Scotland’s Railway.
Jenny Gilruth, Scotland's Transport Minister and the MSP for Glenrothes, said: "It’s great news that the first phase of the Fife electrification project is getting underway as this will make a significant difference to passenger and freight services in the future.
"Delivery of the Fife electrification project will support introduction of new rolling stock through partial electrification of the route.
"It will also help towards the delivery of our Rail Decarbonisation Action Plan which will see removal of all diesel trains on passenger services by 2035.
"The development work also being progressed on Borders electrification and on procuring new rolling stock shows we are fully focussed on rail decarbonisation.
"Our commitment is securing jobs in the rail design and delivery sector, as well as providing a stream of work for the supply chain."
Alex Hynes, managing director of Scotland’s Railway, said: "We’re working hard alongside the Scottish Government to bring the benefits of electrification to communities across Scotland.
"The government has set an ambitious target to decarbonise our railway and projects such as the electrification of the Fife Circle – starting with the line connecting Fife to Edinburgh, will be key to delivering on that commitment.
"We look forward to delivering further investment in Scotland’s Railway and significantly improving the quality of service for the communities it serves.
"This is one of a number of projects that will create an even greener, cleaner, and more reliable railway for Scotland.’"