GovCompass
Knowledge base

Art. 26.6 EU AI Act: log retention and audit trail obligations

By Michel Venniker· · Aligned with the consolidated EU AI Act, including the 2026 Omnibus amendments.

Art. 26.6 requires deployers of high-risk AI to retain the system-generated logs for at least six months, unless other law requires longer. The logs are the primary evidence that the system was used in accordance with its instructions.

Updated: June 2026

Introduction: the legal basis for log retention

Art. 26.6 states: "Deployers of high-risk AI systems shall keep the logs automatically generated by that high-risk AI systemAI systemA machine-based system that, for explicit or implicit objectives, infers from input how to generate outputs — predictions, content, recommendations or decisions — that can influence physical or virtual environments. The OECD-style definition followed by the EU AI Act.Open full entry → to the extent such logs are under their control, for a period of at least six months, unless provided otherwise in applicable Union or national law or in Union or national law applicable to the deployerdeployerAn organization using an AI system under its own authority in its activities — carrying operator duties: use per instructions, oversight, input relevance, monitoring, notices.Open full entry →."

This creates a minimum baseline of 6 months, but the actual retention period must be determined by reference to sector-specific law and the proportionate needs of the organisation. For many deployers, longer retention is required, both by law and by good governance practice.

What are "automatically generated logs"?

High-risk AI systems are required under Art. 12 (providerproviderThe actor who develops an AI system (or has it developed) and places it on the market or into service under its own name — carrying manufacturer-style duties: design controls, documentation, conformity.Open full entry → obligation) to automatically generate logs. These logs must record, at minimum:

  • System activation and deactivation events
  • Reference data used for each output
  • Input data characteristics (not necessarily the data itself)
  • Output generated by the system
  • Verification procedures the system underwent
  • Identity information of the persons involved in each operation

These are the logs that deployers must retain under Art. 26.6. Deployers should verify with their provider that the system generates logs meeting Art. 12 requirements, and obtain contractual guarantees if the logs are stored on the provider's infrastructure.

Retention periods by sector

Sector / AI typeRetention periodLegal basis
Credit decisions (banks, lenders)7 yearsArt. 25 CRR, national banking law
HR decisions (employment contracts)Duration of employment + 2–5 yearsNational employment law
Medical AI (patient records)15–20 yearsWGBO (Netherlands), MDR
Public sector decisions10–20 yearsArchiefwet (Netherlands)
General commercial decisions6 months minimum (EU AI Act)Art. 26.6

Practical implementation

  • Map each AI system's log outputs to the retention requirements applicable to that system
  • Establish secure, tamper-evident log storage separate from operational systems
  • Ensure logs are searchable and retrievable within a reasonable timeframe (supervisory audits typically require production within 5–10 business days)
  • Define access controls so logs can be accessed for audit but not modified
  • For cloud-hosted AI systems: ensure contractual rights to log data on system termination

Compliance checklist

  1. Have you confirmed that each high-risk AI system generates logs meeting Art. 12 requirements?
  2. Is the applicable retention period documented for each AI system (accounting for sector-specific law)?
  3. Is log storage secure, tamper-evident, and access-controlled?
  4. Are logs retrievable within a reasonable timeframe for supervisory audit?
  5. For cloud-hosted systems: do contracts guarantee log data access and export?
Legal referencesArt. 26

More on Accountability

Art. 10 EU AI Act: data and data governance for high-risk AI

Reference

Art. 10 requires that the training, validation, and testing data for high-risk AI systems meets quality criteria: relevant, sufficiently representative, and as free of errors and complete as possible for the intended purpose. It also requires documented data governance practices covering collection, preparation, bias examination, and gap mitigation, and it permits the limited processing of special-category data where strictly necessary to detect and correct bias, under safeguards.

Art. 12 EU AI Act: record-keeping and logging for high-risk AI

Reference

Art. 12 requires high-risk AI systems to technically allow for the automatic recording of events (logs) over their lifetime. The logging must enable traceability of the system's functioning at a level appropriate to its intended purpose, support post-market monitoring, and help identify situations that may lead to risk or substantial modification. It is a design obligation on the provider that makes the system auditable by construction.

Art. 19 EU AI Act: keeping the automatically generated logs

Reference

Art. 19 requires providers of high-risk AI systems to keep the logs that the system automatically generates (under Art. 12) for as long as they control them, for a period appropriate to the intended purpose and at least six months unless other law requires longer. It is the retention counterpart to the Art. 12 logging capability, and it works alongside the deployer retention duty in Art. 26.6.

Art. 26.1 EU AI Act: following provider instructions as a deployer

Reference

Art. 26.1 requires deployers to use high-risk AI systems strictly in accordance with the provider's instructions for use. This means using the system only for its intended purpose, within its specified technical configuration, and by qualified users, and documenting that compliance. Deviating from the instructions can shift liability entirely to the deployer.