The King Fahd Causeway to Saudi Arabia is around 35 km from the airport, roughly 35 minutes.
Border formalities depend on your documents and are not included in the drive time.
Border crossing to Saudi Arabia; formalities are separate from the drive.
