What Regulators Mean by "Audit Trail"

The term "audit trail" appears in every major regulatory framework governing computerised systems in life sciences, yet its practical meaning differs depending on which authority is asking. At its core, an audit trail is a secure, time-stamped record of every action that creates, modifies, or deletes a regulated record. It must be attributable to the individual who performed the action, it must capture a reason for change, and it must be immutable — meaning no user, including an administrator, should be able to alter or suppress the trail after the fact.

In the United States, the FDA's 21 CFR Part 11 establishes requirements for electronic records and electronic signatures. Part 11.10(e) requires that audit trails be generated by computer systems to independently record the date and time of operator entries and actions that create, modify, or delete electronic records. The regulation further requires that record changes shall not obscure previously recorded information, and that audit trail documentation be retained for a period at least as long as required for the subject electronic records.

In the European Union, EudraLex Volume 4, Annex 11 takes a risk-based approach. Clause 9 states that consideration should be given, based on a risk assessment, to building into the system the creation of a record of all GMP-relevant changes and deletions. Annex 11 goes further than Part 11 in some respects: Clause 12.4 explicitly requires that data and document management systems should be designed to record the identity of operators entering, changing, confirming, or deleting data, including the date and time.

"Consideration should be given, based on a risk assessment, to building into the system the creation of a record of all GMP-relevant changes and deletions."

— EudraLex Volume 4, Annex 11, Clause 9

A common misconception is that these two frameworks are equivalent. They are not. Part 11 mandates audit trails without qualification; Annex 11 introduces risk-based discretion. Organisations operating across both jurisdictions must satisfy the stricter of the two requirements for each data element — which, in practice, means implementing comprehensive audit trails throughout.

What Must Be Captured

A compliant audit trail must capture five categories of information for every action performed on a regulated record:

  • Who — The unique identity of the user performing the action. Shared accounts, generic logins, and service accounts without traceable delegation are not acceptable.
  • What — The specific action performed: create, modify, delete, approve, reject, or view (where viewing triggers downstream obligations).
  • When — A timestamp derived from a synchronised, validated time source. Unsynchronised system clocks are a common inspection finding.
  • Why — A reason for change, particularly for modifications and deletions. Part 11 does not explicitly mandate a reason-for-change field, but FDA guidance and prevailing industry practice treat it as expected.
  • Previous value — The original data before modification. Without before-and-after values, the audit trail cannot demonstrate what changed, rendering it incomplete for review purposes.

These five elements form the minimum viable audit trail. In regulated environments, additional metadata — such as the system or module where the action occurred, the record identifier, and the session context — strengthens the evidential value of the trail.

Identity and Authentication

The "who" element deserves particular attention. Regulators expect unique user identification — not merely unique accounts, but verifiable attribution. Multi-factor authentication, session management, and automatic log-off controls all contribute to the integrity of the identity chain. If a system cannot demonstrate that User A, and only User A, performed a given action, the entire audit trail for that record is undermined.

How Audit Trail Review Should Work

Generating an audit trail is necessary but not sufficient. Regulators expect documented evidence that audit trails are routinely reviewed. An unreviewed audit trail is, from a regulatory perspective, little better than no audit trail at all.

Effective review programmes share several characteristics:

  1. Defined reviewers — The review function is assigned to named roles with appropriate authority. The reviewer must not be the same individual whose actions are under review.
  2. Risk-based frequency — Critical systems warrant more frequent review. A batch-release system might require review per batch; a training records system might warrant monthly review.
  3. Escalation triggers — Anomalous patterns — such as after-hours modifications, bulk deletions, or changes by administrators — should trigger immediate escalation rather than waiting for the next scheduled review cycle.
  4. Documented outcomes — Each review must produce a record: what was reviewed, the period covered, findings (or confirmation of no findings), and any corrective actions initiated.

The MHRA has been particularly vocal on this point. In their 2018 data integrity guidance, they noted that audit trail review is an expected part of routine data review and approval, not a standalone compliance exercise performed annually.

Compliance Crosswalk: Audit Trail Requirements

The following table summarises key audit trail requirements across three major regulatory frameworks. Organisations subject to multiple frameworks should design their systems to satisfy the most stringent requirement in each row.

Requirement 21 CFR Part 11 (FDA) Annex 11 (EU GMP) PIC/S PI 041-1
Audit trail mandatory Yes (11.10(e)) Risk-based (Clause 9) Yes, for critical data
User identity captured Yes (unique ID required) Yes (Clause 12.4) Yes
Timestamp required Yes (date and time) Yes (date and time) Yes (synchronised)
Reason for change Expected (guidance) Expected (Clause 9) Required for critical
Previous values retained Yes (not obscure) Yes (Clause 9) Yes
Review required Implied (predicate rules) Expected (risk-based) Yes, routine review
Retention period Same as subject record Defined by quality system Same as subject record
Export in readable format Yes (human-readable) Yes (Clause 9) Yes

Common Failure Patterns

Despite the clarity of regulatory expectations, audit trail implementations frequently fail during inspections. The most common failure patterns fall into four categories.

Incomplete Capture

Systems that log some actions but not others — for example, recording modifications but not deletions, or capturing changes to primary data fields but ignoring metadata changes — create gaps that inspectors are trained to identify. A partial audit trail can be worse than no audit trail, because it suggests the organisation believed certain actions were not worth recording, which invites questions about risk assessment adequacy.

No Retention Policy

Audit trail data that is overwritten, purged, or archived without a defined retention policy violates both Part 11 and Annex 11. If the underlying record must be retained for fifteen years, the associated audit trail must also be retained for fifteen years — in an accessible, reviewable format. Systems that rotate log files on a 90-day cycle without archiving are a perennial inspection finding.

No Intelligible Export

An audit trail that exists only within the application database, accessible only through specialised queries or vendor-specific tools, does not satisfy the requirement for human-readable records. Inspectors expect the ability to export audit trail data in a format that can be reviewed independently — typically PDF, CSV, or a structured report. If the only way to read the audit trail is through the vendor's support team, the organisation has a problem.

Administrator Override Gaps

Systems that allow administrators to disable audit trail functionality, even temporarily, represent the most serious category of failure. Any period during which actions are not recorded creates an evidentiary void. Similarly, systems where database administrators can directly modify records at the database level, bypassing application-layer audit trails, require compensating controls such as database-level audit logging and periodic reconciliation.

Audit trails are controlled records, not just log files. They must be generated automatically, retained for the life of the associated record, reviewed routinely, and exportable in a human-readable format. Treat your audit trail with the same governance rigour you apply to the data it protects.

From Log Files to Defensible Evidence

The distinction between a log file and a defensible audit trail is governance. A log file is a technical artefact; an audit trail is a controlled record embedded within a quality management system. The transition from one to the other requires three things: a documented specification of what is captured and why, a validated process confirming that the system captures what it claims to capture, and a review programme that demonstrates ongoing oversight.

Organisations building or procuring computerised systems for regulated use should specify audit trail requirements during the design phase — not as a retrofit after the system is operational. The cost of engineering a compliant audit trail into the architecture from the outset is a fraction of the cost of bolting one on after deployment, particularly when the underlying data model was not designed to support before-and-after value capture.

For organisations operating across multiple jurisdictions, the compliance crosswalk approach — mapping each requirement element against every applicable framework and designing to the strictest standard — remains the most efficient path to multi-market readiness. The alternative, jurisdiction-specific configurations, introduces complexity that compounds over time and creates maintenance burdens that inevitably lead to compliance drift.


References & Further Reading

  1. EU GMP Annex 11: Computerised Systems Primary source for GMP computerised system expectations including validation, audit trails, security, backup/restore, and periodic evaluation.
  2. FDA 21 CFR Part 11: Electronic Records; Electronic Signatures US regulatory requirements for electronic records/signatures including audit trails, validation, and authorised access controls.
  3. FDA Part 11 Scope and Application Guidance Official FDA interpretive guidance on the scope and practical application of Part 11 requirements.
  4. PIC/S PI 041-1: Good Practices for Data Management and Integrity Pharmaceutical inspection guidance on data integrity expectations, ALCOA+ principles, and governance frameworks.
  5. Swissmedic: EU GMP and PIC/S GMP in Switzerland Confirms Switzerland recognises both EU GMP and PIC/S GMP standards — relevant for Swiss-hosted platform compliance.
  6. Swiss Federal Act on Data Protection (FADP) Primary Swiss legal text governing personal data processing and protection obligations.
  7. GDPR Full Text (WIPO Lex) Complete GDPR legal text including pseudonymisation definition (Article 4), genetic data classification, and special-category protections (Article 9).
Back to Blog