Republican presidential candidate Marco Rubio has effectively ruled out granting legal status to undocumented immigrants if he makes it to the White House, even for a second term.

Pressed by conservative host Sean Hannity during a Monday night interview on Fox News, the Florida senator said he's open to a path to citizenship for people in the U.S. illegally, but only a decade or more after passage of bills to secure the border and modernize the legal immigration system.

"I don't think it's a decision you have to make on the front end. The first two things you have to do is stop illegal immigration, then second you have to modernize our legal immigration system, and then third you can have a debate about how to even legalize people to begin with," Rubio said. "And then ultimately in 10 or 12 years you could have a broader debate about how has this worked out and should we allow some of them to apply for green cards and eventually citizenship."