The LGPD (Lei Geral de Proteção de Dados, Law No. 13,709/2018) is Brazil's General Data Protection Law, the law that defines how personal data may be processed. Inspired by the European data protection regulation, the GDPR, it brought to Brazil a set of principles, rights and obligations that apply both to private companies and to the public sector. It has been in force since September 2020, and sanctions have applied since August 2021.
To understand the LGPD, start with three simple questions: what it protects, who is responsible and who it applies to. The answers, in plain language, give you a foundation before you move on to the practical steps of compliance.
This guide covers the technical security layer that supports personal data protection. It is informational content, not legal advice, and it does not replace guidance from your company's DPO or legal team.
What counts as personal data
Personal data is any information that identifies or can identify a natural person. The obvious counts (name, Brazilian CPF taxpayer number, email, phone number, address), but so does the less obvious: an IP address, a device identifier, a piece of geolocation data or a set of details that, taken together, point to someone. What matters is the ability to identify the person, directly or indirectly.
Part of this data gets stronger protection. This is sensitive personal data, which reveals racial or ethnic origin, religious belief, political opinion or trade union membership, data about health or sex life, as well as genetic and biometric data. Because the potential for discrimination is greater, processing sensitive data requires a specific legal basis, listed in Article 11 and narrower than the general list.
- Personal data: identifies or can identify a person
- Sensitive data: health, biometrics, religion, political opinion and the like
- Anonymized data: loses the link to the person and falls outside the scope, if the anonymization is real
- Processing: any operation on the data, from collection to disposal
The principles that guide the law
Before the specific rules, the LGPD sets out in Article 6 the principles that guide all data processing. Think of them as a compass. When the law has no ready answer for a case, the principles point the way, and knowing them helps you make consistent decisions in situations no manual anticipated.
- Purpose: process data for legitimate, specific purposes disclosed to the data subject
- Adequacy and necessity: collect only what the purpose requires, without excess
- Free access and data quality: allow easy consultation and keep data accurate and up to date
- Transparency: explain clearly how the data is processed
- Security and prevention: protect the data and act to prevent harm
- Non-discrimination: do not process data for unlawful discriminatory purposes
- Accountability: demonstrate that the measures were adopted
The necessity principle has a direct effect on security: the less data the company keeps, the smaller the surface it has to protect and the smaller the damage from a possible leak. Accountability, in turn, requires the company to show with documents and controls that the protection really exists, and that turns good intentions into evidence.
Who the processing agents are
The LGPD spreads responsibilities across roles. The controller is the one who makes the decisions about the processing, meaning it defines why and how the data is used. The processor handles the data on behalf of the controller and follows its instructions, as a cloud provider or a payroll company does. The same company can be the controller of some data and the processor of other data.
The DPO (called encarregado under the LGPD) is the person appointed to be the channel between the company, the data subjects and the ANPD (Brazil's National Data Protection Agency). The data subject is the person the data refers to, and the whole law revolves around that person. Knowing who is who matters because the obligations change with the role: the controller answers for the decisions, and the processor answers for following the instructions and for security.
The role of the ANPD
The ANPD is the body that enforces and regulates the LGPD. It issues the resolutions that detail the law, guides companies and citizens, investigates complaints and applies administrative sanctions when the law is not followed. The acronym is the same, but the name and status have changed. With Provisional Measure No. 1,317/2025, converted into Law No. 15,352/2026, the National Data Protection Authority gave way to the National Data Protection Agency. The ANPD is now a regulatory agency, like Anatel and Aneel, linked to the Ministry of Justice and Public Security and with functional, technical, decision-making, administrative and financial autonomy.
In practice, much of what a company needs to know to comply is in the resolutions issued by the ANPD, beyond the text of the law itself. The rules on small-scale processing agents, incident notification, how fines are calculated and international transfers come from these complementary regulations, which the authority keeps publishing and updating.
Who the LGPD applies to
The LGPD reaches any processing operation carried out in Brazil, that processes data of people who are in Brazil or that aims to offer goods and services to people in the country. This holds for private companies of any size, for the public sector and even for foreign companies that serve the Brazilian market. Being small does not take anyone out of the reach of the law.
There are a few scope exceptions. The law does not apply to processing done by a natural person for exclusively private purposes, to journalistic, artistic or academic purposes (within certain limits) or to public security and national defense matters, which have their own regime. Outside these cases, the rule is that the LGPD applies.
Practical checklist
- Recognize which company information is personal data
- Identify whether sensitive data is processed
- Know whether the company is a controller, a processor or both
- Understand the role of the DPO and of the data subject
- Confirm that the operation falls within the reach of the law
- Follow the ANPD resolutions as well as the text of the law
Best practices
- Treat anything that can identify someone, directly or indirectly, as personal data
- Pay extra attention to sensitive data and its specific legal basis
- Map the role the company plays in each data flow
- Use the ANPD resolutions as a source, in addition to the law
- Do not confuse real anonymization with just removing the name
Common mistakes
- Thinking that only name and CPF count as personal data
- IP addresses, geolocation and identifiers are left out of the controls and the mapping.
- Treating sensitive data as ordinary data
- The company uses a legal basis the law does not allow for that type of data.
- Confusing the controller and processor roles
- Responsibilities and contractual obligations end up poorly defined.
- Assuming a small company is outside the LGPD
- The company ignores obligations that apply to it, even under the flexible regime.
Further study: recommended courses
These free courses from Valor Final are taught in Portuguese. They help you take the subject of this guide from theory to practice at your own pace.
Curso de LGPD Essencial
FreeFree LGPD course for people who work at a company. In plain language and based on official sources, it shows in practice what can and cannot be done with the data of customers, coworkers and suppliers. Course in Portuguese.
Valor Final View courseCursos do Valor Final
With certificateA portal of free online courses that issues a certificate when you complete a course. The privacy and data protection track starts with the LGPD course and adds new courses over time. Courses in Portuguese.
Valor Final View course
Authorship and review
Cesar Gargiulo
CEO and founder of GUARDIASEC. Technical and editorial lead for the content published in this library.
Published on . Found a technical error? Write to [email protected] and we will correct it and keep a record of the change.