🇪🇸

Spain Phone Number Format Guide and Examples

Dial Code: +34•Last updated: January 1, 2026

Local Format
612 345 678
E.164 Format
+34612345678
International
+34 612 345 678

About Spain Phone Numbers

Spanish mobile numbers start with 6 or 7, followed by 8 digits. Landlines start with 8 or 9, also followed by 8 digits. All Spanish numbers are 9 digits.

How to Dial Spain Phone Numbers

To call a Spain phone number, the exact format depends on where the call starts. Domestic calls use the full national number, while international calls to Spain use the +34 country code.

  • Within Spain: Dial the full national number for standard domestic calls.
    Example: 612 345 678
  • From abroad to Spain: Dial +34 followed by the Spanish number.
    Example: +34 612 345 678
  • From Spain to other countries: Dial 00, then the country code, then the full phone number.
    Example: 00 1 212 555 0123

Note: Spanish mobile and fixed numbers are commonly dialed as full national numbers without a separate domestic trunk prefix.

Phone Number Structure

This table breaks down the example number shown for Spain.

ComponentDigitsExampleNotes
Country Code2+34Used in international format for calls into Spain.
National Prefix16This example uses a Spanish mobile number, which begins with 6.
Subscriber Number812345678The remaining digits identify the mobile subscriber.

Special Cases

Some numbers and prefixes in Spain have special rules or reserved uses.

  • Emergency Number

    112

    Spain uses 112 as its general emergency number, connecting callers to police, fire, and medical assistance. It is a special emergency access code rather than a standard telephone prefix.

  • Freephone Numbers

    800900

    Spain uses 800 and 900 for toll-free services. These non-geographic numbers are commonly used for customer support and helplines.

  • Premium-Rate Service Numbers

    803806807

    These special prefixes are used for premium-rate services in Spain, including entertainment and professional advisory services, and may carry charges above standard call rates.

Validation Regex

regexregex
^\+34[6-9]\d{8}$|^[6-9]\d{8}$

Code Examples

CSS Masking Format

Use this CSS mask to automatically format phone number inputs:

cssinput-masking.css
input[type="tel"] {
  mask: 000 000 000;
  mask-image: none; /* Fallback */
}

Other Countries