---
title: Can a law firm use AI with client information?
canonical_url: https://tkmstudio.com/library/can-a-law-firm-use-ai-with-client-information
language: en
last_updated: 2026-11-24
organization: TKM Studio, AI Visibility & Adoption Studio, Madrid, working worldwide
---

# Can a law firm use AI with client information?

By TKM Studio · Reviewed by [Tarik Kaan Muslu](https://tkmstudio.com/about) · Published 24 November 2026

For a lawyer in Spain the answer starts with professional secrecy, not GDPR. What the Estatuto and the Código Deontológico say, what the European bars advise, and three setups that keep client files under the firm's control.

Lawyers ask us the same question in different words: can I paste a client's contract into an AI tool? For a lawyer in Spain the answer does not start with GDPR. It starts with professional secrecy, which covers more than personal data.

This guide sets out what the Spanish rules say, what the European bars advise, and the setups that keep client files under the firm's control. It is not legal advice, and the guidance of your own Colegio comes first.

## What the Spanish rules say

### What does professional secrecy cover?

The Estatuto General de la Abogacía Española, approved by Royal Decree 135/2021, sets the scope in article 22.1. The duty covers all facts, communications, data, information, documents and proposals the lawyer has known, issued or received in professional practice. That is wider than personal data: a contract between two companies that a client hands you is a document received in professional practice, even if it names nobody.

### Does it bind my staff and trainees?

The duty is yours, and it reaches them. Article 22.4 of the Estatuto requires the lawyer to make collaborators, associates, staff and anyone who cooperates in the work respect the secret. Article 5.7 of the Código Deontológico says the same. A trainee who pastes a brief into a personal chatbot account is acting inside the lawyer's duty.

### Is there a rule about technology?

Article 21 of the Código Deontológico covers information and communication technologies. Using them does not exempt a lawyer from the deontological rules. Lawyers must take extreme care to preserve confidentiality and professional secrecy when they use them.

### Has the Spanish bar said anything about AI?

Yes, about verification. The CGAE's interpretative circular 3/2026 on generative AI says the lawyer reads everything before signing it, checks rules and case law against reliable legal sources, and remains responsible for the result, not the tool. On data, it asks for extreme care in deciding what is entered into the AI. It says confidentiality and professional secrecy will be dealt with in another circular.

## What the European bars advise

### Can I enter client information into a chatbot?

The CCBE, which represents the bars of Europe, published a guide on generative AI for lawyers on 2 October 2025. It says lawyers should refrain from entering personal, confidential or other client related data into a generative AI tool unless appropriate safeguards are in place. It also notes that a lawyer can breach professional or data protection duties already at the moment of input. It asks lawyers to read the provider's terms to understand how entered data is used.

### Which safeguards does the CCBE give as examples?

- Contractual confidentiality obligations on the provider.
- Zero data retention.
- A data protection agreement that limits use to the firm's purposes.
- Local or secured environment setups.

Each of these is something you can check in a contract or a configuration before a single file goes in. The CCBE gives them as examples and does not say which are enough. None of them settles professional secrecy on its own.

### Do I have to tell the client?

The CCBE guide asks lawyers to be transparent where an informed client would object to or have reservations about the use of generative AI. Your engagement letter is one natural place to address it. Telling the client is not a safeguard: article 5.10 of the Código Deontológico says the client's consent does not excuse the lawyer from preserving professional secrecy. Your Colegio can tell you what it expects.

### Three setups for a law firm

| Setup | Where client files go | When it fits |
| --- | --- | --- |
| Business chat plan with a data processing agreement | To the provider's cloud, under its business terms | Work that involves no secret material, such as general research and internal administration |
| Claude in the firm's own cloud account | To an account in the firm's name, processed in Europe where the platform offers it | Firms that want Claude under their own contract with the cloud provider |
| AI system in the office | They stay in the building | Files the firm decides must not leave the office |

The second setup is what we call [Private Cloud AI](https://tkmstudio.com/services/private-cloud-ai). On Amazon Bedrock, for example, the firm can set its account to zero data retention in the Region it uses, and Bedrock then blocks every model that requires retention. Anthropic's Fable models currently require it unless AWS approves the account for zero retention on that model: prompts and outputs are kept inside AWS for up to 30 days and can be reviewed by AWS. Other Claude models, such as Opus 4.8, accept zero retention. Which model the firm runs is the first decision in this setup.

The third is [Private AI](https://tkmstudio.com/services/private-ai): open models on a machine in your office. They are less capable than the leading cloud models and suit routine work such as summaries and first drafts, which a lawyer still checks.

The CCBE's examples map onto these setups: a data protection agreement and contractual confidentiality in the first, zero data retention where the model allows it in the second, a local setup in the third.

### Before anyone uses AI on a client file

- List the AI tools in use in the firm, personal accounts included.
- Stop client documents going into personal accounts today.
- Decide which matters and documents may go into which tool.
- Read the terms of every tool you approve: training, retention and access.
- Make verification the rule: nothing drafted with AI is signed unread.
- Train everyone who uses the tools, trainees and administrative staff included.

The AEPD's October 2026 recommendations point the same way for any workplace: use only the assistants your organisation authorises, and never connect professional email or documents to a personal AI account.

### How firms like yours set this up

We start from two lists: the tools the firm uses today and the files that must stay under its control. For files that must stay in the office we install Private AI. When the firm wants Claude under its own contract, we set up Private Cloud AI. The rules and the training are our [AI Adoption](https://tkmstudio.com/services/ai-adoption) work.

The AI Act gives a second reason to train. Article 4, as amended by Regulation (EU) 2026/1744, requires providers and deployers of AI systems to take measures to support the AI literacy of their staff and of other people who use AI systems on their behalf. [Our guide for teams already using ChatGPT](https://tkmstudio.com/library/team-uses-chatgpt-on-personal-accounts) explains what that means in practice.

No setup makes a firm compliant or settles professional secrecy on its own. The decision on your obligations stays with you, guided by your Colegio and your data protection adviser.

## Sources

- [BOE, Royal Decree 135/2021, Estatuto General de la Abogacía Española, articles 22.1 and 22.4](https://www.boe.es/buscar/act.php?id=BOE-A-2021-4568)
- [Código Deontológico de la Abogacía Española, articles 5.7, 5.10 and 21 (copy published by the Colegio de la Abogacía de León)](https://www.ical.es/wp-content/uploads/2019/11/CODIGO-DEONTOLOGICO.pdf)
- [CGAE, interpretative circular 3/2026 on generative AI and the duty to verify](https://www.abogacia.es/wp-content/uploads/2026/04/CIRCULAR-INTERPRETATIVA-DEL-CODIGO-DEONTOLOGICO-3-2026.pdf)
- [CCBE, Guide on the use of generative AI by lawyers, 2 October 2025](https://www.ccbe.eu/fileadmin/speciality_distribution/public/documents/IT_LAW/ITL_Guides_recommendations/EN_ITL_20251002_CCBE-guide-on-the-use-of-the-use-of-generative-AI-for-lawyers.pdf)
- [AEPD, decalogue for users of AI assistants and agents (PDF), October 2026](https://www.aepd.es/guias/decalogo-usuarios-asistentes-agentes-ia.pdf)
- [AWS, Amazon Bedrock data retention](https://docs.aws.amazon.com/bedrock/latest/userguide/data-retention.html)
- [AWS, Claude Sonnet 5.5 model card (EU inference profile)](https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-anthropic-claude-sonnet-5-5.html)
- [Regulation (EU) 2026/1744 (Digital Omnibus on AI), amending article 4 of the AI Act](https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=OJ:L_202601744)

## Read next

- [My team already uses ChatGPT on personal accounts. What do I do?](https://tkmstudio.com/library/team-uses-chatgpt-on-personal-accounts) -> https://tkmstudio.com/md/en/team-uses-chatgpt-on-personal-accounts.md
- [Can I use AI with confidential client data?](https://tkmstudio.com/library/can-i-use-ai-with-confidential-client-data) -> https://tkmstudio.com/md/en/can-i-use-ai-with-confidential-client-data.md

See how Private AI keeps client files in the office https://tkmstudio.com/services/private-ai
