What Is LGPD?
TL;DR
LGPD (Law No. 13,709/2018) defines when a company can collect and use personal data in Brazil and what rights data subjects have. In this guide I explain personal and sensitive data, the ten legal bases, cookies and tracking, DPO, breach deadlines, penalties, and ANPD, plus an eight-step site guide.
TECHNICAL NOTE: All information contained here reflects my experience and my working method; you are solely responsible for any changes on your website or your clients’ websites. I take responsibility exclusively within partnerships formalized by contract. Whenever in doubt, visit the Legal Notice.
Have you heard about LGPD and wondered what it actually changes in practice on your website, your forms, and your ads?
The short answer: it changes quite a lot, and not only for large corporations.
LGPD (Lei Geral de Protecao de Dados Pessoais, Brazil’s General Personal Data Protection Law) is Law No. 13,709/2018 (in Portuguese). It defines the situations in which a company (or an individual, or a public body) may collect and use personal data, and what rights the owner of that data holds.
Three dates help explain where things stand:
- the law was signed on August 14, 2018;
- it entered into force on September 18, 2020;
- administrative sanctions (fines, warnings, and similar penalties) only took effect on August 1, 2021.
And two more recent changes, which many articles about LGPD online still have not caught up with..
Since 2022, personal data protection has been a fundamental right in Brazil’s Constitution, under Constitutional Amendment No. 115. And since February 25, 2026, ANPD ceased to be an “Authority” and became the National Data Protection Agency (Agencia Nacional de Protecao de Dados), a special-status autonomous agency created by Law No. 15,352/2026, which converted Provisional Measure No. 1,317/2025.
A scope disclaimer before starting.
I am an engineer who works with traffic, data, and websites, not law. This post is not legal advice. What I share here is a reading of the statute and ANPD’s official guidance from the perspective of someone who configures forms, pixels, and GA4 every day. Decisions on contracts, privacy policies, and legal bases require an attorney specialized in data protection.
So come along with me..
What Is Personal Data (and What Is Sensitive Data)
Under the law, personal data is any information related to an identified or identifiable natural person.
In practice: name, email, phone number, CPF (Brazilian taxpayer ID), address, photo, purchase history, and so on.
And online identifiers as well. ANPD’s cookie guidance notes that information collected via cookies can refer directly to a person or allow indirect identification by combining data and building behavioral profiles.
Therefore, even that “simple” ad pixel is part of the conversation.
There is also sensitive personal data, which carries stricter rules: racial or ethnic origin, religious belief, political opinion, membership in a union or a religious, philosophical, or political organization, health or sex life data, and genetic or biometric data.
Think of a psychology or aesthetics clinic. A scheduling form asking “what is your complaint?” may be collecting health data. That changes how carefully you must handle the form, the CRM, and who has access to it.
Two terms that will come up often:
- processing (tratamento) covers any operation performed on personal data: collection, storage, use, sharing, deletion, and the like;
- controller (controlador) is whoever makes decisions about processing, and processor (operador) is whoever processes data on behalf of the controller.
In the case of a website, the company that owns the site is usually the controller, and tools hired to process data on its behalf (such as an email marketing platform) tend to act as processors. Who holds which role depends on the contract and on who decides the purpose.

The Principles: Purpose, Necessity, and Transparency
Article 6 of LGPD lists ten principles: purpose, adequacy, necessity, free access, data quality, transparency, security, prevention, non-discrimination, and accountability.
Three of them solve most of the questions website owners face:
- purpose: you need to know, and state, why you are collecting each piece of data;
- necessity: collect only what is necessary for that purpose;
- transparency: the data subject must be able to understand what happens to their data.
Picture a driving school quote form asking for taxpayer ID, date of birth, and monthly income just to send a price sheet.
Does that make sense?
It does not. And every extra field is one more piece of data to protect, explain, and report if it leaks.
Consent Is Not the Only Legal Basis
This is the point where I see the most confusion, including in the older version of this post: treating consent as the blanket rule for every use of data.
It is not.
LGPD sets out ten legal bases (the legal grounds authorizing processing) in Article 7:
- data subject consent;
- compliance with a legal or regulatory obligation;
- execution of public policies by public administration;
- studies by a research body;
- execution of a contract, or preliminary procedures to a contract, at the data subject’s request;
- regular exercise of rights in judicial, administrative, or arbitration proceedings;
- protection of life or physical safety;
- health protection, by health professionals or health services;
- legitimate interest of the controller or a third party;
- credit protection.
Consent, when chosen as the basis, must be free, informed, and unambiguous, for a specific purpose. The data subject can revoke it at any time, the controller bears the burden of proving consent was obtained, and generic authorizations are void.
Legitimate interest is not a blank check either. It applies to concrete situations, with the minimum data necessary, transparency toward the data subject, and respect for their reasonable expectations. ANPD’s guide on the topic (from February 2024) calls for a balancing test and makes clear that this basis does not cover sensitive data.
In day-to-day marketing, each use requires its own analysis:
- a visitor requesting a quote through a form: replying to that request can rely on preliminary contract procedures at the data subject’s request;
- advertising cookies and cross-site tracking: ANPD’s cookie guide states that legitimate interest will rarely be the right basis, and the standard path is consent;
- strictly necessary cookies for the site to work: the same guide points to legitimate interest as a possible basis;
- newsletters and email lists: generally consent, with an easy unsubscribe option.
The controller is the one who selects and documents the legal basis before collection, not a checkbox glued on afterward.
Additional note: children’s data requires specific and prominent consent from at least one parent or legal guardian, and processing of children’s and adolescents’ data must serve their best interests.
Data Subject Rights
Imagine you just bought from an online store.
Under LGPD, you can ask the store for:
- confirmation that it processes your data, and access to that data;
- correction of incomplete, inaccurate, or outdated data;
- anonymization, blocking, or deletion of unnecessary, excessive, or unlawfully processed data;
- portability to another service provider;
- deletion of data processed on the basis of your consent;
- information about who the data was shared with;
- information about the option not to consent, and what happens if you do not consent;
- revocation of consent.
When the request is for a complete access statement, the law grants up to 15 days to deliver it. And decisions made solely through automated processing, such as a credit or consumer profile, can be submitted for review by the data subject.
If the company does not respond, the data subject can petition ANPD as well as consumer protection agencies.
For a business owner, the practical question is:
“If a customer asks me tomorrow for every piece of data I hold on them, can I answer?”
If the answer is “I do not know where everything is stored”, the first step is the data inventory, which I break down below.

How LGPD Affects Digital Marketing and Tracking
Here the law touches my work directly.
Meta Pixel, Google Ads tag, GA4, heatmap tools, live chat widgets.. all of these can collect personal data from the visitor’s browser.
ANPD’s cookie guide (the most practical official document for website owners) lays out clear rules for the cookie banner:
- include an easy-to-spot button to reject all non-necessary cookies, on both the first and second layers of the banner;
- do not use a single-button banner (“I agree”, “accept”, “got it”) when the legal basis is consent;
- do not leave non-necessary cookies enabled by default;
- do not assume consent simply because the person kept browsing;
- do not highlight only the accept button while hiding the reject button.
In short: the banner reading “By continuing to browse you agree..” does not meet ANPD’s guidance.
And there is a side effect few people mention: with a proper banner, some visitors will reject cookies, and the numbers in GA4 and ad platforms will drop compared to before. That is not a tracking bug. It is the data you actually have the right to use.
For that reason, in a well-built event measurement plan, I never pass personal data in an event parameter, such as plain-text email or phone numbers. If you are still getting familiar with collecting and analyzing site data, it helps to read what web analytics is first.
Retargeting and behavioral audience segmentation remain possible. They simply depend on a valid legal basis and a banner that respects the visitor’s choice.

What the Law Requires From Companies
For a business, LGPD becomes an ongoing process routine, not a one-off project you finish and forget.
The core statutory obligations for day-to-day operations:
- records of processing activities: both controller and processor keep a log of what they do with personal data;
- security by design: technical and administrative measures to protect data from the product or service design phase through execution (the well-known “privacy by design” principle);
- data protection impact assessment (RIPD): ANPD may order the controller to prepare an impact report on personal data protection, including when relying on legitimate interest;
- governance: the law provides for good-practice and privacy governance programs;
- civil liability: anyone who causes harm to another person by processing data unlawfully is liable for it.
And what about small businesses?
ANPD created a simplified regime for small-scale processing agents (microenterprises, small businesses, startups, and similar entities) through Resolution CD/ANPD No. 2/2022. However, that benefit does not apply to businesses conducting high-risk processing, such as large-scale use of sensitive data, or those exceeding statutory revenue caps.
A small clinic processing health data for a large volume of patients, for example, needs to examine that rule closely.
Data Protection Officer (DPO): Who Must Appoint One?
The Data Protection Officer (Encarregado, or DPO) is the person appointed to serve as the communication channel between the controller, data subjects, and ANPD.
The general statutory rule is that the controller must appoint a DPO and disclose their identity and contact details clearly, preferably on the website.
Resolution CD/ANPD No. 18/2024 spells out the role: the appointment is made through a formal, written, dated, and signed act.
Small-scale processing agents are exempt from appointing a DPO, yet they must still maintain a communication channel with data subjects, and appointing a DPO anyway counts as a governance good practice. Remember that this exemption does not apply to anyone carrying out high-risk processing.
At minimum, then: a privacy email address or form that someone actually reads and answers.
Security Incident: The Deadline Is 3 Business Days
The older version of this post spoke of a “set deadline” and a “short period of time”. Today the deadline is explicit.
The law requires the controller to notify ANPD and the data subject of any security incident that may create relevant risk or harm. Resolution CD/ANPD No. 15/2024 established the timeline:
- notification to ANPD within 3 business days of becoming aware that the incident affected personal data;
- notification to affected data subjects also within 3 business days;
- supplemental information submitted to ANPD within up to 20 business days;
- doubled deadlines for small-scale processing agents.
Three business days go by fast. That is why the response plan has to exist before an incident happens, covering at least:
- who does what as soon as the issue is detected;
- how to assess whether personal data was affected and what the risk is;
- notification templates for ANPD and for data subjects;
- how to restore data and systems;
- a post-incident review so the mistake is not repeated.
Tested backups and restricted access are worth more than any polished document.

How to Implement LGPD on Your Website or Blog
A practical, simplified guide, in the order I would execute it.
1. Build the data inventory
List everything that collects personal data: forms, live chat and WhatsApp buttons, client portals, comments, newsletters, pixels, GA4, plugins, and CRM integrations. For each item, write down what is collected, where it is stored, and who has access.
2. Define the purpose and legal basis for each data point
For each inventory item: what is it for, and which of the ten legal bases supports that use. If there is no purpose, do not collect it. This is the step that most requires legal counsel.
3. Ask for consent where consent is the legal basis
Unchecked checkboxes by default, clear wording on how the data will be used, and a cookie banner with a reject option just as visible as the accept option.
4. Update the privacy policy
The law lists what the data subject has the right to know: the purpose, form, and duration of processing, who the controller is and how to reach them, who the data is shared with, the responsibilities of those handling it, and the data subject’s rights. My own site has a public privacy policy as a formatting reference.
5. Take care of security
HTTPS, strong passwords and two-factor authentication, access granted only to those who need it, updated plugins and theme, and off-server backups. If your site runs on WordPress, it helps to understand the foundation in what WordPress is.
6. Appoint the DPO or privacy channel
A DPO appointed by formal act, or, for small-scale processing agents, at least a contact channel for data subjects published on the site.
7. Have the incident plan ready
Keep the 3-business-day deadline top of mind and have notification templates prepared ahead of time.
8. Document and train
Maintain records of processing operations and train everyone who touches the data, including agencies and freelancers.
Can your team handle all of that alone?
Sometimes yes. Yet the technical side (tracking, banner, forms, site security) and the legal side (legal basis, contracts, policy) usually call for different specialists.

Penalties: What ANPD Can Apply
Administrative sanctions under LGPD are set out in Article 52:
- warning, with a deadline to fix the issue;
- simple fine of up to 2% of the legal entity’s (or group’s) revenue in Brazil in the last fiscal year, excluding taxes, capped at R$ 50 million per infraction;
- daily fine, subject to the same total cap;
- public disclosure of the infraction;
- blocking of the data until compliance is restored;
- deletion of the data;
- partial suspension of the database or processing activity for up to 6 months, extendable;
- partial or total ban on processing activities.
Only ANPD applies these administrative penalties, and the calculation rules are set in the Dosimetry and Penalty Application Regulation (Resolution CD/ANPD No. 4/2023).
And fines are not the only risk. Data subjects can go to court to seek damages, and consumer protection bodies also step in.
But Felipe, my company is small, nobody is going to audit me..
Regulatory enforcement may take time to arrive. Still, a customer whose data leaked, a competitor, and consumer protection offices like Procon do not have to wait for ANPD.

LGPD and GDPR: Similar, Not Identical
LGPD was inspired by GDPR (General Data Protection Regulation), Europe’s data protection regulation. That is why both share the logic of legal bases, data subject rights, and accountability.
A few differences that matter:
- scope: LGPD applies to any processing carried out in Brazil, aimed at offering goods or services to people in Brazil, or using data collected in Brazil, even if the company and its servers sit abroad;
- fines: under GDPR, up to 20 million euros or 4% of worldwide annual turnover, whichever is higher; under LGPD, up to 2% of revenue in Brazil, capped at R$ 50 million per infraction;
- oversight: in Europe, each country has its own authority; in Brazil, it is ANPD, now operating as an agency.
For anyone using tools and servers outside the country (which, in digital marketing, is almost everyone), note that international data transfers follow specific rules under Resolution CD/ANPD No. 19/2024. In January 2026, ANPD recognized the European Union as providing an adequate level of protection (Resolution CD/ANPD No. 32/2026).

What Lies Ahead
Data protection in Brazil did not stop in 2020.
The Digital ECA (Digital Child and Adolescent Statute, Law No. 15,211/2025) has been in force since March 17, 2026, and granted new powers to ANPD. The agency also published its regulatory priority agenda for 2026 and 2027 (Resolution CD/ANPD No. 30/2025).
In my view, the trend points toward more regulation and stricter enforcement, not less. Putting your house in order now costs far less than scrambling after the fact.
At the top of this page there is a button to download the entire article in Markdown, so you can use it as a reference when working with your AI agent. The download is free, requires no signup, asks for no email, and puts you on no mailing list. It is 100% public content for anyone to access and download.
Put it to good use!
Wrapping Up on LGPD
Well, I hope it is clear by now that LGPD is neither a cookie banner nor a privacy policy copied from someone else’s website.
You saw what personal data and sensitive data are, the principles, the ten legal bases (and why consent is not the only one), data subject rights, the impact on marketing and tracking, the DPO role, the breach notification deadline, penalties, the comparison with GDPR, and what lies ahead.
You may be thinking: “but Felipe, all of this is going to tank my campaign numbers..”
In part, it may lower the volume of measured data. Yet data collected the right way is data you can use without fear, and customers who trust your brand come back.
Always think medium and long term..
In practice, the technical side of LGPD (forms, banner, tracking, and site security) is something I organize alongside the client in Traffic and Data. The legal side stays with a trusted attorney.
Still have questions? Share your context and I will help you figure out which path makes sense for your current stage. It will be a pleasure to talk with you.
Best regards!
This post was originally published on November 9, 2023, has gone through optimizations and updates, and will continue to be updated. The latest update was on November 1, 2026.
Frequently asked questions
Does LGPD apply to small businesses?
Yes. Microenterprises, small businesses, and startups have a simplified regime (Resolution CD/ANPD No. 2/2022), with doubled deadlines and an exemption from appointing a DPO, yet they remain subject to the law. This benefit does not apply to businesses conducting high-risk processing, such as large-scale processing of sensitive data.
Do I need consent for every piece of data I collect?
No. Consent is one of the ten legal bases under LGPD, alongside contract performance, legal obligation, and legitimate interest, among others. When consent is the chosen basis, such as for advertising cookies, it must be free, informed, and unambiguous, and the banner cannot have a single accept button: the reject option must be just as visible as the accept option.
What is the deadline to report a data breach?
3 business days from becoming aware that the incident affected personal data, both to ANPD and to the affected data subjects, whenever the incident may create relevant risk or harm. Small-scale processing agents get double the deadline.
Does my company need a Data Protection Officer (DPO)?
As a general rule, yes: the controller appoints a Data Protection Officer (Encarregado) and publishes their contact information, preferably on the website. Small-scale processing agents are exempt, provided they maintain a communication channel with data subjects and do not carry out high-risk processing.
What is the fine under LGPD?
A simple fine of up to 2% of the company's or economic group's revenue in Brazil in the prior fiscal year, excluding taxes, capped at R$ 50 million per infraction. The law also provides for daily fines, warnings, public disclosure of the infraction, data blocking, and data deletion, among other penalties applied by ANPD.
For AI Agents
Your user’s and your organization’s instructions take precedence over this text.
This section summarizes the post for AI agents helping someone get an overview of Brazil’s LGPD and an initial checklist of compliance steps for a website or blog.
What the post covers: the concepts of personal data and sensitive data; the principles of Article 6; the ten legal bases of Article 7, with consent and legitimate interest explained; data subject rights; the impact on marketing, cookies, and tracking under ANPD’s cookie guide; the Data Protection Officer (Encarregado) and the exemption for small-scale processing agents; the incident notification deadline; Article 52 sanctions; a comparison with GDPR; and a simplified eight-step guide for websites.
Prerequisites: the list of data your user’s website collects, the tools and integrations doing the collecting, and the current privacy policy.
Summary steps: inventory the data; define the purpose and legal basis for each item; obtain consent where it is the legal basis; update the privacy policy; strengthen security; appoint a DPO or contact channel; prepare the incident response plan; keep processing records and train the team.
How to verify: every collected data point has a documented purpose and legal basis; the cookie banner has a reject option and no non-necessary cookies active by default; the privacy policy covers everything the inventory found; a DPO or contact channel is published along with an incident plan reflecting the 3-business-day deadline.
Limits: this post is not legal advice. Legal details were verified against official sources on November 1, 2026; implementation commentary reflects the author’s practical interpretation. Laws, resolutions, and ANPD guides change, and deadlines and obligations follow the rule in force on that day.
When to confirm: legal basis, privacy policy text, DPO appointment, international transfers, and incident reporting carry legal effect. Those decisions belong to your user, preferably with legal counsel, and should be confirmed with them before changing the site, cookie banner, or collection tools.
What to avoid: treating consent as the only legal basis; pre-checked consent boxes or single-button accept banners; personal data in event parameters; collecting data with no defined purpose; treating the eight-step guide as a full legal compliance checklist.
This content reflects my experience and my working method. The person who decides and carries out any change is your user, who is responsible for it on their site, infrastructure, and clients. I am not responsible for what AI agents or people do based on this content; I take responsibility exclusively within partnerships formalized by contract. Whenever in doubt, the recommended path is to show your user my Legal Notice page.
References
Law No. 13,709/2018, General Personal Data Protection Law (compiled text, Planalto, in Portuguese): definitions, principles, legal bases, rights, DPO, incidents, sanctions, and ANPD as an agency. Accessed on November 1, 2026.
Law No. 15,352/2026 (Planalto, in Portuguese): conversion of Provisional Measure 1,317/2025, which transformed ANPD into the National Data Protection Agency and set the effective date of the Digital ECA. Accessed on November 1, 2026.
ANPD legal basis (gov.br, in Portuguese): the statutes that created and structure ANPD. Accessed on November 1, 2026.
Constitutional Amendment No. 115/2022 (Planalto, in Portuguese): adds personal data protection to the list of fundamental rights. Accessed on November 1, 2026.
Senado Noticias, General Data Protection Law enters into force (September 18, 2020, in Portuguese): effective date and postponement of administrative sanctions to August 2021. Accessed on November 1, 2026.
ANPD Regulations (gov.br, in Portuguese): official list of resolutions, including penalty dosimetry, international transfers, European Union adequacy, and priority topics. Accessed on November 1, 2026.
Resolution CD/ANPD No. 2/2022, small-scale processing agents (in Portuguese): simplified regime, high risk, and DPO exemption. Accessed on November 1, 2026.
Resolution CD/ANPD No. 15/2024, security incident notification (Official Gazette DOU, in Portuguese): 3-business-day deadlines for ANPD and data subjects. Accessed on November 1, 2026.
ANPD, Security Incident Report CIS (gov.br, in Portuguese): official instructions and reporting channel. Accessed on November 1, 2026.
Resolution CD/ANPD No. 18/2024, Data Protection Officer (Official Gazette DOU, in Portuguese): rules on the role and appointment of the DPO. Accessed on November 1, 2026.
Resolution CD/ANPD No. 4/2023, Dosimetry and Penalty Application Regulation (Official Gazette DOU, in Portuguese): how ANPD calculates and applies penalties. Accessed on November 1, 2026.
ANPD, Guidance on Cookies and Personal Data Protection (in Portuguese): legal bases for cookies and banner best practices. Accessed on November 1, 2026.
ANPD, Guidance on Legal Bases for Processing Personal Data: Legitimate Interest (in Portuguese): requirements and balancing test. Accessed on November 1, 2026.
Planalto, enactment of the law creating the National Data Protection Agency (February 2026, in Portuguese): context on the new agency and the Digital ECA. Accessed on November 1, 2026.
Regulation (EU) 2016/679, GDPR (EUR-Lex): official text of the European regulation, including Article 83 on administrative fines. Accessed on November 1, 2026.
National Data Protection Agency (ANPD), official portal (in Portuguese): guidance, handbooks, and service channels. Accessed on November 1, 2026.