But tickets to the taping have all been distributed, according to an email from Office of University Events.

Graduating seniors were given priority for tickets to both “Late Night” and the president’s speech in Carmichael Auditorium focusing on student interest rates earlier in the day on Tuesday. Seniors can only register for one or the other event. Tickets to the speech are still available.

This is Obama’s first appearance on “Late Night.” He became the first sitting president to appear on a late night talk show when he appeared on NBC’s “The Tonight Show” with Jay Leno in 2009. He has also appeared on CBS’s “Late Show with David Letterman,” as well as “The Daily Show with Jon Stewart,” “The Colbert Report,” and “Saturday Night Live.” Both “Saturday Night Live” and “Late Night” are produced by Lorne Michaels at NBC.

The taping will come after the president’s speech in Carmichael Auditorium which will focus on student interest rates. Obama will also travel to the University of Colorado at Boulder and the University of Iowa to discuss student interest rates, according to a White House press release.

Fallon announced the segment on his Twitter page Friday.

“So excited for this Tuesday! UNC, I’m coming with President@barackobama theroots & davematthewsbnd. #ObamaOnFallon,” he tweeted.

Fallon also tweeted a short video Saturday about the segment as he left Rome, Italy.

Fallon has hosted “Late Night” — which airs at 12:35 a.m. every weekday — since March 2, 2009. He took over the show after host Conan O’Brien moved to the earlier “Tonight Show” slot. O’Brien now hosts “Conan” on TBS.

The show usually tapes at 5:30 p.m. and airs later the same night, but it has not been announced if the taping at UNC will begin at the same time.

Dave Matthews Band along with “Late Night’s” house band The Roots will also be performing at the taping, which comes the day before UNC’s last day of classes.