Trainspotting is a 1996 British black comedy film directed by Danny Boyle and starring Ewan McGregor, Ewen Bremner, Jonny Lee Miller, Kevin McKidd, Robert Carlyle, and Kelly Macdonald in her acting debut. Based on the novel of the same name by Irvine Welsh, the film was released in the United Kingdom on 23 February 1996.
The Academy Award nominated screenplay by John Hodge follows a group of heroin addicts in an economically depressed area of Edinburgh and their passage through life. Beyond drug addiction, other themes in the film are exploration of the urban poverty and squalor in "culturally rich" Edinburgh.
The film has been ranked 10th by the British Film Institute (BFI) in its list of Top 100 British films of the 20th century. In 2004 the film was voted the best Scottish film of all time in a general public poll. In 2017 a poll of 150 actors, directors, writers, producers and critics for Time Out magazine ranked it the 10th best British film ever. A sequel, T2 Trainspotting, was released in January 2017.