The White House was locked down in a sudden security alert Monday after a man set off firecrackers outside the gates, hours after a gun massacre at a US naval base in Washington.

Secret Service spokesman Edwin Donovan confirmed to AFP that the man set off firecrackers, discounting some earlier reports that shots were fired, in a incident that scrambled security teams at the White House.