The king and Gina Haspel "discussed a number of topics of mutual interest", the official Saudi Press Agency said, without offering details.
The meeting in Riyadh was attended by a number of Saudi officials including Foreign Minister Prince Faisal bin Farhan and intelligence chief Khalid al-Humaidan.
Haspel's visit comes after a US court on Wednesday charged three people, including two Saudis, with spying on Twitter users critical of the kingdom's royal family.
A senior Saudi official, speaking on condition of anonymity, said that the kingdom had not yet looked at the criminal complaint.
"But what I can tell you is that we expect all our citizens to abide by the laws of the countries in which they live," the official told reporters in Washington.
Three charged in US with spying on Twitter users for Saudi Arabia
The trio - including two former Twitter employees - allegedly worked to unmask the ownership details behind dissident Twitter accounts on behalf of someone prosecutors designated "Royal Family Member-1".
The Washington Post reported the latter to be Crown Prince Mohammed bin Salman, the kingdom's de facto ruler.
Ties between firm allies Washington and Riyadh have been strained over the brutal murder last year of Saudi journalist Jamal Khashoggi.
A critic of Prince Mohammed, Khashoggi was killed and dismembered by Saudi agents inside the kingdom's consulate in Istanbul.
The CIA has reportedly concluded that the prince himself was closely linked to the murder, a charge vigorously denied by Riyadh.
The Saudi official said that President Donald Trump's administration was aware that "Saudi Arabia is taking steps to deal with this issue".
"I think people are recognising that a trial is underway, recognising that it was a mistake that should not have happened," he said of Khashoggi's killing.
COMMENTS (1)
Comments are moderated and generally will be posted if they are on-topic and not abusive.
For more information, please see our Comments FAQ