Qibla by country

Qibla direction in Spain

In Spain, the Qibla lies between east and east-south-east: from 85° to 112° from true north, depending on the city.

At a glance

  • Madrid, the capital: 104°, east-south-east, 4,598 km from the Kaaba.
  • The Qibla turns by 27° across the country, from 85° in Telde to 112° in Girona.
  • Closest to Makkah: Palma, 4,052 km. Farthest: San Cristóbal de La Laguna, 5,665 km.
  • Around Madrid, magnetic north and true north are less than a degree apart, so a needle compass can be read as it is.
  • Prayer times in Spain: our country guide explains which calculation method to choose in the Awwab app.

Qibla from every city in Spain

Cities of 100,000 people or more, largest first.

Qibla in Spain, in degrees clockwise from true north
CityQiblaDirectionDistance to the Kaaba (km)
Madrid104°east-south-east4,598
Barcelona111°east-south-east4,160
Valencia106°east-south-east4,297
Zaragoza108°east-south-east4,408
Seville99°east4,724
Málaga99°east4,576
Murcia103°east-south-east4,319
Palma109°east-south-east4,052
Las Palmas de Gran Canaria85°east5,581
Alicante104°east-south-east4,273
Bilbao108°east-south-east4,623
Córdoba100°east4,629
Valladolid104°east-south-east4,715
Vigo102°east-south-east5,052
Gijón106°east-south-east4,843
Vitoria-Gasteiz108°east-south-east4,589
L'Hospitalet de Llobregat110°east-south-east4,163
A Coruña103°east-south-east5,053
Elche104°east-south-east4,290
Granada100°east4,514
Ciudad Lineal104°east-south-east4,595
Oviedo105°east-south-east4,852
Terrassa111°east-south-east4,178
Badalona111°east-south-east4,155
Cartagena103°east-south-east4,297
Jerez de la Frontera98°east4,727
Sabadell111°east-south-east4,170
Santa Cruz de Tenerife85°east5,659
Pamplona108°east-south-east4,508
Móstoles104°east-south-east4,609
Almería101°east4,407
Alcalá de Henares104°east-south-east4,572
Fuenlabrada104°east-south-east4,602
Leganés104°east-south-east4,601
Getafe104°east-south-east4,598
Donostia109°east-south-east4,551
Castellon107°east-south-east4,286
Burgos106°east-south-east4,654
Santander107°east-south-east4,697
Albacete104°east-south-east4,407
Alcorcón104°east-south-east4,606
Marbella99°east4,614
Logroño107°east-south-east4,559
San Cristóbal de La Laguna85°east5,665
Badajoz100°east4,837
Salamanca103°east-south-east4,773
Huelva98°east4,807
Tarragona109°east-south-east4,221
Lleida109°east-south-east4,289
Chamartin104°east-south-east4,597
Mataró111°east-south-east4,143
León105°east-south-east4,809
Telde85°east5,583
Dos Hermanas99°east4,718
Algeciras98°east4,658
Santa Coloma de Gramenet111°east-south-east4,158
Torrejón de Ardoz104°east-south-east4,580
Cadiz98°east4,738
Alcobendas104°east-south-east4,597
Parla104°east-south-east4,599
Jaén101°east4,542
Ourense102°east-south-east4,985
Reus109°east-south-east4,234
Orihuela104°east-south-east4,306
Barakaldo108°east-south-east4,629
Girona112°east-south-east4,132

Not on the list? Search any town or use your location on the live compass.

Reading these numbers

Each bearing is measured clockwise from true north along the shortest path over the globe, a great circle, which is how the Qibla is worked out. A flat map can mislead, because the Earth is round.

Phone compasses work best after calibrating with a figure-8, away from metal and magnetic cases. Our guide to finding the Qibla also covers the sun, the local mosque and praying when unsure.

Qibla in other countries

Belgium Czechia France Germany Italy Netherlands Poland Portugal Romania Russia Ukraine United Kingdom

All countries

City data: GeoNames (CC BY 4.0). Magnetic declination: the World Magnetic Model 2025 (NOAA and the British Geological Survey).