Donald Trump on Tuesday fired back at Supreme Court Justice Ruth Bader Ginsburg — demanding she apologize after lashing out at him, calling her remarks “a disgrace to the court.”

“I think it’s highly inappropriate that a United States Supreme Court judge gets involved in a political campaign, frankly,” Trump told The New York Times.

“I think it’s a disgrace to the court, and I think she should apologize to the court. I couldn’t believe it when I saw it.”

Ginsburg outraged Republicans and surprised even many of her fellow liberals when she twice slammed Trump as unfit to be president.

“I can’t imagine what this place would be — I can’t imagine what the country would be — with Donald Trump as our president,” Ginsburg said in remarks published over the weekend. “For the country, it could be four years. For the court, it could be — I don’t even want to contemplate that.”

On Monday, she doubled down on her critique of the presumptive GOP nominee, attacking him for not releasing his tax returns.

“He is a faker,” she told CNN.

“He has no consistency about him. He says whatever comes into his head at the moment. He really has an ego. How has he gotten away with not turning over his tax returns? The press seems to be very gentle with him on that,” she sniffed.

The Manhattan tycoon responded by saying he hoped the 83-year-old Ginsburg would abandon the bench soon — and predicted her remarks would backfire and energize his supporters.

“It’s so beneath the court for her to be making statements like that. It only energizes my base even more. And I would hope that she would get off the court as soon as possible,” he said.

Conservatives took to Twitter to bash the jurist, a leftist icon for her outspoken views.

“Appalling to see a Justice be so shamelessly biased. A stain on Court’s illustrious history,” wrote actor James Woods.

“Sorry, Justice Ginsburg, but those comments were waaaay over the line,” added Walter Olson, a blogger fellow at the Cato Institute

And Senate Majority Leader Mitch McConnell said it was “totally inappropriate” for Ginsburg to slime Donald Trump.

“It raises a level of skepticism that the American people have from time to time about just how objective the Supreme Court is, whether they’re over there to call the balls and strikes, or weigh in on one side or another,” he said.

Even Democrats, such as Howard Wolfson, a former top aide to Hillary Clinton and Mayor Bloomberg, also questioned her judgment.

“I ❤️ [heart] RBG but I don’t think our Supreme Court justices should be publicly offering their opinions about POTUS candidates,” he tweeted.

Ginsburg had jokingly suggest it was time to move to New Zealand if Trump won the White House — and social media wags were quick to wish her good riddance.