Alhabia is a municipality in the province of Almería, in the autonomous community of Andalusia, southern Spain. It is one of the many small towns that make up the Almería province in the country's southeastern corner.
Like other municipalities in the region, Alhabia is administered as a local entity within the Spanish system of municipal government, with the province of Almería forming part of Andalusia, Spain's largest autonomous community by area.