Demak is a town in Central Java, Indonesia. It is the capital of Demak Regency and the location of the former Sultanate of Demak, briefly the strongest power on the island of Java. The town covers an area of 61.13 km², and had a population of 110,165 at the 2020 Census.