Ħaġar Qim is a prehistoric temple complex in the south of the island of Malta. It is one of the oldest religious buildings found on Earth. Along with 5 other ancient sites, Ħaġar Qim is included in the UNESCO World Heritage Site of Malta's megalithic monuments.
The temple complex consists of the main temple and three other separate structures. The main temple was built between 3600 and 3200 BCE, but the northern structure is even older. The temple was most likely used for fertility rituals. No human burials have been found in the vicinity of the temple, the bones of the most likely victims have been found. Complex archaeological research began in 1839. In 2009, a roof was built over the ruins of the temple.