Blog · Doing business in Spain · October 2026

Website legal requirements in Spain: a plain-English checklist

If you run a business website in Spain, you need at least three things: a legal notice (aviso legal) identifying who is behind the site, a privacy policy explaining how you handle personal data, and a cookie banner that asks for consent before any non-essential cookies load. Online shops also need clear terms of sale. Here's what each involves.

In short

  • Legal notice (LSSI): who you are, tax ID, address and contact details.
  • Privacy policy (GDPR + LOPDGDD): what data you collect, why, and people's rights.
  • Cookies: no analytics or advertising cookies until the visitor accepts; "reject" as easy as "accept".
  • Online shops: terms of sale, prices with VAT and the 14-day right of withdrawal.

The laws that apply

LawWhat it covers
LSSI-CE (Ley 34/2002)Websites with any economic activity: identification, commercial emails, cookies
GDPR (EU) and LOPDGDD (Ley Orgánica 3/2018)Personal data: forms, newsletters, client records, analytics
Consumer protection law (Real Decreto Legislativo 1/2007)Selling to consumers: pre-contract information, withdrawal, guarantees
Accessibility (Ley 11/2023, from the European Accessibility Act)Some online shops and services, from June 2025

The LSSI applies as soon as your website is linked to an economic activity: selling, advertising your services or even showing ads. In practice, that's any business website, including a freelancer's.

2. Privacy policy

If your website collects any personal data (a contact form, a newsletter, a booking system), you need a privacy policy that explains, clearly and concisely:

  • Who is responsible for the data (the data controller) and how to contact them.
  • What data you collect and what for.
  • The legal basis (consent, a contract, a legal obligation, legitimate interest).
  • How long you keep it.
  • Who you share it with (for example, your email or hosting provider) and whether it leaves the EU.
  • People's rights (access, rectification, erasure, objection, portability…) and how to exercise them, plus the right to complain to the Spanish data protection authority, the AEPD.

On forms, add a short first-layer notice next to the submit button with a link to the full policy. If you want to send marketing emails, consent must be a separate, unticked checkbox.

4. If you sell online

  • Terms and conditions of sale: who you are, the product, prices including VAT, delivery costs and times, payment methods.
  • Right of withdrawal: consumers generally have 14 calendar days to return goods without giving a reason, with a model withdrawal form. Some products (custom-made, perishable, unsealed hygiene items…) are exceptions.
  • Legal guarantee information for goods.
  • A clear "order with obligation to pay" button and an order confirmation.
  • Invoices for every sale.

If you're starting from scratch, our guide on how to sell online (in Spanish) covers the practical side, and our online store service sets up the shop.

5. Accessibility

Spain's Ley 11/2023, which transposes the European Accessibility Act, requires some products and services, including many online shops, to meet accessibility standards from 28 June 2025. Microenterprises (fewer than 10 employees and no more than €2 million turnover) providing services are exempt. Even if you're exempt, an accessible website (readable text, good contrast, alt text on images, keyboard navigation) is simply a better website for everyone.

What about language?

If your website is in English because your clients are international or expats, that's fine. But if you also sell to Spanish consumers, it's safest to offer the legal pages and terms of sale in Spanish as well, so every customer can understand what they're agreeing to. A bilingual site handles this naturally.

Checklist

  1. Legal notice with your name, NIF/NIE/CIF, address and contact.
  2. Privacy policy, plus a short notice on every form.
  3. Cookie banner with accept and reject at the same level, and a cookie policy.
  4. Separate, unticked consent for marketing emails.
  5. Terms of sale and withdrawal information if you sell online.
  6. HTTPS on the whole site; see what is an SSL certificate (in Spanish).
  7. Links to all of the above in the footer of every page.

Planning these pages from the start is much easier than retrofitting them. If you need a website for your business in Spain, in English, Spanish or both, take a look at our web design service or our guide to registering a .es domain.

FAQ

Is a privacy policy mandatory for a website in Spain?

If your website collects any personal data, such as through a contact form, newsletter or bookings, yes. GDPR and the Spanish LOPDGDD require you to tell people how their data is used.

Do I need a cookie banner if I only use Google Analytics?

Yes. Analytics cookies aren't strictly necessary, so you need consent before loading them, with an option to reject that's as easy as accepting.

Does the LSSI apply to a freelancer's website?

Yes. It applies to any website linked to an economic activity, including a freelancer advertising their services. You must show your name, NIF or NIE and contact details.

Do my legal pages have to be in Spanish?

If your clients are international, English works. If you sell to Spanish consumers, it's safest to have the legal pages and terms in Spanish too.

A website for your business in Spain

Bilingual if you need it, built for mobile and SEO, with domain and hosting included in year one. €400 for up to 5 pages.

See web design

Let's talk about your website

Tell us what you need and we'll reply with a clear proposal: what we'd do, what it costs and how long it takes.

Tell us about your project