Sen. John McCain (R-Ariz.) speaks during a hearing about border security by the Senate Homeland Security and Governmental Affairs Committee on Capitol Hill in Washington July 9, 2014. (REUTERS/Joshua Roberts)

Sen. John McCain (R-Ariz.) said Thursday that he disagrees with Sarah Palin’s calls for impeaching President Obama.

“I respect always Sarah Palin’s views, but my particular view is that we should devote our energies to regaining the majority in the Senate,” McCain said in response to a reporter’s question. “I saw the impeachment scenario with former President Clinton and it was not a good thing to do. The American people didn’t like it. The American people wanted us to do their work and that was overall opinion at the time. It did not sit well with the American people.”

McCain said it would be a mistake to try impeach Obama “because the real answer is to get control of the United States Senate and then we can enact legislation which would curb exactly what Sarah Palin and others want to impeach him for. You’re never going to get 67 votes in the United States Senate either.”

Palin, who was McCain's vice presidential running mate in the 2008 presidential campaign, wrote a op-ed earlier this week calling for Obama's impeachment. She has also  suggested that House Speaker John A. Boehner's forthcoming lawsuit against the administration over claims of executive isn't forceful enough.

"You don't bring a lawsuit to a gunfight," she told Fox News on Tuesday. "There's no place for lawyers on the front lines."

Boehner, like McCain, disagrees with Palin about impeaching Obama.