The 32-year-old Manchester United defender uploaded the pictures onto his Twitter page, but he was left "baffled" after they were quickly removed.
When he realised what had happened, he joked that he had been targeted by spy Jack Bauer from television series 24.
The Manchester United squad visited the White House on Thursday as part of their pre-season tour of the States.
As they were shown around the iconic building, Ferdinand wrote: "Whoasome1 has got into my phone + taken down my pics off twitterthis is deep.is jack Bauer in Washington?!"
One of the removed photographs had been given the caption: "the security needs beefing up here at the White House!!," and the England defender later tweeted: "My pic of the security was £removed quick, rapido, sharpish, fastthey don't play here in DC.I feel like I'm on 24 right now £baffled."
Photographs of Ferdinand in the State Dining Room and his team-mates eating cookies were allowed to remain online.
But the issue was still on his mind the following day, as he wrote: "Training just done in DCfeels kinda weird.feel like I'm being watched by some undercover jack Bauer type dudes.phone hacked into etc."