The US on Monday updated its warning for American citizens planning to travel to Saudi Arabia, less than two weeks before President Barack Obama is due there.
While maintaining a public show of unity with Washington, Saudi officials are privately angry about what they perceive as Obama's outreach to their foe Iran.
And he has been criticised at home and in the Middle East for his reluctance to take tough action against Syria's Bashar Al Assad, allowing Russia to seize the initiative.
Saudi Arabia also faces domestic threats – and spillover from its war in neighbouring Yemen – as was reflected in the updated State Department travel warning.
"The Department of State urges US citizens to carefully consider the risks of traveling to Saudi Arabia," it said.
"There continue to be reports of threats against US citizens and other Westerners, as well as locations frequented by them."
The statement, which replaces an earlier warning issued in September last year, warns that both Al Qaeda and the Islamic State are planning attacks in the kingdom.
"Possible targets include housing compounds, hotels, restaurants, shopping areas, international schools and other facilities where Westerners congregate," it said.
"Multiple attacks on mosques, as well as places where members of the Shia-Muslim minority gather, have occurred in Saudi Arabia over the past year."
The warning says US officials are banned from going within 80km of the Yemen border and urges Americans to stick to hotels and housing compounds.