The film opens with a haunting flashback that reveals Vincent Van Ghoul and his partner Mortifer Quinch sealing the 13th Ghost inside the Chest of Demons. Mortifer is attacked by minion ghosts, and a tearful Van Ghoul makes a desperate, fearful escape. This prologue sets a somber tone for a tale that will blend old secrets with a new chase, hinting at a redemption arc that sits at the heart of the mystery.
In the opening credits, Van Ghoul calmly revisits the events of The 13 Ghosts of Scooby-Doo, recounting how Scooby-Doo accidentally unleashed the 13 Ghosts again but, with the aid of Shaggy Rogers, Daphne Blake, and the young Flim Flam, managed to trap all but one. This retrospective lines up the group’s long history with these supernatural threats and foreshadows how past adventures will echo through their current quest.
In the present, the gang—[Shaggy Rogers], [Scooby-Doo], [Daphne Blake], Fred Jones, and Velma Dinkley—gives chase to Farmer Morgan through a busy shopping mall, narrowly capturing him in Old Timey Toys. The moment they attempt to unmask him, the sheriff arrives with the real culprit, Mrs. Malveaux, who had been negotiating a deal with Morgan. The sheriff rebukes the teens for their reckless detective work, sternly warning them to steer clear of the Mystery Machine and reminding them of new dog-leash laws, signaling a turning point where the kids must temper their eagerness with responsibility.
The next day, a garage sale brings a cache of their past disguises and adventures, including their beloved Mystery Machine, which Fred mourns losing. A curious customer named Bernie Alan discovers a crystal ball hidden among the relics, sparking Shaggy and Scooby’s memories of the 13 Ghosts. Soon after, Van Ghoul reaches out to Daphne, Shaggy, and Scooby about the 13th and final Ghost, reigniting old alliances and setting the group back on the trail.
Daphne unveils her old 13 Ghosts outfit, revives her red Miss-tery Machine, and the team sets out toward Van Ghoul’s castle. On the road, they’re chased by a phantom car, a perilous wraith that Daphne deftly outmaneuvers. When Fred observes Daphne taking charge, his own sense of purpose wavers, triggering an existential moment about leadership and courage within the group. At Van Ghoul’s castle, they’re immediately attacked by the 13th Ghost, a winged demon named Asmodeus, and Shaggy sheepishly admits that he once sent the mysterious chest to Himalayas, a revelation that shifts the stakes and compels them to pursue a deeper truth.
The caravan continues to a Himalayan temple by a flying boat, where they find Bernie Alan once again, as he probes for the Chest of Demons with his own merchandise and ghost-catching plans. In the chaos, the phantom car returns and causes an avalanche as the group battles to stay together. Fred and Velma separately explore a seemingly abandoned post office in a nearby village, where they encounter Flim Flam as an adult peddling more supernatural artifacts. Their search is interrupted when something unseen grabs Velma, leaving the duo briefly unsettled and more determined to uncover the truth.
Back at the temple, Asmodeus has waited for Van Ghoul and pursues the four as they locate the Chest. Van Ghoul’s magic flickers, and he transports Shaggy, Scooby, and Daphne outside while Fred and Velma stay behind. A moment of levity lightens the mood as Fred reveals a surprising tidbit about his past—his time spent at a cheerleading school—before the group regroups with a renewed plan. Velma’s quick thinking helps them refocus, and Daphne crafts a bold scheme to reclaim control of the situation.
Velma infiltrates Flim Flam’s shop to retrieve what’s been taken, while the phantom car chases Fred, Velma, and Flim Flam, only to be thwarted by upgrades in the Miss-tery Machine. Meanwhile, Shaggy, Scooby, and Daphne sneak into the castle to rescue Van Ghoul, reuniting with Fred, Velma, and Flim Flam in a tense, high-stakes showdown. Scrappy’s fate is touched upon, leaving the gang momentarily puzzled before the truth about their past is confronted.
As the final confrontation unfolds, Asmodeus is unmasked as Mortifer, who admits he faked his own death with an illusion to fool Van Ghoul and to drum up a lucrative deal. Bernie Alan arrives and reveals himself to be an Interpol agent named [Vance Linklater], arresting Mortifer. Mortifer attempts a jailbreak via the phantom car but is quickly recaptured. A fleeting vision of the true Asmodeus/Asamad appears before the group, and Velma deduces that the real Asmodeus had, in fact, watched over Van Ghoul and earned redemption—though Velma chooses to present a different, comforting interpretation to give Van Ghoul closure and withhold the actual Chest’s opening.
With the crisis resolved, the gang prepares to return home. Daphne thanks Flim Flam with a kiss, and Van Ghoul warns him to stay out of trouble in the future. As they take to the skies aboard the reassembled Mystery Machine, Daphne reclaims leadership and returns it to Fred, signaling a renewed sense of partnership and purpose for the team. The story closes on a note of unity, memory, and a resolve to continue solving mysteries together, now wiser to the thin line between reality and the memories that haunt their past.