A historic wall at the Largo and Newburn Parish Church in Upper Largo, Fife collapsed on Saturday, disturbing some of the graves.
Fife Council attended the scene and closed the church and churchyard.
“In order to preserve the dignity of the deceased, where safe, the remains have been moved into the church.
“Any exposed ancient lairs are covered until it is safe to restore or rebury them.”
Fife was one region of many across the country to be hit by flooding over the weekend.
Events abandoned by the torrential rain included the first stage of the inaugural Women’s Tour of Scotland cycling race between Dundee and Dunfermline.