When Litwak's Arcade closes at night, the various video game characters leave their normal in-game roles and are free to travel to other games. Within the game Fix-It Felix, Jr., the characters celebrate its titular hero (Jack McBrayer) but shun the game's villain character, Wreck-It Ralph (John C. Reilly). At a support group for video game antagonists, Ralph reveals his desire to stop being the bad guy. Back at home, Ralph finds the other characters celebrating their game's 30th anniversary without inviting him. Felix reluctantly invites Ralph to join them, but the others led by Mayor Gene ostracize him, saying he would have to earn a medal, just as Felix does in their game.
At Tapper's, Ralph learns that he can win a medal in the first-person shooter game Hero's Duty from a dissilusioned fighter named Markowski. As the drunk Markowski passed out, Ralph takes his uniform instead and enters the game, encountering Sergeant Calhoun (Jane Lynch), its no-nonsense leader.
Between game sessions, Ralph climbs the game's central beacon and collects the medal, accidentally hatching a Cy-Bug, one of the game's enemies. The Cy-Bug clings to Ralph as he stumbles into an escape pod that launches him out of the game into Game Central. Meanwhile, with Ralph missing, a girl reports to Litwak the arcade owner that Fix-It Felix, Jr. is malfunctioning. Since broken games get unplugged, leaving their characters homeless, Felix with Q-bert's info goes to find Ralph before it's too late.
Ralph crash-lands in Sugar Rush, a candy-themed kart-racing game. With Cy-Bug getting swallowed by a swamp, as Ralph searches for his medal, he meets Vanellope von Schweetz (Sarah Silverman), a glitchy character who takes the medal and uses it to buy entry into a race. King Candy (Alan Tudyk) and the other racers refuse to let Vanellope participate, claiming that she is not really part of the game. Hovewer, as the coin is already paid, Vanellope has the chance to participate in the race slated for tomorrow.
Feeling sorry for her, Ralph helps Vanellope build a kart. At her home in Diet Cola Mountain, an unfinished racing course, he discovers that she is a natural racer.
Back in Hero's Duty, Felix meets Calhoun and informs her that Ralph has gone Turbo. She in turn warns that the Cy-Bugs are capable of taking over any game they enter. As the pair searches for Ralph and the Cy-Bug in Sugar Rush, they separate when Felix, enamored with Calhoun, inadvertently reminds her of her fiancé, who had been killed by a Cy-Bug in her backstory. Calhoun finds hundreds of Cy-Bug eggs underground, and Felix becomes imprisoned in King Candy's castle during his search for Ralph.
King Candy hacks the game's code to retrieve Ralph's medal and offers it to him, explaining that letting Vanellope race would be disastrous for both her and the game. Due to her glitching features, players will be mistaken that the game is faulty and thus causing it to be unplugged. All other characters will be able to leave the game except for Vanellope as she is unable to leave the game because she is a glitch.
Fearing for Vanellope's safety, Ralph wrecks the kart and returns to his own game, but finds that everyone has evacuated Fix-it Felix Jr game, expecting the game to be unplugged in the morning. Ralph then notices Vanellope's image on the Sugar Rush cabinet and realizes she is an intended part of the game, not a glitch.
Ralph returns to Sugar Rush, rescues Felix and Vanellope from King Candy's dungeon, and asks Felix to fix the wrecked kart. As the race proceeds, the hatched Cy-Bugs attack and Felix, Calhoun, and Ralph battle them. When Vanellope catches up to King Candy, he reveals that he is actually Turbo, a character from an old game who sabotaged a newer game out of jealousy, causing both to be unplugged. Vanellope escapes from Turbo, who is consumed by a Cy-Bug. The group flees the doomed game, but Vanellope finds she cannot pass through the exit. Calhoun says the game cannot be saved without a beacon to attract and kill the Cy-Bugs.
Ralph heads to Diet Cola Mountain, where he plans on collapsing its Mentos stalactites into the cola at the bottom, causing a blinding eruption that would attract the bugs. Before he can finish, Turbo, merged with the Cy-Bug that had consumed him, carries him away. Ralph breaks free and dives toward the mountain, intending to sacrifice himself to start the eruption on impact. Vanellope in turn uses her glitching abilities to save Ralph. The eruption starts and draws the Cy-Bugs to their destruction, including Turbo the Cy-Bug. Vanellope crosses the finish line, restoring her memory and status as Princess Vanellope, the game's ruler and lead character, while keeping her advantageous glitching ability. Felix and Ralph return to their game in time for Litwak to see that it still works, sparing it from being unplugged.
Calhoun and Felix marry in Hero's Duty (and Vanellope is now apparently able to leave her game, as she is present as the maid of honor at the wedding), and the characters of Fix-It Felix, Jr. gain a new respect for Ralph.
it is indeed a very nice movie, simple but refreshing. there are a lot of good positive messages put across here. for example, even though convention states that you are a bad guy, you yourself made who you really are. and should you have a weakness, let the weakness be your strength instead.
Ralph is really a good guy with a kind heart. to have him treated shabbily by niceland folks, kesian sangat.
all in all, it sure does bring back memories of playing pc games :) what's your favourite?