They screwed the Mooch.

Anthony Scaramucci — who served as White House communications director for 10 days — is on a list of people who are blocked from entering the White House without special approval.

A White House official confirmed on Friday that Scaramucci was among a list of former officials who are excluded from entering the grounds, according to Bloomberg Politics.

Scaramucci is among a list of ousted staffers who left the executive branch “under adverse circumstances” and has been placed on an “administrative exclusion list,” the White House told the news organization.

The “excluded” staffers need to make appointments — which are then evaluated on a case-by-case basis.

The information comes to light as Scaramucci has gone on a crusade against White House chief of staff John Kelly, calling him “General Jackass.”

Scaramucci joked on Twitter that he’ll “visit the Smithsonsian” in D.C. now that his White House privileges have been restricted.