Kuala Kubu Bharu, is the district capital of Hulu Selangor District, Selangor, Malaysia. It is located 60 kilometres (37 mi) north of Kuala Lumpur and 80 kilometres (50 mi) from Shah Alam, the state capital. It serves as a gateway town to Fraser's Hill.