The shootings took place late on Thursday near the Officer Candidate School at the Marine Corps Base in Quantico, and all three people who died were identified as Marines, Marines spokesman Sergeant Christopher Zahn said.
Zahn, who is based at Quantico, could give no details as to a motive for the shootings.
"The investigation is in the very early stages," he said.
"An isolated shooting incident has occurred at Officer Candidate School, Quantico," the base separately said on its Facebook page. "The suspect has been barricaded by law enforcement personnel."
The Facebook message told base residents to remain in their homes with their doors locked, until the lockdown was lifted early on Friday.
Golden Eagle Coins
Chameleon John Coupons