The story begins with 16-year-old Terry Connor sat alone in a cavern 100 feet underground whilst on a potholing expedition. The senior Outward Bound instructor, Alex, has long since been missing in the depths of the cavernous subterranean pot named 'Wilmer Deep' after going to retrieve a torch which Terry had dropped earlier. When Alex returns he is strangely convinced that he has been away for ten minutes but Terry knows that Alex has been away for more than two hours. Alex believes that Terry has suffered hallucinations, which he says can be a side-effect of the confined darkness of a cavern. When they surface Terry believes he has seen man watching them, to which Alex again suggests it is an hallucination and that Terry is not cut out for potholing and so should not go on the big potholing expedition on which the rest of the students will be going the next day. Returning to the outward bound centre, Terry is subjected to much ribbing by his fellow students including the ring leader Jacko. Terry is convinced that the centre or the students at least, are being watched and when the others inform Terry that there is a Ministry Of Defence research establishment nearby he begins to feel increasingly uneasy. Another instructor at the centre, Gordon, becomes aware of Terry's concerns and tells him that he believes his story that Alex had gone missing for two hours but that he can't say much more than that. The following day, Terry is detailed to go on his own day and night solo trek above ground. However, eager to prove to himself that he is unafraid of the cave, Terry sets out to return to Wilmer Deep. First, he needs to obtain the key to the gate which covers the cave and that key is kept at Granny Powell's farmhouse. When Terry turns up there he is unexpectedly joined by Alex, who is accompanied Kurtz, the man Terry had seen spying on them the previous day. Strangely, Alex appears vague and seems to have no recollection of setting Terry the trekking task. Terry follows Alex and Kurtz and witnesses them performing a kidnapping. Terry rushes back to the centre to tell Gordon, who says he works for the security department within the Ministry of Defence and that he is investigating Alex, whom he believes is intending to endanger the life of a scientist in the nearby research unit using the Wilmer Deep pot as a cover to gain access to the research establishment. Gordon also informs Terry that the person who has been kidnapped is Dr Jensen, the only man who knows important strategic communication codes for a military space satellite to be launched shortly. Gordon takes Terry to a house to keep him safe from Alex and the kidnappers but the safe house turns out to be Granny Powell's farmhouse and, becoming increasingly uneasy about the consistency of Gordon's story, Terry manages to make his escape when Gordon's back is turned. On the run, Terry stumbles into a nearby farm ruin, which is housing both Dr Jensen and a rather confused Alex, who doesn't seem to remember him. Kurtz and the sinister Mr Richards find the three there and they lead Alex away and lock in Terry and Jensen. Alone in the barn, Jensen explains that Alex seems to have been hypnotised. Jensen also confirms that he knows the reason that he has been kidnapped and that reason is for the code that he alone knows - the Jensen Code. He tells Terry that Richards has already tried to hypnotise him but at the moment he has proved strong enough to repel Richard's strong mind control techniques. The following morning Terry is removed to the farmhouse where he is subjected to the powerful hypnosis performed by Richards. When Richards is called out to hunt down an escaped Jensen, Terry escapes to the safety of the police station but he remembers nothing, not even his name. Yet there is something nagging at the very back of his mind; in his confusion he believes there is something important he needs to remember but it just won't come to him. After a few days convalescence at home, Terry is still eager to find some answers to the nagging doubts which linger in his mind. He decides to return to the outward bound centre and accepts a lift from a vaguely familiar gentleman - called Dr Jensen. Thereafter the plot thickens and, at one point, Terry's life is left hanging in the balance.
The Jensen Code was written by Carey Harrison. It was directed by Alan Coleman and Jonathan Wright-Miller and produced by Alan Coleman. The caving scenes were filmed at Clearwell Caves. The series was originally made in colour but the original recordings have long since been wiped. One episode does, however, remain in colour although the soundtrack is damaged in places and both sound and vision cut off shortly before the end of the episode.