A host of stars joined Jon Stewart for the final show, including Bruce Springsteen.
There were also video messages from Secretary of State John Kerry and Republican Senator John McCain.
Jon Stewart took over the show in 1999 and established himself as one of the most influential satirists in the US and the voice of liberal America.
He is being replaced by the South African comedian Trevor Noah.
The Daily Show, broadcast on Comedy Central, has often been cited as a leading news source for young people, with an average audience of one million viewers.
In his final monologue, Jon Stewart thanked colleagues, fans and family.
“Nothing ends. It’s just a continuation. It’s a pause in the conversation,” he said.
“So rather than saying goodbye or good night, I’m just going to say I’m gonna go get a drink,” he said.
The Daily Show has also helped to launch several well-known comic performers, including Steve Carell and John Oliver, as well as Stephen Colbert who is to be David Letterman’s replacement on CBS’s Late Show.
The hashtag #JonVoyage was trending on Twitter as Jon Stewart bid farewell to the Daily Show, with famous fans paying tribute, including President Barack Obama.
However, for John McCain, it was a chance for a spot of gentle revenge. Jon Stewart had once mocked him using a puppet resembling the Republican senator.
Image source: Wikimedia Commons President-elect Donald Trump celebrated his election victory at the Ultimate Fighting…
Millions of voters across the US chose to return Donald Trump to the White House…
Donald Trump declares victory in the US election as he addresses jubilant supporters in Florida.…
Stocks around the world are rising as Donald Trump appears to be on the cusp…
Donald Trump has won Pennsylvania, North Carolina and Georgia and taken a lead over Kamala…
Quincy Jones, the celebrated musician and producer who worked with Michael Jackson, Frank Sinatra, Ray…