Guides

Website and SEO for lawyers in Spain without breaking the code of ethics

Advertising legal services in Spain is allowed but bound by the Código Deontológico. How to build a law firm website and SEO strategy that captures qualified cases without risking a complaint.

Noor

Noor

August 29, 2026·5 min read·Updated September 4, 2026
Scales of justice next to search results representing ethics-compliant SEO for lawyers

Most guides about marketing for law firms are written by agencies that treat a legal practice like any other local business: pump out content, chase reviews, run ads. That advice can quietly put your practice at risk, because advertising legal services in Spain is allowed, but it is bound by rules that a restaurant or a plumber never has to think about. Break them and you are not risking a Google penalty; you are risking a complaint to your Colegio de Abogados.

This is a guide to building a website and a search presence that brings in qualified cases, written with those professional limits kept front and center.

Yes, you can advertise. Within limits.

Let us clear up the biggest misconception first. The Estatuto General de la Abogacía Española and the Código Deontológico permit lawyers to advertise and promote their services. Marketing your firm is not forbidden. What the rules require is that the advertising be truthful, dignified, and respectful of professional secrecy, and they draw some hard lines around it.

The limits that matter most for a website:

  • No promising or guaranteeing results. You cannot claim or imply that you win cases, secure specific outcomes, or guarantee compensation. "Recover what you are owed" as a headline is a problem.
  • Care with client testimonials. Direct or indirect references to your own clients are restricted, and the duty of secreto profesional means you cannot expose who your clients are or the details of their matters. This is where the generic "get more 5-star reviews" advice collides head-on with your obligations.
  • No inciting litigation or conflict. Advertising cannot push people toward unnecessary disputes, and there are specific cautions around soliciting victims of accidents or misfortune.
  • No disparaging other colleagues. Comparative advertising that puts down other lawyers is off-limits.

None of this stops you from marketing. It just means the marketing has to be informational and honest rather than promotional and aggressive. And here is the useful part: informational, honest content is also what actually works for legal search.

Why "informational" is both compliant and effective

Legal searches are what Google classifies as YMYL (Your Money or Your Life) queries: topics where the search engine holds content to a higher standard of expertise and trustworthiness, because bad information can genuinely harm people. That means a law firm's website is judged more on demonstrated expertise than on marketing polish.

The compliant strategy and the effective strategy turn out to be the same strategy: publish content that demonstrates real legal knowledge, answers the questions a worried potential client is actually typing, and builds trust before they ever pick up the phone. "What to do if you are dismissed unfairly" ranks and complies. "We guarantee we will win your dismissal case" does neither.

Need something more advanced?

Professional Package from €1,490. E-commerce, CMS, advanced SEO.

See Professional Package

The website structure that captures qualified cases

A law firm website that generates cases (rather than just existing) tends to share the same architecture:

One page per practice area. A dedicated, unique page for each main area you actually work in (laboral, familia, herencias, mercantil, penal), each written to match how clients search for that specific problem. Generic "we do everything" pages rank for nothing.

Content built around the client's problem, not your job title. People do not search "labour lawyer Madrid" as often as they search the situation they are in ("me han despedido, qué hago"). Pages and articles that speak to the situation capture the client earlier, while they are still deciding whether they even need a lawyer.

Author expertise made visible (E-E-A-T). Google rewards content with clear expertise, experience, authoritativeness, and trust. For a law firm that means real author attribution, credentials, and content that reads like it was written with genuine legal knowledge, not spun by a generalist copywriter. This directly supports the "truthful and dignified" requirement too.

A local presence by city and specialty. Local SEO matters, but avoid the classic trap of one identical page per city with only the place name swapped. Google treats that as thin, duplicate content, and it does nothing for you.

Reviews, the careful way

Reviews are legitimate and valuable, but for a law firm they need extra care on two fronts at once. First, Google's own 2026 rules prohibit incentivising reviews, review gating, and other manipulation, which apply to everyone. Second, and specific to your profession, secreto profesional means neither you nor your review responses can reveal that someone is a client or expose any detail of their matter.

The safe approach: you can invite clients to leave an honest review, but never offer anything in exchange, never steer what they write, and when you respond, keep it generic and warm without confirming case details or even, in sensitive matters, that the person was a client at all. If you want the full picture of what Google now permits and prohibits, I covered it in detail in the guide to Google's 2026 review rules.

The compliance details on your own website

One more thing that catches firms out: your own website has to be legally clean, and for a lawyer a sloppy aviso legal or a non-compliant cookie banner is doubly embarrassing. Make sure your site has a correct aviso legal, a privacy policy consistent with the RGPD, and a cookie banner that offers a genuine reject option, not just "accept". A law firm whose own website does not comply with basic digital regulation undercuts the trust its content is trying to build.

The honest takeaway

The good news for lawyers who dislike aggressive marketing is that the compliant path and the effective path are the same one. You do not need to promise results, buy reviews, or run pushy ads. You need a website with a clear page for each area you practise, genuinely useful content that answers what clients are searching, visible expertise, and a clean legal setup. That approach respects the Código Deontológico and, not by coincidence, is exactly what earns qualified cases from search.

Need something more advanced?

Professional Package from €1,490. E-commerce, CMS, advanced SEO.

See Professional Package

Sources

  • Consejo General de la Abogacía Española, Estatuto General de la Abogacía Española (RD 135/2021) and Código Deontológico, on advertising of legal services, checked August 2026 [T1]
  • Google, Prohibited & Restricted Content, reviews policy (support.google.com/contributionpolicy/answer/7400114), checked August 2026 [T1]
  • Google Search Central, guidance on YMYL and E-E-A-T (developers.google.com/search), checked August 2026 [T1]
#Lawyers#Law firms#Local SEO#Legal ethics#Lead generation#Compliance
Noor

Noor

Founder & Web Developer

I design and build professional websites for freelancers and small businesses across Spain. Direct work, no agencies in between.

LinkedIn

Ready to upgrade your website?

Free 15-minute chat about your project. No strings attached.

Related posts