The White House lockdown was lifted after Secret Service officers shot down a male suspect who allegedly opened fire on the complex Friday afternoon.
The man, who apparently brandished a weapon on a street outside the White House, was shot in the abdomen and rushed to a hospital, Xinhua quoted NBC News as saying.
The White House went into lockdown immediately after the shooting occurred in the afternoon, said police.
US President Barack Obama was on a golf outing at Andrews Air Force Base in Maryland when the shooting occurred, according to local media.
The US Park Police tweeted that the shooting occurred after 2 p.m. local time on West Executive Drive, near 17th and Pennsylvania Avenue NW.
Police had closed off a block-long stretch of 17th St and a helicopter was circling overhead.
“We are aware of the White House lockdown situation. I’ve been briefed by my public safety team [and] they are coordinating with federal partners,” Washington Mayor Muriel E. Bowser tweeted.