Yes, unlocking phones is legal in Spain under specific conditions. Spanish law permits unlocking for portability or device compatibility, but carriers may impose contractual restrictions. The 2026 European Electronic Communications Code (EECC) reinforces these rights, requiring operators to provide unlock codes upon request after contract termination.
Key Regulations for Unlocking Phones in Spain
- Consumer Rights Directive (2011/83/EU): Mandates unlocking upon contract termination without additional fees, enforced by Spain’s Comisión Nacional de los Mercados y la Competencia (CNMC).
- Spanish Telecommunications Act (Ley 9/2014): Prohibits carriers from imposing permanent locks post-contract, with violations subject to fines up to €30,000 under Law 11/2022.
- EECC (2026 Implementation): Requires operators to unlock devices within 30 days of request, aligning with EU-wide portability rules. Unauthorized unlocking during active contracts may void warranties.
Exceptions and Risks: Unlocking during an active contract often breaches terms of service, risking service suspension. Devices locked to specific networks (e.g., subsidized plans) may require proof of ownership. Unlocking for resale or tampering with IMEI numbers constitutes fraud under Spanish Penal Code Article 255, punishable by imprisonment. Always verify carrier policies and local regulations before proceeding.