Semarapura is the capital of Klungkung Regency, the smallest regency in the province of Bali, Indonesia. It also serves as the administrative centre of Klungkung District (kecamatan) within the regency. Klungkung Regency borders with Bangli Regency in the north, Karangasem Regency in the east, Gianyar Regency in the west, and with the Indian Ocean to the south.