The teenager was spotted on the railway line, between Leeds and Burley Park stations, shortly after 10am this morning (Thursday).
She had been reported missing just minutes earlier and there were concerns for her welfare.
Police, firefighters and paramedics were all at the scene and traffic was being redirected.
Leeds Festival road closures: Aberford village will be closed to festival traffic after being used as a 'rat run'
Man dead after a paragliding accident near to Leeds
'Highly organised' Leeds thieves caught by own technology after tracking movement of business owners
Leeds United supporters issued warning not to walk on M621 after minibus drops fans off on motorway slip road
'I'll throw acid over you': Leeds dad high on cocaine made vile threats to ex
Trains on the line were also disrupted.
She was brought to safety at around 2pm and Kirkstall Road reopened shortly afterwards.
A West Yorkshire Police spokesman said: "At 10:09am today police received reports of a female on the railway viaduct over Kirkstall Road in Leeds.
"Emergency services attended and road closures were put in place and rail services suspended.
"The female was identified as a 15-year-old girl who had been reported missing minutes earlier with concerns for her welfare.
"She was brought to safety shortly after 2pm and the incident concluded, and the scene reopened."
A spokeswoman for the British Transport Police said: "Officers were called to an area of railway in Burley, Leeds, at 10.13am following concern for the welfare of a person.
"Specialist officers attended and a person has now been taken to a place of safety."
Support the YEP and become a subscriber today. Enjoy unlimited access to local news and the latest on Leeds United, With a digital subscription, you see fewer ads, enjoy faster load times, and get access to exclusive newsletters and content. Click here to subscribe.