Security officers became suspicious of a man near the parking lot of Dr Suleiman Faqeeh Hospital, which is directly across from the US diplomatic mission.
When they moved in to investigate “he blew himself up with a suicide belt inside the hospital parking” at around 2:15 am (2315 GMT Sunday), the ministry said, adding that two security officers were lightly injured.
A picture carried by the Sabq online newspaper, which is close to authorities, appeared to show a large body part lying on the ground between a taxi and the open door of another car, peppered with shrapnel holes.
The blast happened shortly before the dawn prayers after which Muslims begin their daily fast during the holy month of Ramadan. Saudi state news channel Al-Ekhbaria said there was a mosque nearby.
The incident occurred on July 4, which is the American Independence Day holiday.
Investigators are trying to identify the culprit, the interior ministry added.
In Washington, a State Department spokesman, who declined to be named, said: “We are aware of reports of an explosion in Jeddah and working with Saudi authorities to collect more information.
“We can confirm that all personnel under chief-of-mission authority are accounted for at this time.”
Ramadan attack
There was no immediate word on who was responsible, but since late 2014 Saudi Arabian security officers and minority Shiites have been hit by deadly violence claimed by the Islamic State group.
In March last year the US embassy closed its main office, as well as consulates in Jeddah and Dhahran, for a few days over unspecified “security concerns”.
The interior ministry said four suspected jihadists died — two by blowing themselves up — during a raid east of Jeddah in May of this year.
One of the suspects was sought in connection with the suicide bombing of a mosque inside a Saudi special forces compound in the southwestern city of Abha last August. Fifteen people died.
He was also wanted over an October suicide blast that killed two at an Ismaili Shiite mosque in the southern city of Najran, and the February shooting of a retired security officer in the Jazan region.
Another suspect killed in the May raid was sought for suicide bombings at Shiite mosques that killed 25 people in May and June last year in the kingdom’s east.
Police said he was also involved in the November 2014 shooting of seven Shiite worshippers, which began the series of attacks allegedly linked to IS in the Sunni-dominated kingdom.
Abu Bakr al-Baghdadi, leader of the IS jihadists which have seized territory in Iraq and Syria, has reputedly called Saudi Arabia’s Sunni rulers “apostate tyrants” and called on Saudis to rise against them.
The Sunni extremist IS group also considers Shiites to be heretics.
Saudi Arabia has carried out air strikes as part of a US-led military coalition against IS in Iraq and Syria.