Shaaraim (Hebrew: She'arayim, שעריים), possibly meaning "Two Gates", is an Israelite city mentioned several times in the Hebrew Bible/Old Testament. The site is believed to be on a hilltop overlooking the Elah Valley in the Judean hills.
The city appears in the city list of Judah's tribal inheritance, after Socoh and Azekah (Jos 15, 36). After David killed Goliath, the Philistines ran away and were slain on the “road to She'arayim" (1 Sam 17:52). In the city list of the tribe of Simeon, She'arayim is mentioned as one of the cities "unto the reign of David" (1 Chr 4:31).
After excavating the site, Yossi Garfinkel of Hebrew University of Jerusalem and others believe that Khirbet Qeiyafa is She'arayim. Field work uncovered a wall that makes a nearly complete circuit with two gates. Garfinkel says it is the only contender for She'arayim as all other sites dated to the period have a single city gate. Carbon dating and the absence of pig bones strengthen the argument that Qeiyafa is She'aryaim and not a Canaanite fortress. 
Nadav Na'aman of Tel Aviv University doubts that Sha'arayim means "two gates" at all, citing multiple scholarly opinions that the suffix -ayim in ancient place names is not the dual suffix used for ordinary words. Na'aman proposes instead that the name means just "gate", perhaps "because it was located on the western border of Judah with Philistia, a place that was seen as the gateway to the kingdom of Judah."
- Julia Fridman, 'Crying King David: Are the ruins found in Israel really his palace? ,' at Haaretz, 26 August, 2013.
- Oldest Hebrew inscription' Discovered in Israelite Fort on Philistine border, Biblical Archaeology Review, March/April 2010, p. 52.
- Nadav Na'aman (2008). "Shaaraim — the gateway to the Kingdom of Judah" (PDF). Journal of Hebrew Scriptures. 8 (24).