Trainspotting is the first novel by Scottish writer Irvine Welsh, first published in 1993. It takes the form of a collection of short stories, written in either Scots, Scottish English or British English, revolving around various residents of Leith, Edinburgh who either use heroin, are friends of the core group of heroin users, or engage in destructive activities that are implicitly portrayed as addictions that serve the same function as heroin addiction. The novel is set in the late 1980s.
Famously described as "the voice of punk, grown up, grown wiser and grown eloquent", the novel has since achieved a cult status, added to by the global success of the film based on it, Trainspotting (1996), directed by Danny Boyle. Welsh later wrote a sequel, Porno, in 2002. Skagboys, a novel that serves as a prequel, was published in April 2012.