The castle was built in the early Umayyad period by the Umayyad caliph Walid I whose dominance of the region was rising at the time. Qasr Kharana is an important example of early Islamic art and architecture.
Scholarship has suggested that Qasr Kharana might have served a variety of defensive, agricultural and/or commercial agendas similar to other Umayyad palaces in greater Syria. Having a limited water supply it is probable that Qasr Kharana sustained only temporary usage and there are different theories concerning the function of the castle, it may have been a fortress, a meeting place for Bedouins (between themselves or with the Umayyad governor), or used as a caravenserai. The latter is unlikely as it is not directly on a major trade route of the period and lacks the groundwater source that would have been necessary to sustain large herds of camel.
In later centuries the castle was abandoned and neglected. It suffered damage from several earthquakes. Alois Musil rediscovered it in 1901, and in the late 1970s it was restored. During the restoration some changes were made. A door in the east wall was closed, and some cement and plaster was used that was inconsistent with the existing material.Stephen Urice wrote his doctoral dissertation on the castle, published as a book, Qasr Kharana in the Transjordan, in 1987 following the restoration.
Qasr Kharana today
The castle is today under the jurisdiction of the Jordanian Ministry of Antiquities. The kingdom's Ministry of Tourism controls access to the site via the new visitor's center, charging an admission fee of JD 2 to the site during daylight hours. A Bedouin merchant is also allowed to sell handcrafts and drinks in the parking lot, as at many other Jordanian tourist sites.
Inside, a large interpretive plaque in Arabic and English is located just inside the main entrance. Visitors are free to explore the entire building, although some of the corridors overlooking the