Log Retention Duties and How Long Records Must Be Kept
Article 26 requires deployers to keep records of the activity and decisions of high-risk AI systems. These records are not just for compliance inspections; they are the evidence base that proves to regulators, affected people and courts that you deployed the system responsibly and that harms, if any, were not the result of deployer negligence. Logging is one of the most specific and enforceable requirements in Article 26.
The EU AI Act does not specify exactly how long logs must be retained, but the regulation on the matter is clear: logs must be kept as long as the high-risk system continues to be used and for a period after use ends that reflects the liability window for decisions. For high-risk systems making consequential decisions about individuals, this typically means at least three to five years from the date the decision was made. For systems where harm could emerge slowly (healthcare, safety-related decisions), longer retention may be justified.
A bank using an AI system to make loan decisions must retain logs of all recommendations and outcomes for at least three to five years. If a customer disputes a loan decision two years later and claims discrimination, the bank must be able to produce the log showing what data was fed to the system, what the system recommended and whether human oversight modified the recommendation. A healthcare provider using an AI diagnostic system should retain logs even longer, potentially for the duration of the patient relationship plus a statutory limitation period.
What logs must contain
At minimum, logs must record the following information. Which individual or record was processed by the system? What inputs were provided to the system? What was the system’s output or recommendation? Did any human override the system’s recommendation, and if so, why? What was the final decision? When was the decision made and by whom? For decisions affecting individuals, logs should also record whether the individual was informed about the AI’s involvement and whether they had any opportunity to contest the decision.
Consider a recruitment team using an AI system to rank job applicants. The log must record the applicant’s identifier, the credentials and experience data fed to the system, the system’s rank or score, whether the recruitment team’s human reviewer modified the ranking, the final interview decision, and the date. If an applicant later claims the system was biased against them, the organisation must be able to produce this log to show what data was considered and whether human oversight was exercised.
Technical implementation
Logs can be stored in databases, flat files, or audit trail systems. The format matters less than completeness and integrity. Logs must be tamper-proof or at least difficult to alter retroactively. Organisations often use immutable audit logs, append-only databases or signed transaction records to prevent unauthorised modification. Logs should be retained in a secure location with restricted access.
Many organisations struggle with the scale of logging. A high-transaction-volume system might process millions of records per day. Retaining years of logs at that scale requires storage infrastructure. Cloud data storage is typically the most cost-effective approach. Organisations should implement tiered storage where recent logs are kept on fast, accessible systems and historical logs are archived.

Retention versus deletion
The retention obligation is not indefinite. Once the liability window has passed (typically three to five years for most decisions), logs can be deleted, though many organisations retain them longer for operational analysis or to defend against late claims. However, deployers must distinguish between personal data (names, addresses, medical information) and aggregated logs. Under the General Data Protection Regulation, personal data should be deleted when no longer needed. Aggregated logs that cannot identify individuals can be retained longer for performance analysis.
Data minimisation is important. Logs should contain only the information necessary to evidence compliance. Collecting excessive personal data in logs creates additional General Data Protection Regulation obligations. For example, if a hiring system processes applicants, the log should record the candidate identifier and the decision, but may not need to include the full resume unless it is necessary to evidence that human oversight was properly exercised.
Deployers should work with their data protection teams to design log schemas that meet Article 26 requirements without over-collecting personal data. A well-designed log for a hiring system might record: the applicant ID, the date of application, the job ID, the system’s score or ranking, whether human review occurred, the human’s decision, the date of human review, whether the applicant was interviewed or rejected, and whether the applicant requested feedback. This is sufficient to evidence compliance without storing unnecessary sensitive information.
Access controls and security
Logs are sensitive data that can reveal personal information about individuals. Access to logs should be restricted to people with legitimate compliance or operational reasons. Logs should not be browsed casually or used for purposes other than compliance and performance monitoring. Organisations should implement role-based access controls so that only appropriate staff can view logs. Audits of who accesses logs should be documented.
Enterprise AI Strategy & Implementation Discovery Call
Scope practical AI workflows, human-in-the-loop governance, and measurable delivery milestones with Tesseract Consulting.
