Spanish municipality from an address
Type a street address, a town or a landmark in Spain and we’ll tell you which municipality, province and autonomous community it belongs to, with the boundary on the map.
Search for an address
Municipality · example
Looking it up…
Other ways to pick the spot
Or tap anywhere on the map.
Loading the map…
Why the address doesn’t always tell you
In Spain, the place name in an address is often a village, a beach resort or a housing development (urbanización) rather than the municipality, the area run by one town hall (ayuntamiento). Resort names like Puerto Banús, Playa de las Américas or La Manga are well known abroad, but none of them is a municipality. Even the postal code can point you to the wrong province.
The example the tool opens with is a good one: Avenida Rafael Puig Lluvina in southern Tenerife. Number 2 in Playa de las Américas belongs to Arona, while another number 2 on the same avenue, in Costa Adeje, belongs to Adeje. The two are 118 meters (390 feet) apart and have different postal codes.
Addresses that can fool you
We looked these up with the tool:
| Address | Municipality | Province | Postal code |
|---|---|---|---|
| Avenida José Banús 1, Puerto Banús | Marbella | Málaga | 29660 |
| Avenida Rafael Puig Lluvina 2, Playa de las Américas | Arona | Santa Cruz de Tenerife | 38650 |
| Avenida Rafael Puig Lluvina 2, Costa Adeje | Adeje | Santa Cruz de Tenerife | 38660 |
| Gran Vía de La Manga 5, La Manga del Mar Menor | Cartagena | Murcia | 30380 |
| La Manga del Mar Menor sports center | San Javier | Murcia | 30380 |
| Plaza Mayor 1, Bajauri | Condado de Treviño | Burgos | 01118 |
Addresses from CartoCiudad, checked against the IGN boundaries the tool uses on October 31, 2026.
La Manga del Mar Menor, the long sandbar on the Murcia coast, is split between Cartagena and San Javier, with the same place name and the same postal code on both sides. Bajauri is a village in the Condado de Treviño, a piece of the province of Burgos surrounded by the Basque province of Álava: its postal code starts with 01, Álava’s number, but its town hall is in Burgos.
How the lookup works
We search for the address in CartoCiudad, the official address database of Spain’s National Geographic Institute (IGN). It lists every street door (portal) in the country with its postal code, its village or neighborhood and its cadastral reference. Then we check which municipality that door falls in using the IGN’s official boundaries, and draw that municipality on the map.
You also get the province, the autonomous community (one of Spain’s 17 regions, such as Andalusia or the Canary Islands) and the five-digit INE code, the number the National Statistics Institute gives each municipality.
Tips for typing a Spanish address
Spanish addresses put the street type first and the number after the name: “Calle Mayor 10” rather than “10 Mayor Street”. Common street types are calle (street), avenida (avenue), plaza (square), paseo (boulevard) and carretera (road). In Catalonia, Galicia and the Basque Country many streets are officially named in the local language: carrer, avinguda and plaça in Catalan, rúa in Galician, kalea in Basque. Leave out the floor and door (“2.º B”), which only matter for the mail carrier.
Rural homes often have no street at all: their address says “diseminado” (scattered houses) or the name of the area. If you can’t find one, tap the house on the map instead.
When you’ll need the municipality
When you buy or rent a home: the property tax (IBI), the municipal capital gains tax when you sell (plusvalía) and building permits all depend on the municipality. When you register as a resident on the padrón, which you do at the town hall of the municipality where you live. And when you pay the yearly road tax on a car registered in Spain, which also goes to the municipality.
Frequently asked questions
Why can’t it find my address?
Type the street type, name and number, then the town: “Calle Mayor 10, Treviño”. Brand-new developments can take a while to reach the official database; in the meantime, tap the building on the map.
Does the postal code tell me the municipality?
Not reliably. Some postal codes cover several municipalities, big cities have dozens, and a few villages even use another province’s code. That’s why we check the exact point.
Are the Costa del Sol or the Costa Blanca municipalities?
No. The “costas” are tourist names for stretches of coastline that run through dozens of municipalities. Puerto Banús, Playa de las Américas and La Manga aren’t municipalities either: they’re parts of Marbella, Arona, and Cartagena and San Javier.
What if a street runs through two municipalities?
Each street door belongs to just one. Search with the house number and you’ll get the right one; if it’s within 100 meters of the line, we’ll warn you.
Can I type the address in Catalan, Galician or Basque?
Yes. CartoCiudad uses the official street names, which in many municipalities are in the local language.
Does it work for addresses outside Spain?
It finds addresses worldwide through OpenStreetMap, but only Spain’s municipalities come from an official source here. For the US, use “County lookup by address”.
Do you store the addresses I search?
No. The search goes to CartoCiudad or Photon and isn’t saved.
Related tools
All toolsSources
- CartoCiudad: Spanish addresses and postal codes · Instituto Geográfico Nacional, CC BY 4.0 ign.es
- Spain’s municipal, provincial and regional boundaries (BDDAE, simplified) · Instituto Geográfico Nacional, CC BY 4.0 ign.es
- Addresses and places worldwide (Photon) · © OpenStreetMap contributors, ODbL
- Base map · OpenFreeMap, © OpenStreetMap contributors