Rail services in the Highlands have been disrupted after flooding caused damage to tracks.
Network Rail sent engineers to the tracks in the Tomatin area while lightning strikes resulted in signal failure.
Passengers have been urged to make alternative arrangements where possible.
Services between Glasgow and Edinburgh to Inverness have been impacted as a result of the incident.
Some replacement buses have been provided in Perth.
It comes as the area is facing heavy downpours and thunderstorms with 16 flood alert warnings currently in place by SEPA across the country.
Stagecoach Highlands issued a statement on Twitter warning: “Due to heavy rainfall, the A82 Lochend to Drumnadrochit currently has a lot of surface water and is likely to cause delays to services. For live times please download the Stagecoach app.”
The downpours comes as Scotland officially hit heatwave temperatures on Monday, with Threave in Dumfries and Galloway reaching 30.1C.
In a statement Network Rail said: “We’re dealing with flooding between Inverness and Carrbridge, in the Tomatin area.
“We’ve closed the line as a precaution until one of our engineers can inspect the track. Sorry if your journey’s being affected, we’ll update you again soon.”
ScotRail confirmed the lines had been closed earlier and is updating passengers on social media.
In a Tweet the rail provider said: “Due to limited replacement transport, customers should consider making alternative arrangements.”
Follow STV News on WhatsApp
Scan the QR code on your mobile device for all the latest news from around the country