The 40-second "roll with us" TV ad, created by The Leith Agency, focuses first on a girl skating through the countryside, before the camera pans out to reveal a train of people behind her.
Commuters and shoppers join the ‘human train’ as it skates through the countryside and the city to the 1970s disco song ‘Young Hearts Run Free’ by Candi Staton.
Two 20-second spots have also been created as part of the ad to promote ScotRail’s Club 55 and Kids Go Free products.
The Leith Agency’s Mike Maxwell wrote the ad and Ian Fletcher was the art director. Dom Bridges directed the TV ads through the production company Mustard and MediaCom was in charge of media planning and buying.
Social media, print, outdoor, cinemas and online advertising will support the TV ads.
Graeme Macfarlan, the head of marketing at ScotRail, said: "Rather than featuring different ticket and journey types, the 'roll with us' campaign celebrates the freedom and fun that rail travel offers, whether customers are heading to work, the shops or just enjoying a day out.
"We are taking a fresh and memorable approach and are confident it is one that will resonate with audiences."
The 40-second ad broke yesterday around 5.45pm during ‘Come Dine With Me’ on Channel 4. It then aired during ‘Emmerdale’ and ‘Coronation Street’ on STV.