Police, fire crews and paramedics were called to York Minster at around 8pm today (Wednesday) amid fears for his safety.
Police said the man, who was high up in the building, was intending to harm himself and has now been taken to hospital.
Trained police negotiators were at the scene for several hours talking to the man and nearby roads were cordoned off.
A North Yorkshire Police spokesman said: "The incident at York Minster has now been resolved.
"A man who was intending to harm himself has been brought to safety, and taken to hospital to receive the support he needs.
"Trained police negotiators spent several hours at the scene, alongside fire and ambulance service colleagues.
"Cordons in the area are now being lifted. Thanks to everyone for their patience tonight."