K9 was a popular enough character to warrant an attempt to spin him off into his own series. In addition to K9 dolls, there were also talking K9 toys produced by Palitoy, the speech provided by a miniature record inside the body of the toy. John Leeson provided the voice for K9 in all its appearances, except for Season 17 (which included the unfinished Shada) when it was voiced by David Brierley. When Shada was remade by Big Finish Productions, Leeson provided its voice.
When being imprisoned by the Sporraxx they tried to access K9's memory core. Memories that K9 had assumed to be erased were slowly coming back and the Sporraxx got to know more and more about K9's past. They reprogrammed K9 to protect a small spherical marauder bomb, that would destroy Earth. However K9 was able to break free of their control, because deep in his memories a sense of right and wrong prevailed. He took the bomb back into the Sporraxx space ship where it exploded. (COMIC: Short Circuit)
Having left K9 Mark III to Sarah Jane (TV: A Girl's Best Friend) following their travels with Adric in his fourth incarnation, (PROSE: Just a Small Problem) the Doctor eventually built K9 Mark IV. The Eighth Doctor mentioned Mark IV when he met Sarah Jane in 1996. He indicated that the effort in constructing Mark III was "nothing" in comparison to Mark IV. (PROSE: Interference - Book Two)
While caught up in a Time war between the past and the future on the planet Aoris, K9 was forced to spend a thousand years hidden on the planet, setting himself up as 'the great Machina' so that he could found a cult that would aid the Doctor and Romana in bringing the war to an end, hiding behind a fake computer with a version of the TARDIS until he could return to the Doctor and Romana once the war ended (AUDIO: The Paradox Planet, Legacy of Death).
A third model, K9 Mark III was evidently constructed by the Fourth Doctor; indeed, the Eighth Doctor did not dispute the presumption that he had built this K9. (PROSE: Interference - Book Tqo) Mark III travelled with the Fourth Doctor and Adric for a time. (PROSE: Inter-Galactic Cat) Eventually, however, he was shipped in 1978 to Sarah Jane Smith at the home she had shared with her Aunt Lavinia in South Croydon during her companionship of the Third and Fourth Doctors. (TV: A Girl's Best Friend) Since parting ways with the Doctor (TV: The Hand of Fear) however, Sarah Jane had already gone away and was travelling extensively. The following year, Lavinia purchased a manor house and market garden in Moreton Harwood, Gloucester, and took the still crated K9 with her. On 18 December 1981, Sarah Jane and her foster brother Brendan Richards arrived at Lavinia's home for Christmas, but Lavinia had left early for her lecture series in the United States. Sarah Jane opened the crate and received her new companion. (TV: A Girl's Best Friend)
During Romana's Presidency of Gallifrey, Leela became her bodyguard, and the two K9 units were forced to work together, not always amicably. After Matthias had replaced Romana as President, he nominated her to undertake a mission to find a cure for the Free Time virus, to be followed by exile. K9 opted to remain in the employ of Matthias, fighting the infection on Gallifrey. However, Braxiatel and K9 had planned another operation. Realising that the only cure to the virus was to end the regeneration capabilities of the Time Lords, Braxiatel used a Time Scoop to collect the Time Lord bio-data archive (along with K9). Romana was asked to decide whether to administer the cure or let Gallifrey die and rebuild it from scratch with the bio-data archive. (AUDIO: Gallifrey)
In 1985, a series of gamebooks featuring the Sixth Doctor were published by Severn House under the title Make your own adventure with Doctor Who in Britain and Find Your Fate — Doctor Who in the United States. These books were actually written by scriptwriters for the television series. Martin wrote Search for the Doctor which takes place in the mid-21st century and features K9 Mark IV being reunited with the Sixth Doctor long after Sarah's death.