Hamirpur is a town and the district headquarters of Hamirpur district in the Himalayan state of Himachal Pradesh, India. Hamirpur is located in a relatively colder region in western Himachal Pradesh with a lower altitude as compared to the other districts of the state. It is bordered by Kangra to the north, Mandi to the east, Bilaspur to the south and Una to the west.
Una and Hamirpur were created mainly as a result of trifurcation of the erstwhile Kangra district on 1 September 1972, as a consequence where of two more new districts namely also from the then existing districts of Mahasu and Shimla, new districts of Shimla and Solan were formed by re-organising the boundaries of old districts.
Hamirpur is now considered as an educational hub of Himachal Pradesh it is the second educated region in India, male literacy is 91%, and female literacy is 76%.