---
title: "Spain phone number validator"
url: "https://lookvalid.com/tools/phone-number-validator/spain.md"
canonical_url: "https://lookvalid.com/tools/phone-number-validator/spain"
last_updated: "2026-10-30"
type: "tool"
summary: "Validate Spain phone numbers: 9 digits behind +34, 7 worked test numbers and a free validator."
related: ["https://lookvalid.com/country-code/spain.md", "https://lookvalid.com/tools/phone-format.md", "https://lookvalid.com/tools/phone-number-validator.md"]
---

# Spain phone number validator

> **For AI agents:** the complete index of LookValid pages is [llms.txt](https://lookvalid.com/llms.txt). Every page is also served as markdown at its URL plus .md.

Validate Spain phone numbers: 9 digits behind +34, 7 worked test numbers and a free validator.

A number is valid in Spain when the digits after +34 match one of 7 number types, with 9 digits in all. A mobile number starts 59, 6, 71 to 74, 78, 96 or 97.

## Rules by number type

| Type | Starts with | Digits | Sample |
| --- | --- | --- | --- |
| Mobile | 59, 6, 71 to 74, 78, 96 or 97 | 9 | +34 612 34 56 78 |
| Landline | 40, 81 to 88 or 91 to 98 | 9 | +34 400 56 21 94 |
| Toll free | 80 or 90 | 9 | +34 800 92 33 94 |
| Premium rate | 80 | 9 | +34 807 85 34 51 |
| Shared cost | 90 | 9 | +34 902 88 93 89 |
| Personal number | 70 | 9 | +34 705 06 73 42 |
| Universal access | 51 | 9 | +34 512 12 56 21 |

## Test numbers

| Number | Case | Result |
| --- | --- | --- |
| +34 612 34 56 78 | Example number | Passes: Valid mobile number. |
| +34 400 56 21 94 | Landline range | Passes: Valid landline number. |
| +34 800 92 33 94 | Toll free range | Passes: Valid toll-free number. |
| +34 807 85 34 51 | Premium rate range | Passes: Valid premium-rate number. |
| +34 61234567 | One digit short | Fails: Too short: 8 digits follow the country code, where Spain allows 9 digits. |
| +34 6123456786 | Too many digits | Fails: Too long: 10 digits follow the country code, where Spain allows 9 digits. |
| +34 012 34 56 78 | Right length, unused start | Fails: 9 digits suits mobile, landline, toll-free, premium-rate, shared-cost, personal or universal access numbers, but a number starting 01 is not in any of those ranges. |

## Mistakes to look for

**Typing 00 and a plus sign together.** 00 is the dialled form of the plus sign. One of the two is enough, never both. Example: +0034612345678. Result: It starts with +00, but numbers in Spain start with +34.

## Questions

**What makes a phone number valid in Spain?**

After the country code, its digits must match the pattern of at least one number type in the plan: mobile, landline, toll free, premium rate, shared cost, personal number or universal access. The count is 9 digits in all, and each type has its own count and its own starting digits, shown in the table above.

**How do I write a mobile number for Spain?**

A mobile number is 9 digits long after +34 and starts 59, 6, 71 to 74, 78, 96 or 97. Written for international use it reads +34 612 34 56 78; the E.164 form for storing is +34612345678.

**Does a valid result mean the number is in service?**

No. The check reads the numbering plan only: it never rings the number and cannot tell whether a subscriber holds it today. It rules out numbers that cannot exist.

Data: version 1.13.15 of the libphonenumber-js package, published 8 October 2026, which carries Google's libphonenumber rules. Test numbers are computed from those rules and never dialled. See the [Spain country code page](https://lookvalid.com/country-code/spain.md), the [phone format tool](https://lookvalid.com/tools/phone-format.md) and the [phone number validator](https://lookvalid.com/tools/phone-number-validator.md).

## Related

- [Spain country code +34](https://lookvalid.com/country-code/spain.md)
- [Phone Number Format by Country and E.164](https://lookvalid.com/tools/phone-format.md)
- [Free Phone Number Validator: Check This Number](https://lookvalid.com/tools/phone-number-validator.md)
