Cloudy with a Chance of Meatballs is a 2009 American animated science fiction comedy disaster film produced by Columbia Pictures and Sony Pictures Animation, and distributed by Sony Pictures Releasing. Loosely based on the 1978 children's book of the same name by Judi and Ron Barrett, the film was written for the screen and directed by Phil Lord and Christopher Miller (in their feature directorial debuts), and stars the voices of Bill Hader, Anna Faris, James Caan, Andy Samberg, Bruce Campbell, Mr. T, Benjamin Bratt, and Neil Patrick Harris. The film centers around an aspiring inventor named Flint Lockwood who develops, following a series of failed experiments, a machine that can convert water into food. After the machine gains sentience and begins to develop food storms, Flint must stop it in order to save the world.
 Cloudy with a Chance of Meatballs premiered at the Mann Village Theater in Los Angeles, California on September 12, 2009, and was released in the United States six days later on September 18, by Sony Pictures Releasing. It earned over $243 million worldwide on a budget of $100 million at the box office. The film received generally positive reviews from critics, who praised its colorful visuals, humor, characters, voice acting, and the score, while the simple character designs were said to be unfitting. The film has since been expanded into a franchise, with a sequel, Cloudy with a Chance of Meatballs 2, released on September 27, 2013, as well as an animated television series based on the film that premiered on Cartoon Network on February 20, 2017, with none of the original cast returning.
 Aspiring scientist Flint Lockwood lives in Swallow Falls, a tiny island in the middle of the Atlantic Ocean. Sardines are the base of Swallow Falls' economy, but the Baby Brent Sardines cannery has gone bankrupt due to worldwide dislike of sardines. One day, Flint invents the "Flint Lockwood Diatonic Super Mutating Dynamic Food Replicator" (FLDSMDFR), a machine that turns water into food, which ends up shorting out his house's electrical supply. Flint decides to power the machine by hooking it up to the large riser pole at the nearby power substation, sending it rocketing through town and destroying a park conceived by the town's mayor before ultimately shooting up into the sky. Afterwards, Flint meets Samantha "Sam" Sparks, a weather reporter intern whose big break was ruined by the incident. Brightly colored clouds then float over the town and begin to rain cheeseburgers, delighting the residents.
 Flint creates a communication device to send food orders to the machine, and Swallow Falls (now renamed Chewandswallow) becomes a successful "food tourism" destination. As Flint and Sam grow closer, and Sam opens up to Flint about her history of being bullied and the shame she feels about her nerdy demeanor, though Flint insists she's beautiful the way she is.
 As the townsfolk become greedier, Flint notices that the food is growing larger. Despite Flint's concerns that the food is starting to "over mutate", Mayor Shelbourne schemes to use the invention for his own personal gain. When a large tornado of spaghetti and meatballs ravages the town, Flint rushes to his lab to turn off the FLDSMDFR, but Shelbourne accidentally destroys the communication device after ordering a Vegas-style all-you-can-eat buffet. Now sentient, the FLDSMDFR creates a massive food storm that sends colossal food downpours to various cities and their landmarks.
 After gaining encouragement from his father Tim, Flint places the kill code in a USB flash drive, and builds a flying car to reach and destroy the FLDSMDFR, with the aid of Sam, her cameraman Manny, Flint's pet monkey Steve, and Brent McHale (namesake of the Baby Brent Sardines cannery). As they approach the machine in the sky, they find that it is now serving as the core of a giant meatball asteroid which it created. The machine sends living food to attack them which causes the flash drive to fly out the window. Flint calls Tim and orders him to email the kill code file to his phone. As Sam, Brent and Flint enter the meatball, they are accosted by living roast chickens, one of which Brent manages to take control of after it eats him.
 Back in Chewandswallow, a dam containing leftovers collapses, creating an avalanche of food that destroys the town. Tim manages to re-send the code to Flint's cell phone. Back in the meatball, while lowering Flint down a tunnel using rope, Sam gets cut by a piece of peanut brittle, causing an allergic reaction. Flint implores Brent to take Sam back to the plane and get her a shot, but she refuses to let Flint go. They confess their love for each other before Flint cuts the rope and plummets down. Sam and Brent make it back to the plane after Brent fights off the roast chickens.
 While scuffling with the machine, Flint discovers that Tim accidentally sent him the wrong file. However, he uses his Spray-On Shoes formula to stop the machine, causing it and the giant meatball to explode, though also seemingly killing him. With the machine destroyed, the food storms subside and everyone is able to return safely to Chewandswallow. Flint is revealed to have survived the explosion by letting go of the machine and falling down the blowhole at the last second before the explosion. Tim finally shows his appreciation for his son and his inventions, and Flint and Sam celebrate with a kiss. Out at sea Mayor Shelbourne who escaped from the food storm on a sandwich boat begins to sink after eating his boat.
 Voice actors in the film include:
 On May 9, 2003, a year after establishment, Sony Pictures Animation announced its first animated slate, including Cloudy with a Chance of Meatballs, a film adaptation of the book of the same name. The Brizzi brothers were brought to direct the film, with Wayne Rice adapting the screenplay. In 2006, it was reported that the film had been helmed by new directors and writers, Phil Lord and Christopher Miller. Lord and Miller said later that year that it would be a homage to, and a parody of, disaster films such as Twister, Armageddon, The Core, and The Day After Tomorrow.
 After a year working on the script, Lord and Christopher Miller were fired for story issues and replaced with new writers, who after a year were also fired. Lord and Miller were then re-hired in 2006. The two completely redid the script, this time with the creative input of their crew. The new draft had the protagonist as a failed inventor who wanted to prove himself to his town. The two were almost fired again after Amy Pascal, then-head of Sony Pictures, criticized the film for lack of story. Although the film succeeded on the comedic front in the animatic stage, Pascal cited the lack of an anchoring relationship in the film as a failure in the story telling. Unable to create new characters and environments to suit the new story demands, the two elevated the character of the tackle shop extra to be the protagonist's father, thereby creating the relationship Pascal had requested. The pair's experience on Cloudy taught them two valuable lessons: the power of creative collaboration and the importance of emotion in a story.
 On September 18, 2008, Variety announced that Bill Hader and Anna Faris had signed on to voice the two lead characters, with James Caan, Bruce Campbell, Mr. T, Andy Samberg, Neil Patrick Harris, Bobb'e J. Thompson, Benjamin Bratt, Al Roker, Lauren Graham, and Will Forte also in the voice cast.
 Cloudy with a Chance of Meatballs is the second film after Monster House that was made using the animation-rendering software Arnold. Justin K. Thompson served as production designer.
 Cloudy with a Chance of Meatballs is the soundtrack to the film of the same name, released under Sony Pictures Entertainment on September 15, 2009. The music of the film and this album are both credited to be composed and produced by American composer Mark Mothersbaugh of Devo and for "Rugrats". "Raining Sunshine", performed by Miranda Cosgrove, was released as a promotional single on August 24, 2009.
 All music is composed by Mark Mothersbaugh, except where noted Cloudy with a Chance of Meatballs premiered on September 12, 2009, at the Mann Village Theatre in Los Angeles, California. The film had its wide release on September 18, 2009, along with a digitally re-mastered release to IMAX 3D theatres.
 The film was released on DVD, Blu-ray Disc, and PSP UMD on January 5, 2010 in the United States and Canada. A 3D Blu-ray was released on June 22, 2010. It was the first 3D Blu-ray sold individually in the United States.
 In April 2021, Sony signed a deal with Disney giving them access to their legacy content, including Cloudy with a Chance of Meatballs and its sequel to stream on Disney+ and Hulu and appear on Disney's linear television networks. Disney's access to Sony's titles would come following their availability on Netflix.
 In August 2009, Insight Editions published a companion book to the film called The Art and Making of Cloudy with a Chance of Meatballs.
 On Rotten Tomatoes, the film has a "Certified Fresh" rating of 86% based on 142 reviews with an average rating of 7.3/10. The consensus statement reads, "Quirky humor, plucky characters and solid slapstick make this family comedy a frenetically tasty time at the movies." On Metacritic it has a weighted average score of 66 out of 100, based on 24 reviews, indicating "generally favorable reviews". Audiences polled by CinemaScore gave the film an average grade of "A−" on an A+ to F scale.
 Ernest Hardy of LA Weekly stated the film "is smart, insightful on a host of relationship dynamics, and filled with fast-paced action". Hardy also applauded the 3-D effects which "are wonderful, full of witty sight gags that play out both center-screen and on the periphery". Michael Phillips of the Chicago Tribune gave the film a mixed review stating that "Crazy doesn't always equal funny, and the gigantism of this 3-D offering's second half puts a damper on your enjoyment. But look: This film wasn't made for you, or me. It was made for dangerously, easily distracted 9-year-olds." Kyle Smith of the New York Post gave the film two stars stating that the animated film "greatly expands on the kids' book on which it's based in a clever and engaging first half. But the second half leaves a foul aftertaste."
 Cloudy with a Chance of Meatballs earned a total of $243 million on a reported budget of $100 million. Of the gross, 51%, or $124,870,275, came from the domestic market, while the rest, $118,135,851, from other territories. For the film's marketing, Sony spent $43.3 million in the United States, and $26 million in other countries.[citation needed] The film earned $8,137,358 on its opening Friday, and ranked #1 at the box office with a total of $30.3 million for the first weekend. On its second weekend, it remained at #1 with a decrease of only 17%.
 A sequel, titled Cloudy with a Chance of Meatballs 2, was released on September 27, 2013. Directed by Cody Cameron and Kris Pearn, and it is based on an original idea, where Flint and his friends must again save the world from his food machine, which survived the explosion in the prequel. This time, the machine gains the ability to produce living food beasts. Most of the main cast reprised their roles, but Earl, the town cop, is now voiced by Terry Crews since Mr. T declined to reprise the role. New cast also includes Kristen Schaal as orangutan Barb, and Will Forte in his new role of Chester V.
 On October 9, 2014, DHX Media announced that it will develop and produce a television series based on the film franchise, titled Cloudy with a Chance of Meatballs: The Series. The series will be traditionally animated and will consist of twenty-six 22-minute episodes. It will take place before the first film, showing Flint Lockwood as a high school student who dreams of becoming a serious scientist. In his adventures, he will be joined by Sam Sparks, a new girl in town and the school's "wannabe" reporter, along with Flint's dad Tim, Steve the Monkey, Manny as the head of the school's audiovisual club, Earl as a school gym teacher, Brent as a baby wear model, and mayor Shelbourne. DHX Media will handle the global television and non-US home entertainment distribution, along with worldwide merchandising rights, while Sony will distribute home entertainment in the US. Commissioned by Teletoon in Canada, the series will air on Cartoon Network in the United States, and on the Boomerang channel in other territories. None of the original cast returned for the show and were replaced by Canadian voice actors.