Skip to content

LGPD compliance: the complete guide to bringing your company in line with the law

Complying with Brazil's data protection law takes decisions and controls that keep working over time. It is not a seal you buy once. This guide covers the whole process.

Reading time
15 min
Published

Brazil's General Data Protection Law (Lei Geral de Proteção de Dados, or LGPD, Law No. 13,709/2018) has been in force since September 2020, and its administrative sanctions have applied since August 2021. It covers practically any organization that processes data about people in Brazil, whether a multinational or a neighborhood clinic, of any size and in any sector. Enforcement falls to the ANPD, which Law No. 15,352/2026 made the National Data Protection Agency, a regulatory agency linked to the Ministry of Justice and Public Security, and which has been publishing the rules that spell out how the law works in practice.

Many people imagine that bringing a company into LGPD compliance means signing a document or hanging a seal on the wall. In practice, the work involves a set of decisions and controls that have to really exist and keep working: knowing what data the company processes and why, who can access it, how people exercise their rights and what happens when something goes wrong. The steps below follow that order, and each one points to a specific guide that goes deeper into the topic.

One clarification before we start. GUARDIASEC works on the technical information security layer that supports data protection (access, encryption, exposure and traceability). Legal decisions, such as choosing the legal basis for a processing activity or drafting a contract, belong to the legal team and to the DPO (called encarregado under the LGPD). This guide explains the law and the path to compliance, but it does not replace a legal opinion.

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 the LGPD requires of a company

The LGPD regulates the processing of personal data, and "processing" here means any operation on that data: collecting, storing, using, sharing, transferring or disposing of it. Personal data is any information that identifies or can identify a person, which includes a name and a CPF (the Brazilian individual taxpayer number), but also an IP address and geolocation. Some data gets stronger protection. This is sensitive data, which reveals racial origin, religious belief, political opinion, health or sex life, or which is genetic or biometric.

The law is organized around principles such as purpose, necessity, transparency and security, and around the concrete obligations that come from them. Put simply, a compliant company can answer a few questions with facts: what data do I process, why, under which legal basis, who accesses it, who do I share it with, how do I handle people's rights and what do I do if there is a leak. Compliance consists of building those answers and keeping them true as time goes by.

  • Map the personal data processed and where it is stored
  • Define the legal basis for each processing activity
  • Be transparent through privacy notices and consent management
  • Respond to data subject rights within the deadlines
  • Appoint a DPO or keep a contact channel
  • Put contracts with processors and international transfers in order
  • Apply information security to the data
  • Prepare incident response and notification to the ANPD
  • Document governance as evidence of accountability

Step 1: map the personal data the company processes

You cannot protect or control what you do not know you have. That is why the first step is to find out which personal data the company collects, where it comes from, where it is stored, who has access, who it is shared with and how long it is kept. This inventory usually brings surprises, such as spreadsheets with customer data on personal drives, old backups nobody remembered and integrations that send data to vendors without clear control.

Almost everything that comes next rests on the mapping. With it in hand, you define the legal basis for each data flow, estimate the risk, decide what can be discarded and organize the record of processing operations that the law provides for. Without that picture, the rest of the compliance project moves in the dark.

Every processing of personal data has to rest on one of the ten legal bases in Article 7 of the LGPD. Consent is the best known, but it is far from the only one, and it is often not the best choice. Compliance with a legal obligation, performance of a contract to which the data subject is a party and the legitimate interest of the controller support much of the everyday processing of a company. Sensitive data follows its own, narrower list, in Article 11.

The classic mistake is asking for consent for everything, including operations the company has to carry out anyway, such as issuing an invoice. The problem is that consent can be withdrawn at any time. If a mandatory processing activity rests on it, the company has no way out the day the data subject says no. Fitting each flow to the right basis is a legal decision, and it depends on the mapping done in the previous step.

Step 3: transparency through the privacy notice and consent

The LGPD requires that people know what happens to their data. The usual tool for this is the privacy notice, the text that clearly explains what data the company collects, for what purpose, under which legal basis, who it shares the data with and how people exercise their rights. A generic notice copied from the internet usually describes some other company, and that weakens compliance instead of strengthening it.

When the basis is consent, it has to be free, informed and specific. The person has to understand what they are agreeing to, and the company needs to record when and how consent was given. Cookie banners that only offer an accept button do not meet that standard. Consent and cookie management is, by the way, one of the most visible parts of compliance, since any visitor to the website can see it.

Step 4: respond to data subject rights

The law gives people a set of rights over their data, listed in Article 18: confirming whether processing takes place, accessing the data, correcting wrong information, requesting anonymization or deletion, obtaining portability, knowing who the data was shared with and withdrawing consent. Article 20 adds the right to request a review of decisions made solely by automated systems.

Having the rights written into the law solves nothing if the company cannot honor them in practice and within the deadlines. For that, it needs a channel to receive requests, a process to locate the person's data across every system and a secure way to respond that confirms the identity of the requester. If an access request is not answered in time, that is a sign the mapping and the processes still have holes.

Step 5: appoint the DPO and open a contact channel

The DPO (the LGPD calls the role encarregado and covers it in Article 41) is the person who connects the company, the data subjects and the ANPD. This person receives complaints, guides employees and deals with the authority. The identity and contact details of the DPO must be made public, preferably on the company website.

Small businesses get more flexibility. Resolution CD/ANPD No. 2/2022 exempts small-scale processing agents from the mandatory appointment of a DPO, provided they keep a communication channel with data subjects. Even when the company is exempt, appointing a DPO counts as good governance practice and helps in the relationship with the ANPD.

Step 6: organize contracts, processors and transfers

Few companies process data alone. It is common to use a cloud service, an email marketing tool or an outsourced payroll provider. Every vendor that processes personal data on behalf of the company is a processor, and the relationship has to be set out in a contract that says what each party can do with the data and which security guarantees are required.

When data leaves Brazil, international transfer rules come into play. Resolution CD/ANPD No. 19/2024 regulated the subject and defined mechanisms such as standard contractual clauses. The deadline for adding the ANPD's standard contractual clauses to existing contracts ended in August 2025, so any company that uses services hosted outside the country has a concrete item to review here.

Step 7: apply information security to the data

The LGPD requires security measures capable of protecting data from unauthorized access and from accidental or unlawful situations. This is where data protection meets information security, and technical controls are what take the principles off paper. The main ones are minimum access (each person and each system sees only what it needs), encryption of data at rest and in transit, logging of access to sensitive data and segregation between production and test environments.

These controls reduce the likelihood of an incident and the size of the damage when one happens. They also produce evidence: access logs, encryption documentation and retention policies show, with facts, that the company took care of the data. This is the layer where GUARDIASEC works. We assess exposure and traceability and hand that technical evidence to the DPO and the legal team.

Step 8: prepare incident response

No company is immune to a data leak, and the law expects you to be prepared for one. Resolution CD/ANPD No. 15/2024 set a deadline of three business days to notify the ANPD and the affected data subjects of an incident that involves personal data and may cause significant risk or harm. For small-scale processing agents, the deadline is doubled.

Three business days go by fast if you only start organizing the response after the incident. Being prepared means having a defined plan, knowing who calls whom, being able to assess quickly which data was affected and what the risk is to the people involved, and having notification templates ready. The notice to data subjects must state the nature of the data, the risks, the measures taken and the contact details of the DPO.

Step 9: document governance and evidence

The LGPD works with the concept of accountability: being responsible for the data and being able to answer for it. Besides being compliant, the company has to be able to show that it is. That takes living documentation: the record of processing operations, internal policies, contracts with processors, impact reports (where they apply) and the history of handling data subject requests and responding to incidents.

This documentation has practical use. It is what the company presents if the ANPD asks, and it is what guides the team day to day. The RIPD (the LGPD's data protection impact report, similar to a DPIA) goes deeper into the analysis for higher-risk processing and may be required by the authority. With well-run governance, compliance stops being a one-off project and becomes a practice that lasts.

How to prioritize when you cannot do everything at once

The list of steps looks long, and no company gets through all of it in a week. Instead of freezing in front of it, prioritize by risk. Mapping always comes first, because it supports everything else. After that, go after what hurts most: processing of sensitive data, flows exposed to the internet and the points where a leak would cause the most harm to people and to the company. Done in that order, compliance starts reducing risk from the very first steps.

  • Start with mapping, which guides every priority that follows
  • Prioritize the processing of sensitive data and high-volume processing
  • Close the most serious technical exposures first, such as broad access and exposed data
  • Set up a channel for data subject requests before refining the rest
  • Have a minimal incident response plan early on, even a simple one
  • Document what already exists to show progress, and build out what is missing

Recording the prioritization decision also counts. If the company documents why it tackled the highest risks first, it shows that it acts with sound criteria, and that supports accountability far better than a disorganized race to cover every item at the same time.

Training people, the missing piece in most projects

Most data incidents start with an ordinary everyday action. Someone forwards a spreadsheet to the wrong email address, takes a photo of a screen showing customer data or uses an unapproved tool to speed up a task. No contract or technical control solves this alone if people do not understand what they can and cannot do with the data. Without training, compliance turns into a set of documents nobody follows.

Bringing that understanding to the whole team is part of compliance, and it does not have to cost much. Valor Final's Curso de LGPD Essencial, taught in Portuguese, is free, uses plain language and was designed for people who work at companies and handle data about customers, colleagues and suppliers every day. It is a direct way to give everyone, and not only the people who take care of security, the grounding the law expects of them.

Practical checklist

  • Map which personal data the company processes and where it is stored
  • Define the legal basis for each processing activity, without basing everything on consent
  • Publish a privacy notice that describes the company as it really is
  • Fix consent and cookie management
  • Create a channel and a process to respond to data subject rights
  • Appoint a DPO or keep the contact channel allowed for small businesses
  • Write contracts with processors and review international transfers
  • Apply minimum access, encryption and access logging to the data
  • Have an incident response plan that keeps the notification deadline in mind
  • Document governance as evidence of accountability
  • Train people to handle data in their daily work

Best practices

  • Start with mapping; it supports every other decision
  • Choose the right legal basis instead of asking for consent for everything
  • Treat compliance as an ongoing practice with no end date
  • Shrink your data footprint by discarding what is no longer needed
  • Keep technical evidence that the controls were applied
  • Involve people through training, because the biggest risk is behavioral

Common mistakes

Treating the LGPD as a single document to be signed
The company accumulates outdated paperwork that does not reflect how it actually operates.
Basing all processing on consent
When the data subject withdraws consent, operations the company needs to perform are left without a basis.
Copying another company's privacy notice
The text describes processing that does not exist and leaves out the processing that does.
Leaving incident response until after the incident
The three-business-day deadline runs out before the company gets organized.
Investing in documents and ignoring training
The controls exist on paper, but human error keeps opening gaps.

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.

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.

Frequently asked questions

Does the LGPD apply to my company even if it is small?
Yes. The LGPD applies to any organization that processes personal data of people in Brazil, whatever its size or sector. The difference for small businesses is the more flexible regime of Resolution CD/ANPD No. 2/2022, with doubled deadlines, a simplified record and an exemption from the mandatory appointment of a DPO. The core obligations still apply.
How long does it take to bring a company into LGPD compliance?
It depends on the size and complexity of the processing, and nobody can honestly give a single timeframe. The most important thing to understand is that compliance does not end. Even after mapping the data, defining the legal bases and applying the controls, the company has to keep everything up to date as its operations change. It is a routine with no end date.
Does GUARDIASEC handle the legal side of compliance?
No. GUARDIASEC works on the technical information security layer that supports data protection: access, encryption, exposure, traceability and evidence. Legal decisions, such as choosing legal bases, drafting contracts and defining the privacy program, stay with the legal team and the DPO. One kind of work complements the other.
Do I need consent for everything?
No. Consent is just one of the ten legal bases in Article 7 of the LGPD, and it is often not the most appropriate one. Compliance with a legal obligation, performance of a contract and legitimate interest cover much of everyday processing. If you rely on consent for an operation the company has to carry out anyway, the problem shows up the day the person withdraws it.
Where do I start?
With data mapping. Without knowing what data the company processes, where it is and who accesses it, every other decision is made in the dark. With the map in hand, you can define the legal bases, estimate the risk, decide what to discard and organize the controls. In parallel, it pays to train people early, because that reduces the most common risk, which is behavioral.
Do I need a consultancy to comply with the LGPD?
It depends on the size and complexity of the operation. Smaller companies can make a lot of progress on their own, starting with mapping and training. As processing becomes more complex, specialist support helps speed things up and avoid mistakes. In that arrangement, the legal team handles the legal decisions and a technical partner assesses access, encryption and data exposure. GUARDIASEC works in that technical layer, without replacing the legal work.

When to bring in specialist help

GUARDIASEC's security and LGPD service, together with our security consulting, covers the technical security layer that compliance depends on. We assess access, encryption, exposure and traceability of the data and hand technical evidence to the DPO and the legal team, without issuing legal opinions. Legal decisions and the privacy program remain with the legal team and the DPO.

If you are evaluating a provider, describe the environment and the timeline, and we will send you a written proposal. Request a proposal for security and LGPD