"Up All Night" is the name of the eleventh episode of the first season for the ABC series Modern Family. It premiered on ABC in the United States on January 6, 2010. The episode was written by co-creator Christopher Lloyd and directed by Michael Spiller. Gloria is less than pleased with Jay's reaction to the arrival of Javier, Manny's infamously unreliable dad. Meanwhile, Phil is suffering from kidney stones and his dramatics leave Claire no other choice but to call for the hot firemen to rush him to the hospital, and Mitchell and Cameron have a harder time than Lily as they attempt to sleep train her.
The episode was written by co-creator Christopher Lloyd becoming the third episode he had written and the first directed by Michael Spiller. The episode features the first appearence of Javier, Manny's original dad and Gloria's original husband who is played by Benjamin Bratt. The episode got a rating of 4.1/11 the biggest rating since the first episode and got positive reviews.
Gloria is less than pleased with Jay's reaction to the arrival of Javier, Manny's infamously unreliable dad. Gloria talks Jay into allowing Javier to stay the night after Javier shows up a day late to visit Manny. Javier calls in a favor and takes Manny and Jay to a baseball field at night. The next day, Javier shows up with motorcycles and says they're for Jay and him to ride. Gloria forces Manny to go to school and has a discussion with Jay that he is now being seduced by Javier's manner just as she was in the past. Jay denies it but waits by the phone for Javier.
Meanwhile, Phil is suffering from kidney stones. While suffering from the pain, Luke takes advantage to confess to breaking the glass coffee table which cost the Dunphy's their hired help when he blamed it on her. His dramatics leave Claire no other choice but to call for the hot firemen to rush him to the hospital. Claire dresses up, wearing a revealing top and tight jeans to look nice much to the dismay of Phil. Phil ends up in the hospital to have the stones removed. He plans on taking advantage of the guilt Claire feels for flirting with the firemen but they're ruined when she discovers the very attractive patients a couple of rooms down that he visited while in the hospital.
Mitchell and Cameron have a harder time than Lily as they attempt to sleep train her. Mitchell discovers Cameron cries all night listening to Lily cry and introducing Lily to Brian De Palma's Scarface. While Mitchell is trying to use the Ferber method of getting an infant to learn to sleep on their own, Cameron keeps running to the room - making Mitchell force him to return to their own bedroom. Mitchell comes home in the afternoon to keep Cameron from indulging Lily. They struggle a bit as Cameron goes to Lily's room - when Mitchell suggests they go to the hospital, Cameron starts thinking of the firemen and approves.
The episode wraps up with a reference to the opening bit - the kids have been told to act like adults and Alex remarks that if they're to act like the adults in their family, how hard could it be?
"Up All Night" was viewed by 10.244 million, competing primarily against reruns on the other networks. It ranked first in the timeslot and on ABC that night. As of its airing, it is the second most watched episode of the series after the pilot episode despite airing against CBS' People's Choice Awards, an annual ratings draw. The episode also made it into the top 30 debuting at #25 in its original American broadcast and came in 12th for the 18-49 rating. Robert Canning of IGN gave the episode 9/10 saying that "The three very separate storylines in Wednesday night's "Modern Family" had one important thing in common: hilarity", "Phil Dunphy stole the episode. Watching him suffer through the agony of a kidney stone ("Death is coming!") and over-exaggerate the possibility of his demise ("There is a scenario where you could be the man of the house, and you need to know all the PIN numbers and passwords") was painfully funny stuff", and "Modern Family still finds a way to pull everything together for a solid, funny half-hour."
Manny's unreliable dad comes home to buy as much of Manny's love while he can and ends up buying some of Jays. Mitchell and Cameron try to see how long the baby can keep crying at night. And Phil has a kidney stone.