A debt ceiling deal required compromise. Now the hard part: Congressional approval.

It took President Biden and House Speaker Kevin McCarthy months to agree on a debt ceiling compromise. Now comes another challenge: Getting the pact through a divided Congress in a matter of days.

The concessions needed to get the deal done are already unpopular with certain members on both sides of the aisle, complicating efforts to squeeze legislation through the House and the Senate before the US runs out of money to pay its bills. That day could come as early as June 5.

The House, where Republicans have a 222-213 majority, is up first. McCarthy said the chamber will vote on the pact Wednesday, after having had 72 hours to review the specific legislation.

Before the legislation can come to a vote on the House floor, it has to pass through the House Rules Committee, which will hold a hearing at 3 p.m. on Tuesday to discuss the bill. Two hardliners on the committee — Representatives Ralph Norman (R-S.C.) and Chip Roy (R-Texas) — said they'll oppose the deal, but McCarthy said Monday he is not worried about the bill getting through the panel.

Norman and Roy are among at least six Republicans that have already made it clear they intend to vote no if the legislation hits the House floor. Another, Rep. Dan Bishop of North Carolina, even tweeted a vomit emoji over the weekend to show his distaste. Rep. Norman tweeted that the deal was "insanity," while Rep. Roy called it a "turd-sandwich."

'I feel very good about it'

Some progressive Democrats are also not happy with certain provisions, including stronger work requirements for food-stamp recipients. Rep. Ro Khanna (D-Calif.), a House Progressive Caucus member, told NBC News Sunday that he was undecided and that "my sense is a large majority of the House Democratic Caucus is in flux as to where they’re going to be on this."

Biden said Monday that he had been calling Democratic lawmakers to ask for their support and that there was "no reason" it couldn't get passed by June 5.

"I feel very good about it," the president said. "I'm confident that we'll get a vote in both Houses."