Administratively, Semarang Regency borders Kendal Regency and Temanggung Regency in the west, Boyolali Regency and Magelang Regency in the south, Grobogan Regency and Demak Regency in the east, and the city of Semarang in the north. Salatiga City, meanwhile, forms an enclave within the regency, and is administratively separate.