Former House Speaker Nancy Pelosi (D-Calif.) was ordered to “immediately” vacate her Capitol hideaway office by Wednesday as she slammed acting Speaker Patrick McHenry’s decision as a “sharp departure from tradition.”

An email sent to Pelosi’s office on Tuesday said the “room will be re-keyed” and reassigned for “speaker use,” Politico first reported.

A spokeswoman for Rep. Steny Hoyer (D-Md.) told The Post that the former House majority leader had also been asked to vacate his Capitol hideaway office.

The move came just hours after McHenry was named House speaker pro tempore following the ouster of Kevin McCarthy (R-Calif.) in a historic vote Tuesday. 

“With all of the important decisions that the new Republican Leadership must address, which we are all eagerly awaiting, one of the first actions taken by the new Speaker Pro Tempore was to order me to immediately vacate my office in the Capitol,” Pelosi said in a statement, referring to McHenry (R-NC).

Pelosi had two separate stints as speaker of the House, first from 2007 to 2011 and then again from 2019 to 2023.

“This eviction is a sharp departure from tradition. As Speaker, I gave former Speaker [Dennis] Hastert a significantly larger suite of offices for as long as he wished.” 

Pelosi said she is in California, where she is mourning the death of Sen. Dianne Feinstein, and is unable to retrieve her belongings from the office.

Feinstein died Friday at age 90 following a series of health problems.

Feinstein’s body will lie in state at San Francisco City Hall on Wednesday, while Pelosi is expected to speak at a memorial service outside City Hall on Thursday.

House Minority Leader Hakeem Jeffries’ (D-NY) staffers helped clean out Pelosi’s office late Tuesday, the outlet reported.

A television and bags were seen outside the office before they were hauled away.

“Office space doesn’t matter to me, but it seems to be important to them,” Pelosi added. “Now that the new Republican Leadership has settled this important matter, let’s hope they get to work on what’s truly important for the American people.”

McCarthy ousted as speaker — now what?

Rep. Kevin McCarthy (R-Calif.) was removed as speaker of the House after a historic vote led by Rep. Matt Gaetz (R-Fla.).

Rep. Patrick McHenry (R-NC) has been appointed temporary speaker until a new speaker can be elected.

The House has never removed and replaced a speaker before in its 234-year history.

Multiple reps have been floated as potential speakers, but it is unclear who will succeed McCarthy at this time.

Nancy Pelosi has been evicted from her Capitol Hill office by the interim speaker.

McCarthy blasted Gaetz in a defiant interview with reporters, slamming the Florida congressman as a fake conservative and calling his move “personal.”

Pelosi was absent when the House voted to remove McCarthy as House speaker in a vote driven by members of his own party.

Eight Republicans — Andy Biggs of Arizona, Ken Buck of Colorado, Tim Burchett of Tennessee, Eli Crane of Arizona, Matt Gaetz of Florida, Bob Good of Virginia, Nancy Mace of South Carolina and Matt Rosendale of Montana — joined 208 Democrats to remove McCarthy from power in a 216-210 vote.

House Majority Leader Steve Scalise (R-La.) is the early favorite to succeed McCarthy, who has said he will not run for the speakership again.