If you want to be strict about it (and historians love to argue), the first known restaurants were in Kaifeng, China, around the 1100s. They had the menu, the payment system, and the takeout vibe.
But if you want the “modern” restaurant—with fancy tablecloths, private tables, and a wine list—it’s Paris in the 1780s. Both answers are right, like saying the first car was a Ford or a Benz. Just don’t try this debate at dinner.
And here’s a fun fact: the oldest known restaurant still in operation is Restaurante Botín in Madrid, Spain, open since 1725. It’s older than the United States. They’re famous for roast suckling pig. “Can I get that to go?” No, but you can sit where Hemingway once did.