The Hitchhiker's Guide to the Galaxy (in-universe)

The Hitchhiker's Guide to the Galaxy was a play that Romana II once chose to attend over A Midsummer Night's Dream. She called it a comparatively "much more useful play, and much funnier too". (PROSE: A Midsummer's Nightmare)

Professor Chronotis seemingly once replaced The Worshipful and Ancient Law of Gallifrey in the Panopticon Archives with a book, "an Earth classic by one of the greatest writers in that planet's history". Chronotis then went on to say "... terribly funny, terribly thoughtful, wish I could remember the name of it, something about thumbing a lift, and there were towels in it ... oh yes, of course, it's called The Hitch—" before being interrupted. (PROSE: Shada)

In the TARDIS library, Chris Cwej found a twentieth-century paperback that used the phrase "Mostly Harmless". This struck him as a good summation of how the Seventh Doctor and Roz Forrester had thought of him early in their travels, before they got to know him. Cwej was unsure whether the book had been fiction or non-fiction. (PROSE: Damaged Goods)

Behind the scenes
Lines and characters from Hitchhiker's have appeared in Doctor Who, often with the intent that the two franchises share a universe.
 * Etheric Beam Locators were mentioned to be part if the guidance system of the Vogon Constructor Fleet in Hitchhiker's. The locators originated in TV: Genesis of the Daleks.
 * The Fourth Doctor used the phrase "don't panic!", a quote synonymous with Hitchiker's. Both Madranite one-five and Qualactin are also mentioned. (TV: The Pirate Planet)
 * The Fourth Doctor read Origins of the Universe by Oolon Colluphid, laughing at the inaccuracies. The Doctor later mentioned Betelgeuse. (TV: Destiny of the Daleks)
 * Betelgeuse was later mentioned in PROSE: Managra, Shada, Lords of the Storm, COMIC: Death Disco, AUDIO: Retail Therapy, and The Grand Betelgeuse Hotel.
 * When the Fourth Doctor spoke to the Hornets, he mentioned the Vogons, another species name in Hitchhiker's. (AUDIO: A Sting in the Tale)
 * The Seventh Doctor once asked, rhetorically, who had said that "Earthmen rarely invite their ancestors to dinner", which came from the series. (TV: Ghost Light) The Master asks a near identical question, albeit with different wording when attempting to recover his TARDIS alongside River Song on Cheska Minor. (AUDIO: Animal Instinct)
 * The Eighth Doctor owned an Altairian dollar. (AUDIO: Storm Warning)
 * A Nutri-Matic Drink Synthesizer was visible in St Cedd's College. Later, Arthur Dent and Zaphod Beeblebrox were seen imprisoned in Shada. (WC: Shada)
 * The Tenth Doctor, while on the Sycorax spaceship in 2006, mentioned Arthur Dent and said that he was a "nice man". (TV: The Christmas Invasion)
 * On the website "Who is Doctor Who", Arthur Dent spoke out about how presumably the Ninth Doctor (the exact incarnation isn't specified) had once laid down in front of a bulldozer in front of his house, calling him 'rather odd'.
 * In the novelisation, more detail is given about Dent and the Doctor, revealing that the Doctor remained uninterested in killing Vogons and that he had spent time in college with Ford Prefect, implying that he was a pupil at the Prydonian Academy.
 * The number 42, which in the Hitchhiker's series was the answer to the question of life, the universe, and everything, was one of the numbers the Tenth Doctor guessed when trying to find out the security protocol for the Host. (TV: Voyage of the Damned)
 * Once, a spaceship was described as a Lazlar Lyricon custom job. (AUDIO: Max Warp)
 * This is how one of the spaceships in the Milliways car park in episode 5 of HHGG was described.
 * The Second Doctor, Zoe Heriot, and Jamie McCrimmon once stood outside the "Babel Fish Aquarium". (COMIC: Bazaar Adventures)
 * When the Doctor was pointing out species to Clara, one of the species were the Hooloovoo, a species name in Hitchhiker's. (TV: The Rings of Akhaten)
 * In Chris Parsons's room, two books were seen, Zaphod: My Stories and Hyperspace Bypass Planning Law. (TV: Shada)
 * Lakksis uses the phrase "Life, don't talk to me about life", often used by Marvin in the series. (PROSE: Wish You Were Here)

Real world connections
Hitchhiker's creator Douglas Adams wrote a number of Doctor Who serials and served as its script editor for Season 17. Consequently, lines from Hitchhiker's Guide (including the famous instruction "DON'T PANIC") found their way into TV: The Pirate Planet, while Hitchhiker's character Oolon Coluphid and Betelgeuse gets a mention in TV: Destiny of the Daleks, which Adams script-edited (the Doctor is seen reading one of Coluphid's books, Origins of the Universe). Another possible reference is the name of the planet Bandraginus V whose name closely resembles Santraginus V, a planet from Hitchhiker's. (TV:The Pirate Planet) The storyline of Adams', the third book in the " Hitchhiker's series, was based on a rejected Doctor Who script called Doctor Who and the Krikkitmen. (This was later novelised by James Goss.) Adams later reused the character of Professor Chronotis in his novel.

Because Paddy Kingsland did special sounds for both the Hitchhiker's Guide radio programme, and for The Sun Makers, there are sounds which are common to both productions. Notably, the sound of the Fourth Doctor fiddling with a combination lock in part 4 is the same as the sound heard in Hitchhiker's whenever the Guide itself was being consulted. (DCOM: The Sun Makers)

Just prior to becoming the Fifth Doctor, Peter Davison made a cameo appearance in the BBC's 1981 adaptation of the first book as the "Dish of the Day". His wife, Sandra Dickinson, played Trillian in the miniseries.

After Douglas Adams' death, Eoin Colfer was given permission by Adams' widow to write an additional novel in the series. This became And Another Thing.... Colfer later wrote PROSE: A Big Hand for the Doctor for the Puffin E-books range.

In 2021, Big Finish released an audio adaptation of The Doomsday Contract, an unproduced story by Adams' friend John Lloyd. Big Finish also released a trailer titled Tom Baker stars in John Lloyd's lost Doctor Who adventure, The Doomsday Contract to promote the audio, styled as an homage to The Hitchhiker's Guide to the Galaxy TV series due to Adams' involvement in the story's production.

Metafictional parallels and references

 * The plot of TV: Voyage of the Damned is similar (but not identical) to that of, a video game authored by Adams which was published in 1998. Both feature a large luxury spaceship/cruiseliner named "Titanic" which goes out of control and whose computers must be manipulated to fix the ship. The video game was based on a brief mention of the ship in the first Guide book, which was unable to send out its first and only message - an S.O.S. - during its launch before suffering a "total existence failure".
 * TV: 42 shares its title with the, as revealed in Adams' . As with the spaceship stolen by Arthur Dent and friends in , the ship in 42 is on its way to crashing into a star, leaving its passengers with no escape.
 * The reference to Oolon Coluphid has raised speculation as to whether the Doctor Who universe and that of the Hitchhiker's Guide are one and the same. Another matter blurring the lines between the Hitchhiker's universe and the Whoniverse is Arthur Dent, who appeared in WC: Shada as a background character, and in TV: The Christmas Invasion, where the Tenth Doctor references Arthur, with the seemng intent that the Tenth Doctor personally knows Arthur. Also, it is mentioned in Doctor Who (though not proven or brought up further in any later episode) that humans may have evolved from an extraterrestrial species. (TV: Image of the Fendahl) This might have some relation to the idea of humans being descended from Golgafrinchans in Hitchhiker's Guide.
 * Perhaps by a coincidence, the scene in the third book of the quintilogy (later adapted into a radio script of the same name) Life, the Universe, and Everything, in which Arthur Dent and Ford Prefect, materialise in Lord's Cricket Ground, is similar to a scene in The Daleks' Master Plan in which the First Doctor materialised his TARDIS at the Oval.
 * On the second DVD disc of The Hitchhiker's Guide to the Galaxy TV series, a TARDIS in policebox form can be seen tracking the ship upon which Arthur is getting a lift, during the opening credits of the 'The Making of...' documentary. The ship is the Liberator from 'Blakes 7', a BBC TV programme made between 1978 - 1981 and sharing many cast and crew with 'Doctor Who'.
 * As highlighted by the BBC official Doctor Who website, there is a copy of The Hitchhiker's Guide to the Galaxy in the Library as seen in Silence in the Library.
 * When Adams' unfinished television story Shada was remade by Big Finish Productions, writer/producer Gary Russell introduced a few references to the Hitchhiker's series as a tribute. These included making the car which Skagra steals into a (and its owner the treasurer of the Ford Prefect Appreciation Society).
 * The sixth book in the Hitchhiker's series, And Another Thing... (written by Eoin Colfer with permission from Adams' widow Jane Belson), features Arthur Dent being reminded of watching the special effects of early Doctor Who as he watches the Earth being destroyed from a porthole on the Heart of Gold.