The Democratic-led House rejected Rep. Alexandria Ocasio-Cortez-led efforts Friday to curb President Trump’s border crackdown.

Two amendments Ocasio-Cortez authored to a defense authorization bill failed to get enough support from her colleagues on the House floor Friday.

The Bronx Democrat, who has called for defunding ICE and disbanding the Department of Homeland Security, pushed an amendment to prohibit Trump from deploying troops on the southern border for immigration enforcement.

The House rejected her measure 179-241.

Ocasio-Cortez also sought to bar Trump from using funds to detain undocumented immigrants in Department of Defense facilities.

It failed by a 173-245 vote.

The lefty firebrand said she’s not yet giving up hope on undoing some of Trump’s immigration policies.

“We’re in a moment where immigration is a tough issue in a lot of communities and it’s unfortunate that in this go around we weren’t able to reverse some of the Trump-era rules,” Ocasio-Cortez told The Post.

“But the vote count itself was very encouraging … the next time we go around, it’s much more likely to pass,” she said.

Ocasio-Cortez’s measures were among more than 400 amendments the House considered to the National Defense Authorization Act.

The overarching bill — which passed the House Friday — would authorize $733 billion for fiscal year 2020 in military and defense spending and gives troops a 3.1 percent pay raise. The Senate already passed its version of the defense bill at $750 billion.

Ocasio-Cortez voted against the overarching bill, saying, “The (defense spending) increase was just a little too much for us to stomach.”