Rail services to Aberdeen and Inverness were halted on Saturday evening after two people were hit by trains.
ScotRail reported two separate incidents on social media.
Services running on two routes were cancelled, delayed or revised for several hours.
The first incident was reported at 8.40pm, when a person was hit by a train between Blair Atholl and Aviemore.
Services returned to normal just before 1am on Sunday.
⚠️ NEW: Sadly, a person has been hit by a train between Blair Atholl and Aviemore. Services running on this route will be cancelled, delayed or revised. pic.twitter.com/iSER2xEVfj