Phone numbers · ES

Spain phone number format

Spain numbers use the country code +34. A mobile number looks like 612 34 56 78 at home and +34612345678 in international E.164 format.

TypeExample (national)InternationalE.164Digits
Mobile612 34 56 78+34 612 34 56 78+346123456789
Landline810 12 34 56+34 810 12 34 56+348101234569
Toll-free800 123 456+34 800 123 456+348001234569
Premium-rate803 12 34 56+34 803 12 34 56+348031234569
Shared-cost901 12 34 56+34 901 12 34 56+349011234569
Personal (forwarding) number701 23 45 67+34 701 23 45 67+347012345679
Company (UAN) number511 23 45 67+34 511 23 45 67+345112345679
Country calling code
+34
National (trunk) prefix
None
International call prefix
00
Separate VoIP range
No
Time zones
Atlantic/Canary, Europe/Madrid
Validate in code

Check a Spain number.

Send the number as typed plus country: "ES". You get it back in E.164 with its line type, ready to store.

Try the free validator →

curl https://veqen-app.com/v1/phone/check \
  -H "Authorization: Bearer $VEQEN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"country": "ES", "phone": "612 34 56 78"}'
import os, requests

r = requests.post(
    "https://veqen-app.com/v1/phone/check",
    headers={"Authorization": f"Bearer {os.environ['VEQEN_API_KEY']}"},
    json={"country": "ES", "phone": "612 34 56 78"},
    timeout=10,
)
result = r.json()
print(result["risk"]["verdict"], result["risk"]["reasons"])
const res = await fetch("https://veqen-app.com/v1/phone/check", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.VEQEN_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({"country": "ES", "phone": "612 34 56 78"}),
});
const result = await res.json();
console.log(result.risk.verdict, result.risk.reasons);
Questions

Spain numbers

What is the country code for Spain?

+34. Dial it after your international access code, or use +34 from a mobile phone.

How do I format a Spain phone number in E.164?

Add +34 in front of the number with no spaces, e.g. +34612345678.

How many digits is a Spain mobile number?

9 digits after the country code.

Does Spain have VoIP phone numbers?

There is no separate VoIP range in the numbering plan, so VoIP numbers look like ordinary numbers.

Nearby in the list