Plot
One night, two figures get into a fight at Wonder Wharf. A gunshot rings out and one of the figures falls.
Six years later, the Belcher family prepares for the summer: Bob and Linda plan to extend their loan from the bank, Tina plans to confess to her crush Jimmy Jr., Gene constructs an instrument to perform at Wonder Wharf's bandshell, and Louise wants to prove she is brave.
Bob and Linda are denied an extension on their loan and are told they have seven days to pay it or their restaurant equipment will get repossessed. They decide to ask their landlord, Mr. Calvin Fischoeder, if they can skip rent for the month until they pay the loan. However, after a sinkhole forms in front of the restaurant, a skeleton of a carnie named Cotton Candy Dan is discovered in it by the kids, and Mr. Fischoeder is charged for the murder. If he is convicted, they will not be able to get the rent skipped.
The Belcher children skip school in an attempt to investigate the murder themselves and clear Mr. Fischoeder of wrongdoing. After investigating Wonder Wharf's carnies, questioning police Sergeant Bosco, and searching the Fischoders' treehouse, they conclude that Mr. Fischoeder's brother Felix is the killer and tail him to Wonder Wharf, where they end up in a secret clubhouse underneath a ride called the Mole Hill. Calvin, Felix, and their cousin and family lawyer Grover are hiding out in the clubhouse until the two brothers can flee the country over the murder charge. Louise sees a photo that shows Grover wearing a cufflink that was found on the skeleton, and spots a faded bite mark on Grover's wrist, revealing that he was in fact the murderer. However, Grover realizes Louise is onto him, grabs a speargun from a shooting gallery and takes everyone hostage.
Meanwhile at the restaurant, Bob, Linda, and their family-friend Teddy prepare to sell burgers at Wonder Wharf using a food cart that Teddy builds to come up with the money for the loan and rent. They make a good amount of money, but after provoking the carnies, Bob and Linda run into the Mole Hill and fall into the secret clubhouse, where Grover takes them hostage as well, while Teddy escapes to the restaurant.
Grover reveals he killed Cotton Candy Dan to frame Calvin to get the family trust money, and that he plans to kill Calvin, Felix, and the Belchers before burning down Wonder Wharf with a lit fuse to build a "mega park" in its place. As he orders Calvin and Felix into a submersible to drown them, the Belchers flee in a microcar but are pursued by Grover, who buries them in the sinkhole. Though they are trapped inside the microcar, Bob manages to break a water main to launch it out, and they are freed by Teddy. The group returns to the Mole Hill, where Louise stops the fuse before it can spark a fire. Calvin and Felix are rescued from the submersible, while Grover is arrested. Later, at the end of the week, Calvin gives Bob and Linda money for the loan, Louise proves her bravery to a bully on the playground, Tina confesses to Jimmy Jr., and Gene's band performs at the bandshell.