Network Rail has commenced work on the installation of new fencing along the line of the Levenmouth Rail link.
Around 19km of fencing will be installed so that upcoming work to reinstate the branch line can take place safely.
The fencing will run along the length of the route to secure the boundaries of the rail corridor.
Maintenance work will take place on the existing pathways and crossing points during the early phases of work.
During preparatory work on the project vegetation has been cleared along the five-mile corridor.
Outdated and life-expired railway equipment from the former line has also been removed during preparatory work.
Joe Mulvenna, Network Rail Project Manager for the Levenmouth Rail link spoke on the work taking place.
Mr Mulvenna said: “While we understand that over the years, the disused railway has been accessed by people exercising… that will not be the case for much longer.
“The whole corridor between Thornton and Leven will soon become a major construction site.
“In general we are asking people to find alternative walking routes.
“The scale of the work that will be involved in the project means that in the short-term there will be some disruption for the area.
“It is an exciting development that has the potential to transform life for local people and the communities it will serve.”
Once the rail link is completed it will mark the first time trains have travelled down the line in half a century.
Network Rail is encouraging anyone with queries regarding the project to email [email protected] or call the 24-hour helpline on 03457 11 41 41.