A Saudi police officer has been shot dead in the Makkah region, the interior ministry said on Friday, after four suspected jihadists died during a raid in the same area.

Corporal Khalaf al-Harithi was on duty at a station in the western region on Thursday evening when he was hit by gunfire from an unknown source, the ministry said in a statement.

An investigation is under way into the incident.

It occurred several hours after officers shot dead two "terrorists" during an exchange of fire at their hideout between the holy city of Makkah and the mountain resort of Taif, about 80 kilometres to the east, according to the ministry.

Two other suspects killed themselves by detonating suicide belts, it said.

A simultaneous raid occurred on a hideout in the Red Sea city of Jeddah, where two people were arrested.

Since late 2014 the Islamic State group has claimed deadly bombing and shooting attacks against the kingdom's Shia community, and members of the security forces.

Related Story