Payment methods:
  • Pix
  • Mastercard
  • Visa
  • Elo
  • Pix or card
Digital law

Brazil’s Internet Civil Framework (Law 12,965/2014): logs, privacy and the new Supreme Court rule

How long providers keep your logs, who can obtain them and what changed in platform liability after the ruling on article 19.

Signed on 23 April 2014, the Marco Civil da Internet sets the rights and duties of internet users and providers in Brazil. For anyone investigating online scams, insults or fraud, it answers a key question: where digital traces are kept and how to reach them lawfully.

Principles and user rights

Freedom of expression, privacy and data protection, and net neutrality (art. 3). Users have the right to the confidentiality of communications, including stored ones, which only a court order can lift (art. 7).

Log retention

  • Connection providers keep connection logs (date, time, IP) for 1 year (art. 13).
  • Application providers keep access logs for 6 months (art. 15).

Getting the data (art. 22)

An interested party, through a lawyer, may ask a judge to order providers to hand over logs, showing well-founded evidence of wrongdoing, why the logs are needed and the period. Private investigators have no direct access to logs; their role is to document public material and preserve evidence.

The Supreme Court and article 19

On 26 June 2025 (Themes 533 and 987) the STF declared art. 19 partly unconstitutional by 8 votes to 3: for crimes and unlawful acts, platforms may be liable if they fail to remove content after notice; for crimes against honour, a court order is still required. Liability depends on fault. Motions for clarification were decided on 17 June 2026.

In online fraud, time works against the victim: six months go by fast.

Sources: Law 12,965/2014; Machado Meyer; Teletime.

Want to investigate digital crimes with valid technical evidence?The Cyber-investigation & Digital Forensics course covers OSINT, Pix and crypto tracing, phone and WhatsApp forensics, deepfakes and expert reports.See courses

Read also

See courses