Gebang (Indonesian: Candi Gebang) is an 8th-century Hindu temple located on the outskirts of Yogyakarta, Indonesia. The temple is located at Gebang hamlet, Wedomartani village, Ngemplak, Sleman, Yogyakarta. The temple was built during the Medang Kingdom. There is no assuring historical backgrounds or inscription records concerning the temple. However the high proportional of the temple feet indicate that the temple was built in old period of Medang Mataram kingdom, circa 730 to 800 CE.
In November 1936, a villager discovered a Ganesha statue. The Art and Archaeological Services (Oudheid Dienst) led an excavation and discover that the Ganesha statue was the part of a small stone building. The archaeological excavation was conducted that year and discover a temple ruin, the andesite stones that parts of the roof and the base is appeared to be intact. Besides the parts of the building, the excavation also yielded some artifacts such as potteries, statuettes, stone box (peripih), and lingam. The temple is named "Gebang" as the name of the village. During its discovery, the temple wall and roof is collapsed, however the base was still intact. The temple ruin was buried under Mount Merapi volcanic lahar sediments. The temple was reconstructed by Van Romondt in 1937 to 1939.
Gebang temple displayed a Hindu temple features. The square base is measured 5.25 x 5.25 metres, and the temple is 7.75 metres in height. There is no entrance stairs, or probably was made from organic wooden material that already decayed. The temple faces east with entrance located on eastern side. On each side of the portal there are two niches which was filled with the statue of Nandiswara on the right side. In November 1989 the head of Nandiswara is was stolen. The left niche was probably hosted a Mahakala statue as the counterpart of Nandiswara, however there is no Mahakala statue ever discovered here. In the inner chamber there is a Yoni placed in the center of the room.
On outer wall there is three niches on north, south, and east side of the temple. The north and south niches is empty, however in the west side there is a Ganesha statue sitting on a yoni with a spout. Compared to other Hindu temples in Yogyakarta vicinity, Gebang temple has a unique architectural style; on the roof there is small heads of divinity appear from a window frame and male divine body (devata) seated in the small niches. This divinity head's is called kudu. Similar roof ornament style depicting heads of the gods also appeared on the roof of Bima temple in Dieng temples, Dieng Plateau, Central Java. The top of the temple is crowned with ratna. On temple yard there are four pseudo-lingam on its four corners.