When he arrived at The Varsity diner, Obama greeted a group of school children wearing yellow T-shirts from Lenora Academy in Snellville, Georgia.
"Do you live in the White House?" one of the students asked.
"I do live in the White House. What have you guys been doing all summer?" Obama responded.
The children also pressed Obama on where his daughters Sasha and Malia were, CBS News reported.
Obama was on his way from the airport to a speech at the Westin Peachtree Plaza Hotel in Atlanta when he made the unexpected visit to The Varsity. According to the diner's website, the restaurant was established in 1928 and features chili cheese dogs, Frosted Orange and fried pie on the menu.
After Obama took a picture with the kids, he said he was moving on to order "some hot dogs."
Varsity employees and patrons crowded around the president, shaking his hand and asking for pictures, as he tried to place his order at the counter.
"You want a hot dog?" Obama asked.
Obama ordered five chili dogs, four regular dogs and one hamburger for White House press secretary Jay Carney, White House adviser Valerie Jarrett and others, according to pool reports.
The president walked around the diner, shaking hands with the restaurant-goers at their tables. Along the way, he met with Michael Evans, an Air Force ROTC cadet, who had just arrived from Maxwell Air Force Base, where he had just graduated from field training.
Evans, who stopped by the diner with his parents, took a picture with Obama. "I am very proud of you. Good luck to you," Obama said, according to reports.