The acclaimed star, now a household name in the USA after joining the cast of hit show 'Grey's Anatomy', heads the cast of 'One Night In Emergency', a unique drama written by award-winning 'Black Watch' playwright Gregory Burke for BBC One Scotland.
It marks his television writing debut, and charts the other-worldly journey through an inner-city hospital of Peter (played by McKidd) as he desperately searches for his wife, Penny, played by Michelle Ryan, formerly of 'Eastenders', who went on to play the title role in the recently remade series, 'The Bionic Woman'.
As Peter ventures deep into the labyrinthine building, he is drawn into a surreal, parallel world, encountering strange characters along the way including his nemesis, a one-eyed security guard.
Explaining his vision for the drama, writer Burke said: "I wanted to create something mythical, and 'One Night In Emergency' is a modern interpretation of Homer's 'The Odyssey', set in a hospital environment with many surreal twists and turns.
"It's all about yearning for your loved ones, wanting to return home and how, in times of crisis, being with the people you love becomes paramount. I'm proud and humbled that so many acclaimed actors are involved, not least because it's my first drama for TV."
Leslie Finlay, who is executive-producing the drama for Scottish Screen, said it was a fantastic opportunity to showcase Scottish talent.
The drama, set to have viewers tuning in on Monday at 9pm on BBC Scotland, reunites McKidd with his 'Trainspotting' co-star, Ewen Bremner, and also stars James Cosmo and David Hayman.