At least four members of the Saudi national guard were also killed and several wounded when they clashed with the gunmen, police said.
"At least four national guardsmen were killed when they clashed with the gunmen who stormed the consulate. Several others were wounded," a police officer at the scene said.
US officials said all Americans at the consulate were safe and accounted for, although one source said two non-American staff members were wounded.
"I can confirm that two locally-engaged staff members have been injured," Carol Kalin, spokesperson at the US embassy in the capital Riyadh, told AFP.
The embassy was still in the process of confirming the status of the rest of local staff members, she added, while reiterating that all American diplomats were accounted for.