Due out in Autumn this year, Sky One series COBRA will focus on the titular emergency committee that meets when the UK is faced with crisis.
It will see Carlyle, 57, playing PM Robert Sutherland as he guides the UK through disaster, rather than the pint-throwing Begbie from the 1996 hit film.
But Sky have remained tight-lipped on the nature of the national emergency he will face as Britain's leader.
The Trainspotting icon is looking forward to starring in the new show.
Speaking to the Daily Record, he said: “COBRA is a palpably thrilling and witty take on a political drama but with a humanity at the heart of the series.”
COBRA stands for Cabinet Office briefing room A - where they meet in Downing Street.
COBRA will air on Sky One and will be available for streaming on Now TV.