ScotRail commuters suffered disruption tonight after trains forced to slow to 20mph on the main Edinburgh-Glasgow line when rail temperature hit 40C.
The speed restriction was imposed by Network Rail to prevent trains damaging the track near Winchburgh in West Lothian.
Services between Edinburgh and Dunblane were also affected.
Several trains were cancelled and others delayed by nearly 15 minutes.
READ MORE: Relax dress codes at work amid heatwave, say MPs
ScotRail said: "Due to a speed restriction because of high track temperatures between Edinburgh Park and Linlithgow, disruption is expected until 8pm."
The disruption came as temperatures hit 26C in places such as Edinburgh and Stirling, and 25C in Glasgow and Perth.