Leno shared some stories from his Tonight Show days and paid some compliments to his fellow host.
"You’ve been a good friend to me," he told Ferguson. "You always were fair, you didn’t join the late night talk show snippy club."
"You know what, we were going to go out for a steak," Ferguson joked. "I became a f***ing vegetarian man, it’s too late!"
The host also revealed the truth behind (technically, inside) fan-favorite pantomime horse Secretariat, who has appeared on the show frequently since the horse's namesake film was released in 2010.
The show ended with a parody of several iconic TV series finales, including Newhart, The Sopranos and St. Elsewhere. Drew Carey, who played Ferguson's employee on The Drew Carey Show, even stopped by to join in the fun.
"I wanted to do this show, and now we've done this show, and if you will indulge me in whatever I am doing now and come to whatever I do next, I'd be very grateful," Ferguson thanked his fans, adding cheekily, "because my kids are still young."
Ferguson’s replacement behind the Late Late Show desk will be Into the Woods star James Corden. He passed the torch to Corden on the show earlier this week. See more in the video below.