According to the director's commentary on the DVD, Earl was going to be a gym teacher and part-time cop. His profession was changed to a full-time cop only, but they kept the gym teacher's short shorts on him.
When Flint is explaining how the machine can turn water into any kind of food, Sam asks if Jell-O is possible. Flint says yes, and then asks if she likes peanut butter. Sam says she is extremely allergic to peanuts, which prompts Flint to say, "Oh yeah, me too!" In real life, Bill Hader is highly allergic to peanuts.
The island on which the town of Swallow Falls (later Chewandswallow) is located corresponds to the real-life geographic location of Bermuda. This is implied at the beginning when the island is said to be under the first "A" in Atlantic, as Bermuda is the only island in the West Atlantic north of the tropics. It is later confirmed on a weather map towards the climax of the movie, when the weather storm is clearly seen to originate several hundred miles of the coast of the Carolinas.
The directors originally wanted to get Electric Light Orchestra's title song from Xanadu (1980) to play under the end credits, but they couldn't find out who owned the rights. Miranda Cosgrove's "Raining Sunshine" was used instead.
This was the first Columbia Pictures/Sony Pictures Animation film to have an altered logo sequence. When the Columbia Pictures logo appears, a banana hits the Torch Lady and knocks her out of the image. During the Sony Pictures Animation logo sequence, dark clouds uncover the end of the logo.
In the scene where Flint tests the Food Replicator and the power goes out, the musical score stops. However, the tune Flint is humming as he leaves the lab to fix the circuit breaker is the melody of the musical score.
When Flint is in his lab "visualizing" with the 3-D holographic images, he's wearing glasses with red and blue lenses. The glasses are a nod to the original 3-D movies from the 1950s to the late 1990s which required glasses with red and blue lenses in order to make the 3-D effect. Nowadays, movies such as Cloudy with a Chance of Meatballs (2009) use a different form of 3-D technology that uses "polarized" rather than colored lenses.
After "The Reveal" Flint removes his hands and gets a good look at Sam. Then his eyes seem to get bigger because his pupils dilate. It has been proven by scientist that a person's eyes dilate by 45% when they see something they love, just proving the fact that Flint loves the nerdy side of Sam.
When the screen cuts away to the Cities Weather Forecast, several cities listed have anomalous weather readings. Some have extremely cold weather with a rain cloud next to them (if it were that cold, any precipitation would be snow), and some have mild temperatures with snowflakes next to them.
The trivia item below may give away important plot points.
As Flint is flying in his 'Flying Car 2,' giant gummy bears attack the vehicle and begin tampering with the wings. This is a reference to Star Wars: Revenge of the Sith (2005) when buzz droids do the same to Obi-Wan and Anakin's ships.