The concept for the show was originally developed from the sketch-series Dave Hollins: Space Cadet on the BBC Radio 4 show Son of Cliché in the mid-1980s, written by Rob Grant and Doug Naylor. Some of their influences came from 1970s movies such as Alien, Dark Star, Silent Running, and the television series Lost in Space; but their concept had a large element of British-style comedy and satire thrown into the mix, ultimately moulded into the form of a sitcom. Having first written the pilot script for Red Dwarf in 1983 during a stay at a Welsh cottage owned by Naylor's father, the former Spitting Image writers had hawked their unusual and original script around a number of places but it was rejected by everyone at the BBC for three years, as it was erroneously believed a sitcom based around science fiction wouldn't be popular.
However it was finally accepted by BBC North in 1986, a happy result of a spare budget being assigned for a second series of Happy Families that would never arise. The show was lucky to be remounted after an electrician's strike partway through rehearsals shut the entire production down, and the first episode, The End, finally made it onto screens on 15 February 1988. The creators have long admitted that without the persistence of producers and commissioners such as Paul Jackson and Peter Ridsdale-Scott, the series might never have seen the light of day.