A 21-year-old man has been charged over an alleged White House terror plot.

Hasher Jallal Taheb planned to blow a hole in Donald Trump's Washington D.C. residence with an anti-tank rocket then storming the building with guns and grenades, prosecutors said.

He had "hand-drawn diagram of ground floor of the West Wing", court documents show.

He allegedly planned to target other government buildings in Washington D.C., according to the Atlanta Journal Consititution.

Taheb, from Cumming, Georgia, was arrested in Gwinnett County and appeared briefly in federal court in downtown Atlanta on Wednesday in the case brought the FBI, Byung Pak, the U.S. attorney for the Northern District of Georgia, told reporers.

"His alleged intent was to attack the White House and other targets of opportunity in the Washington, D.C., area by using explosive devices, including an improvised explosive device, an anti-tank rocket," Pak said.

He is charged with intent to destroy by fire or explosives a building owned by the U.S.

Authorities said the suspect was acting alone and all threats have been neutralised.

A criminal complaint said around March 2018 a community member contacted law enforcement to say Taheb had become "radicalized."

On August 25, 2018, Taheb put his vehicle up for sale and an FBI informant showed interest in buying it.

Taheb later told the informant "he wished to conduct an attack in the United States against targets such as the White House and the Statue of Liberty," according to the complaint.

Taheb told the informant "jihad was the best deed in Islam and the peak of Islam," the complaint said.

At a December 2018 meeting with an undercover FBI agent, Taheb said he wanted to do as much damage as possible and he expected to become a "martyr." Taheb told the agent to acquire weapons and explosives for the White House attack.

Later that month he told the agent he also planned to attack the Washington Monument, the Lincoln Monument and a synagogue.

He wanted to use semi-automatic weapons, an "AT-4" anti-tank weapon and hand grenades, the complaint said. It said Taheb hoped to carry out the attack on or about January 17, together with the agent and the informant.

"He described his plan to use the AT-4 to blow a hole in the White House so that the group could enter," FBI Special Agent Tyler Krueger said in an affidavit. "His plan was to go in and take down as many (people) as they possibly could."

He was arrested on January 16 when he met another undercover agent to supposedly obtain weapons and explosives.