Frequently Asked Questions
Spain's mobile market is highly developed, with over 55 million subscribers across major operators like Movistar, Vodafone, and Orange. While WhatsApp is popular, SMS remains essential for business uses like authentication and marketing, with high smartphone and SMS usage rates.
Several SMS APIs like Twilio, Sinch, MessageBird, and Plivo offer robust solutions for sending SMS to Spain. Ensure compliance with Spanish regulations and best practices for optimal delivery and engagement.
MMS messages are automatically converted to SMS with a URL link to the media content. This ensures broad compatibility across all devices in Spain, while still allowing for rich media sharing.
Adhere to permitted hours (8:00 AM to 9:00 PM local time), considering the time difference for the Canary Islands. Avoid sending during national and regional holidays, Sundays, and siesta time (2 PM - 4PM).
No, sending SMS to landlines in Spain isn't supported and will result in failed delivery with a 400 response error (code 21614) via SMS APIs. You won't be charged for these attempts.
Comply with GDPR, obtain explicit consent, and honor opt-outs. Respect the Lista Robinson (national opt-out registry), permitted sending hours (8 am-9 pm), and required keywords like STOP/ALTO/BAJA/AYUDA/HELP.
GSM-7 encoding allows 160 characters for single SMS and 153 per concatenated segment. Unicode/UCS-2 allows 70 characters for single SMS and 67 per segment. Choose the encoding based on character types.
Process opt-out requests (STOP/ALTO/BAJA) within 24 hours, maintain a centralized opt-out database, confirm the opt-out, and regularly audit your lists for accuracy.
Spain supports alphanumeric sender IDs, long codes (domestic and international), and short codes. Alphanumeric Sender IDs do not require pre-registration. Short codes take 12-14 weeks to provision.
Cannabis-related content is strictly forbidden. Gambling, adult content, unauthorized financial services, and political messaging without proper disclosures are also prohibited.
Keep messages concise, include clear calls-to-action, personalize when possible, use appropriate language and formatting, respect sending hours, and ensure easy opt-out methods.
Use Twilio's REST API with your account SID and auth token. Specify the recipient's Spanish number with the +34 country code, and include a status callback URL for delivery tracking.
Standard rate limits vary by provider, with Twilio around 100/second, Sinch at 50/second, MessageBird at 60/second, and Plivo at 80/second. Implement queueing and backoff strategies.
Employ queue systems (Redis/RabbitMQ), utilize batch APIs, implement exponential backoff for retries, and monitor rate limit headers to optimize SMS throughput and avoid exceeding limits.
Spain SMS Best Practices, Compliance, and Features
Spain SMS Market Overview
Market Conditions: Spain operates a highly developed mobile market with widespread SMS adoption. The country's major mobile operators – Movistar, Vodafone, and Orange – collectively serve over 55 million mobile subscribers. While OTT messaging apps like WhatsApp dominate personal communications, SMS remains critical for business communications, particularly for authentication, notifications, and marketing. The mobile market divides between Android users (around 80%) and iOS users (around 20%), with smartphone penetration exceeding 80% of the population.
Key SMS Features and Capabilities in Spain
Spain supports comprehensive SMS capabilities that enable effective business communications. These features allow you to reach customers reliably across all major carriers while maintaining message integrity and supporting interactive communications.
Two-way SMS Support in Spain
Spain fully supports two-way SMS communications. Enable conversations by meeting standard compliance requirements: obtain user consent and maintain clear opt-out mechanisms. Use two-way SMS for customer service inquiries, order confirmations with reply options, appointment reminders that accept responses, and feedback collection.
For more information on implementing interactive messaging, see our guide on two-way SMS best practices.
Concatenated Messages (Segmented SMS)
Support: Yes, concatenation is fully supported across Spanish networks.
Message length rules:
Encoding considerations: Use GSM-7 for standard Latin alphabet. Switch to UCS-2 for Spanish-specific characters (ñ, á, é, í, ó, ú).
Example: "Buenos días" (GSM-7) uses 11 characters. "Buenos días, señor García" requires UCS-2 due to ñ and í, consuming 27 characters from your 70-character limit.
MMS Support
Spanish carriers automatically convert MMS messages to SMS with an embedded URL link to access the multimedia content. This conversion ensures compatibility across all devices while preserving your ability to share rich media. The recipient receives a standard SMS containing your text plus a clickable link to view images, videos, or other multimedia files through their mobile browser.
Recipient Phone Number Compatibility
Number Portability
Spain supports full number portability, allowing users to keep their phone numbers when switching carriers. Spanish telecommunications infrastructure handles all routing automatically – you don't need to adjust your SMS logic or perform special lookups. Send messages to any Spanish mobile number, and the network will deliver them correctly regardless of which operator currently serves that number.
Sending SMS to Landlines
You cannot send SMS to landline numbers in Spain. Attempts fail with a 400 response error (error code 21614). Your account won't be charged for these failed attempts, and failed messages won't appear in logs.
GDPR Compliance and Regulatory Guidelines for SMS Marketing in Spain
Two primary authorities regulate Spain's SMS communications: the Spanish Data Protection Agency (AEPD) enforces GDPR compliance, while the National Commission of Markets and Competition (CNMC) enforces telecommunications regulations. Non-compliance can result in GDPR fines up to €20 million or 4% of annual global turnover (whichever is higher).
Consent and Opt-In Requirements for Spanish SMS
Explicit Consent Requirements:
Obtain written or electronic confirmation from recipients before sending marketing messages. Follow these specific requirements:
Compliant consent collection methods:
Non-compliant methods:
Required disclosure elements:
Documentation requirements:
HELP/STOP and Other Commands
Required Keywords:
Support all commands in both Spanish and English. Send response messages in the same language as the received command.
Do Not Call / Do Not Disturb Registries
Spain maintains the Lista Robinson, a national opt-out registry for marketing communications managed by the Spanish Data Protection Agency (AEPD).
Legal obligations:
Access and integration process:
Best practices:
Source: Lista Robinson Official Registry, AEPD Guidelines
Time Zone Sensitivity
Spain observes specific time restrictions for commercial SMS:
Permitted Hours: 8:00 AM to 9:00 PM (local time)
Time Zone Considerations:
Schedule your campaigns accordingly:
Exceptions: Emergency or critical service messages (account security alerts, fraud warnings, service outages)
Holiday Considerations: Avoid sending during national and regional holidays. Major dates include January 1, January 6 (Epiphany), Easter Thursday–Monday, May 1, August 15, October 12, November 1, December 6, December 8, and December 25.
Phone Numbers Options and SMS Sender Types for Spain
Alphanumeric Sender ID
Operator network capability: Fully supported across all major networks
Registration requirements: No pre-registration required for standard usage. Dynamic sender IDs work immediately.
Special considerations: MEF-Protected Sender IDs (brand names registered with MEF) require a Letter of Authorization (LOA) from June 6, 2024. Apply for LOA through your SMS provider by submitting proof of brand ownership (trademark registration, company registration documents).
Sender ID preservation: Yes, sender IDs display exactly as specified
Character limits: Up to 11 alphanumeric characters (A-Z, a-z, 0-9, spaces)
Best practices:
Long Codes
Domestic vs. International: Both supported
Sender ID preservation: Yes, maintained across all major carriers
Capabilities:
Short Codes
Support: Fully available in Spain
Provisioning time: 12–14 weeks (includes carrier review and approval)
Application process:
Use cases:
Restricted SMS Content, Industries, and Use Cases
Prohibited Content:
Spain enforces strict content restrictions under the Spanish Penal Code (Articles 197–204 for privacy violations) and Law 34/1988 on advertising regulations:
Content Filtering
Carrier Filtering Rules:
Spanish carriers employ multi-layer spam detection systems that analyze:
Best Practices to Avoid Filtering:
Best Practices for Sending SMS in Spain
Messaging Strategy
Craft effective messages with these proven techniques:
Sending Frequency and Timing
Recommended frequency: Limit to 2–4 messages per month per recipient. Spanish consumers report optimal engagement at this frequency, with higher volumes triggering opt-outs.
Optimal sending times:
Scheduling strategy:
Localization
Formatting standards:
Cultural considerations:
Opt-Out Management
Process opt-outs efficiently to maintain compliance:
Testing and Monitoring
Pre-launch testing checklist:
Ongoing monitoring metrics:
A/B testing priorities:
SMS API integrations for Spain
Twilio
Twilio provides a robust REST API for sending SMS to Spain. Authentication uses account SID and auth token.
Sinch
Sinch offers a straightforward REST API with bearer token authentication.
MessageBird
MessageBird provides a feature-rich API with support for various message types.
Plivo
Plivo offers a powerful API with support for high-volume messaging.
API Rate Limits and Throughput
Note: Actual throughput depends on account tier, payment history, and destination country. Contact providers to request rate limit increases.
Throughput Management Strategies:
Queue-based systems (recommended for >1,000 messages/hour):
Batch API usage (for bulk sends):
Exponential backoff (for retry logic):
Monitor rate limit headers:
X-RateLimit-Limit
: Total requests allowed per windowX-RateLimit-Remaining
: Requests remaining in current windowX-RateLimit-Reset
: Timestamp when limit resetsError Handling and Reporting
Spain-specific error codes:
Comprehensive error handling implementation:
Monitoring and alerting setup:
Recap and Additional Resources
Key Takeaways:
Next Steps:
Additional Resources:
Learn more about E.164 phone number formatting for international SMS delivery, or explore our guide on OTP and 2FA implementation for authentication use cases.
Frequently Asked Questions
What are the SMS compliance requirements for Spain?
Follow this compliance checklist:
Required actions:
Regulatory authorities: Spain enforces GDPR through the AEPD (Spanish Data Protection Agency). Non-compliance can result in fines up to €20 million or 4% of annual global turnover.
How long does Lista Robinson registration take to become effective?
Lista Robinson inscriptions take up to 2 months to become fully effective, as recipient data may already be in active campaigns. However, process opt-out requests to your internal suppression lists within 24 hours. Check the Lista Robinson database monthly before launching campaigns.
What sender ID types are supported in Spain?
Spain supports three sender ID types:
Can I send SMS to Spanish landline numbers?
No, you cannot send SMS to landline numbers in Spain. Attempts fail with a 400 response error (error code 21614). Your account won't be charged, and failed messages won't appear in logs.
What are the permitted hours for commercial SMS in Spain?
Send commercial SMS only between 8:00 AM and 9:00 PM local time. Remember that the Canary Islands (Atlantic/Canary timezone) are 1 hour behind mainland Spain (Europe/Madrid timezone). Emergency or critical service messages are exempt from these restrictions. Avoid sending during Sundays, national holidays, and regional holidays.
What character encoding should I use for Spanish SMS?
Example: "Hola, su pedido está listo" requires UCS-2 due to á, consuming 28 of your 70 characters.
Which keywords must I support for opt-out in Spain?
Support both Spanish and English opt-out keywords:
Send response messages in the same language as the received command. Process opt-outs within 24 hours.
What content is prohibited in Spain SMS marketing?
Spain prohibits:
Carriers filter keywords related to restricted industries, suspicious URLs, high-frequency identical messages, and messages without opt-out information.
How do Spanish mobile operators handle number portability?
Spanish mobile operators handle number portability efficiently without impacting SMS delivery or routing. Users can keep their phone numbers when switching between Movistar, Vodafone, Orange, and other carriers. You don't need to adjust your SMS sending logic for ported numbers – the network automatically routes messages to the correct current carrier.
What are the main differences between Spanish regional SMS requirements?
While GDPR and Lista Robinson apply nationwide, consider these regional factors:
Language preferences by region:
Regional holidays: Respect regional holidays in addition to national ones. Each autonomous community has 2–4 additional holidays per year.
Time zone: The Canary Islands operate in Atlantic/Canary timezone (1 hour behind mainland Spain's Europe/Madrid timezone).