Quba is a city located in Azerbaijan and serves as the administrative center of the Quba District. It is situated on the right bank of the Kudyal River at an altitude of 600 metres (2,000 ft) above sea level.
The city lies on the northeastern slopes of the Shahdag mountain. As of 2023, the population of Quba was recorded at 47,200 residents.