Introduced into the plot in The Invasion of Time, K9 Mark II first actually appear on-screen in The Ribos Operation (1978). More mobile than his predecessor, Mark II exhibited the ability to sense and warn others of danger. He travels as a companion alongside the Doctor and Romana. Around the time of Romana's regeneration (the transition from actress Mary Tamm to Lalla Ward), the K9 character was explained as suffering from "laryngitis" to accommodate Leeson's departure from the series at the start of the 1979–80 season; for this time, he was portrayed by David Brierley, until Leeson's return for the 1980–81 season. When the Doctor and Romana travel to the parallel universe of E-Space, K9 is severely damaged, in Warriors' Gate (1981). The damage was such that K9 could only function in E-Space; when Romana decided to stay and forge her own path, the Doctor gave K9 to her. The character makes subsequent appearances in remakes of the unfinished serial Shada, alongside the Eighth Doctor (Paul McGann); the 2003 Shada audio play and webcast depict K9 Mark II as having returned to Gallifrey with Romana, now Lady President of the Time Lords, where the Doctor visits them. It is not clear if either of these audio appearances are considered canonical in relation to the continuity of the TV series.
He usually did not engage in computer-like literal thinking, though on one occasion he followed Romana's instructions to "forget it" to the letter and erased all knowledge of tennis from his memory banks. (TV: The Stones of Blood) In another he took Romana's exclamation "Blast it!" as a command, and fired his blaster. (TV: Shada, WC: Shada, AUDIO: Shada, PROSE: Shada). Despite this, he occasionally showed a sense of humour, jokingly answering the question "What do you eat?" with "Ball bearings" (AUDIO: The Beast of Kravenos).
Damaged by the time winds, K9 Mark II could not cross back into N-Space with the Doctor. He decided to stay behind at the Gateway with Romana II to help her free the remaining Tharils from slavery. (TV: Warriors' Gate) Eventually, Romana II and the presumably repaired K9 returned to their own universe and K9 Mark II came to live on Gallifrey. (PROSE: Lungbarrow, WC: Shada, AUDIO: Zagreus)
The Fourth Doctor and K9 Mark II spent an indeterminate period of time together. However, the Doctor appeared to be activating K9 Mark II, implying that no significant time had elapsed since leaving Gallifrey. (TV: The Ribos Operation) It is possible that the Doctor spent some time at Nest Cottage before activating him. (AUDIO: The Stuff of Nightmares)
In 1990, an unspecified K9 unit appeared with Sylvester McCoy as the Seventh Doctor and Sophie Aldred as Ace in an episode of the children's education programme Search Out Science entitled Search Out Space, which was included as an extra on the release of the Doctor Who story Survival by the BBC. Another unspecified K9 unit also appeared in the 1993 charity special Dimensions in Time. In the 1998 computer game Fallout 2, the Navarro base has a damaged robot dog known as K9, which uses similar speech mannerisms to the Infobox Doctor Who character. If repaired, the cyberdog is willing to join the character's party as a companion. In the 1999 television series Queer as Folk (written by future Doctor Who executive producer Russell T Davies), a K9 model is given to the character Vince as a birthday present. The prop used was an original, operated — as occasionally in Doctor Who — by visual effects assistant Mat Irvine. In the second series of I'm Alan Partridge (2002), the character of Alan Partridge recalls how his purchase of the rights to K9 contributed to his mental breakdown and driving to Dundee in his bare feet while gorging on Toblerone. In the South Park episode "Go God Go XII" (2006), Eric Cartman, being trapped in the year 2546, has acquired a robot dog called "K-10", a parody of K9. Due to timeline alterations, he is replaced by robot cat "Kit-9" and later robot bird, "Cocka-3". K9 appeared on a special Doctor Who-themed edition of The Weakest Link in 2007, but was voted out unanimously at the end of the first round, despite answering his question correctly. This was due to the fact every single player of the team answered correctly and banked the £5,000 target, and that the producers told the contestants to vote him off, just in case he broke down. Anne Robinson (whom K9 addressed as "Mistress") said "I'm so sorry" before declaring him the weakest link.
Before this, the Doctor obtained or constructed at least one backup model of K9. Immediately after leaving Mark I behind with Leela, he unpacked K9 Mark II. This version of K9 accompanied the Doctor and his new companion on their quest to locate the segments of the Key to Time, (TV: The Ribos Operation) but the swampy terrain of Delta III made it impossible for him to join them on the planet. At the conclusion of the quest, the Shadow turned K9 to his evil will, giving K9 a sinister personality. (TV: The Armageddon Factor)
During training at Master Dog Training, a K9 officer will better understand his or her dog, and the police dog will flawlessly perform its duties. During work and practice, the handler will be able to improve his or her dog’s performance, rather than ruin it by doing something incorrectly. For a K9 Police officer, we will solve any behavior problems that the dog might be displaying, and will teach the handler how to correct these problems during work. During the K9 police test, we will be teaching how to properly pass it through all the different disciplines.
Although the first incarnation of K9 does not appear again in televised Doctor Who media, he is the star of the 2009 K9 television series, in which he undergoes a sort of "regeneration" process from which a new, more sophisticated and futuristic K9 emerges; in the first series of K9, the character is transported to London c. 2050 by Professor Gryffen (Robert Moloney). Though on regeneration the character loses his memory of his adventures with the Doctor, he assists Gryffen and several teenage companions against a dystopian regime of "The Department". The upgraded K9 has new specifications, sporting a sophisticated head-up display, the ability to fly, and more powerful laser weapons.