Ex-House Speaker John Boehner has dished about his Republican former pals in Congress, calling one “an idiot,” another “a terrorist” — and telling a lawmaker who was holding a 10-inch knife to his throat, “F–k you!,” according to a rollicking interview published Monday.

Boehner, 67, pulled no punches in the lengthy chat with Politico, in which he also revealed that he sicced New York Archbishop Timothy Dolan on Rep. Paul Ryan to use “Catholic guilt” to persuade the reluctant Ryan to succeed him as speaker.

An establishment Republican, Boehner lost his post and left Congress after the Tea Party targeted him in 2015 — and he saved some of his sharpest barbs for members of the far-right Freedom Caucus.

“He’s an idiot. I can’t tell you what makes him tick,” Boehner said of Freedom Caucus co-founder Rep. Mark Meadows of North Carolina.

Another co-founder, fellow Ohioan Rep. Jim Jordan, “was a terrorist as a legislator going back to his days in the Ohio House and Senate. A terrorist. A legislative terrorist,” Boehner said.

“They’re both a–holes,” he added of Jordan and former House Oversight Committee Chair Jason Chaffetz.

“F–k Jordan. F–k Chaffetz,” Boehner went on. “With Chaffetz, it’s always about Chaffetz.”

He delivered a similar message to Alaska Rep. Don Young after Young freaked out over Boehner’s razzing in the House chamber by holding a knife to his throat.

Young told Politico that account was “mostly true,” but added that the two later became good friends, with Boehner serving as his best man.

After Boehner gave up the speaker’s post, he wanted Ryan to replace him, but the Wisconsin Republican was reluctant.

So Boehner said he called Dolan, who agreed to call the congressman and pile on more of the “Catholic guilt” Boehner had already started.

Asked about the story, Ryan said he later “wanted to say, ‘You ass, you stuck me with this sh-t!’”

An archdiocese spokesman noted that Dolan and Ryan are pals from Dolan’s days in Milwaukee.

Boehner wasn’t very complimentary about the new speaker’s performance.

“So I get a text from 43 about a month ago, maybe six weeks ago,” Boehner said, referring to ex-President George W. Bush, the 43rd US president. “So 43 says, ‘Hey, are you talking to Ryan? Are you giving him advice?’ I said, ‘Yeah, if he calls I give him advice,’ ” Boehner said. “And he texts me back: ‘He needs to call you more.’ ”

Boehner didn’t have much nice to say about President Trump — calling out the administration’s “dysfunction.”

And Republicans overall didn’t fare any better.

“There is no Rep—. . . ,” he began, stopping himself. “There is. But what does it even mean? Donald Trump’s not a Republican. He’s not a Democrat. He’s a populist. He doesn’t have an ideological bone in his body.”

Asked who the party’s leader is, he replied, “There is nobody.”