← Back to blog

HIPAA Audit Logs: Requirements, Retention, and Review Rules

August 25, 2026
HIPAA Audit Logs: Requirements, Retention, and Review Rules

HIPAA requires audit controls under 45 CFR 164.312(b) and six-year retention of the resulting documentation under 45 CFR 164.316(b)(2)(i). If you handle ePHI, you must capture specific events (logins, record access, exports, admin actions), store those logs somewhere they cannot be altered, and keep dated proof that someone actually reviewed them.

Three things to do this week:

  • Confirm every system touching ePHI, including cloud apps and instrument interfaces, is actually logging the required events.
  • Centralize those logs into immutable, six-year-retained storage rather than scattered local files.
  • Start a dated review log now, even a simple spreadsheet, because "we have logs" without proof of review is the single most common finding against organizations during an audit.

If you run a regulated lab, add FDA 21 CFR Part 11 validation requirements on top of HIPAA. They overlap but aren't identical.

Key Takeaways

HIPAA compliance for audit logs comes down to three verbs: capture every ePHI event, retain the trail immutably for six years, and document that someone reviewed it.

PointDetails
Two legal citations govern this45 CFR 164.312(b) requires logging and review; 164.316(b)(2)(i) sets six-year retention.
Logging without review fails auditsOCR treats "record and examine" as one combined obligation, not just system logging.
Cover every ePHI systemInclude EHR, identity providers, endpoints, cloud/SaaS tools, and LIMS modules in your inventory.
Build immutable, exportable storageUse WORM or append-only storage with human-readable, filterable exports for auditors.
Labs face an extra layer21 CFR Part 11 adds validation (IQ/OQ/PQ) and ALCOA+ requirements on top of HIPAA.
Integrated platforms close evidence gapsLabrynix combines role-based access, audit-trail exports, and integrations in one reviewable system.

This article is general information, not a substitute for advice from a qualified lawyer. Consult a qualified legal professional about your own circumstances before acting on anything here.

Table of Contents

What Are HIPAA Audit Logs and What Do They Cover?

An audit log is a timestamped record of a single action inside a system, who did what, when, and to what. An audit trail is the full chronological sequence of those log entries strung together, showing the complete history of a record or a user's activity. Both matter because a single log entry tells you an event happened; the trail tells you the story around it, which is what investigators and OCR examiners actually need.

Your inventory needs to cover every system that touches ePHI, not just the EHR:

  • Electronic health record and EMR platforms
  • Identity providers and single sign-on systems
  • Endpoint devices (workstations, laptops, mobile)
  • Email and messaging tied to patient communication
  • Cloud and SaaS applications, including billing and scheduling tools
  • Lab instrument interfaces and LIMS modules

Split your thinking into system-level trails (logins, permission changes, configuration edits) and record-level trails (who touched a specific patient's data). System trails get reviewed on a security cadence; record-level trails get reviewed when a specific patient complaint, breach investigation, or compliance audit demands it.

What Does HIPAA Actually Require and What Will Auditors Ask For?

The regulatory language is short, but it carries two distinct obligations that people routinely miss the second half of. 45 CFR 164.312(b) requires covered entities to "implement hardware, software, and/or procedural mechanisms that record and examine activity in information systems that contain or use electronic protected health information." Record and examine. Logging without review does not satisfy the standard.

The rule doesn't just ask you to turn logs on. It asks you to prove someone looked at them, on a schedule, and wrote down what they found.

Retention adds the second layer. Under 45 CFR 164.316(b)(2)(i), HIPAA documentation, which includes your audit logs and your review records, must be kept for six years from the date of creation or the date it was last in effect, whichever is later.

When HHS OCR shows up, the Audit Protocol tells you almost exactly what they'll ask for:

  • A role-based access matrix showing who can see what and why
  • Dated log-review records, not just raw exports
  • Your written retention policy plus proof you're actually meeting it
  • Exportable, human-readable audit reports for specific record ranges

Most organizations have the logs. Far fewer have the second and third items ready in a folder.

What Exactly Should Each Audit Log Entry Capture?

A log entry that only says "user accessed record" is nearly worthless during an investigation. Here's the minimum event coverage and field set that holds up:

  1. Authentication events. Every successful and failed login attempt, with source IP, device identifier, and timestamp.
  2. Record-level ePHI access. Who viewed, exported, or printed a specific patient record, and which record it was.
  3. Create, modify, and delete actions. Capture the prior value, the new value, and, where your workflow supports it, a reason code for the change.
  4. Exports and bulk downloads. These are the highest-risk actions in any system and deserve their own flagged log category.
  5. Privileged and admin actions. Permission changes, account creation, and role escalations need the same scrutiny as clinical access.
  6. Configuration changes and system alerts. Firewall rule changes, failed intrusion attempts, and security alerts belong in the same reviewable trail.

Every entry needs a minimum metadata set: an NTP-synchronized timestamp, a user ID (never a shared account), the action type, the specific record ID touched, session context, and, for sensitive actions, a justification field.

How Should You Architect Your Audit Log Storage?

Logging events is the easy part. Making those logs survive scrutiny, stay tamper-proof for six years, and remain usable during an actual investigation is where most compliance programs quietly fail.

Centralize everything into a SIEM or log-aggregation service capable of ingesting EHR events, identity and access management logs, endpoint activity, cloud/SaaS app logs, and LIMS module activity into one searchable timeline. Fragmented logs sitting in five different vendor dashboards are the most common blind spot auditors find, since nobody reviews what nobody can see in one place.

From there, the practical build looks like this:

  • Use WORM (write once, read many) storage or an append-only database so entries can't be edited or deleted after the fact.
  • Add cryptographic hashing to individual log batches, so tampering is mathematically detectable, not just procedurally discouraged.
  • Build human-readable export formats (PDF or XML) with filtering by user, date range, and record identifier, since auditors will not sift through raw database dumps.
  • Sync every logging system to NTP and log clock changes themselves as audit events.
  • Encrypt logs at rest and in transit, and apply legal-hold rules that override your normal retention schedule when litigation or an active investigation is underway.

Solutions like Qualitum build tamper-resistant, cryptographically verifiable audit capabilities specifically to handle this integrity layer.

Pro Tip: Test your export function before you need it in an emergency. If pulling a filtered, six-month audit trail for one patient record takes your IT team half a day, that's a finding waiting to happen during a real investigation.

How Often Should You Review Audit Logs?

A tiered cadence beats a single "review it monthly" policy, because high-risk events and routine access don't carry the same urgency.

  1. Daily automated triage for high-risk events: failed logins, bulk exports, after-hours access, and privilege escalations.
  2. Weekly or per-batch review for regulated record types, especially in labs processing genetic or diagnostic data.
  3. Quarterly comprehensive sampling across the full system, cross-checked against your role-based access matrix.

Your SOP needs to name who reviews, what scope they cover, which tool they use, how they escalate anomalies, and, critically, how that review gets recorded and stored. A dated review log and a current role-based access matrix are the two documents OCR examiners lean on most heavily as primary evidence that "examine" actually happened. Practitioner-facing guidance consistently flags unreviewed logs and shrunken retention windows as the two most common findings against otherwise compliant organizations.

What Should You Have Ready Before an OCR Audit?

Assemble these before you're asked, not after:

  • Exportable audit-trail reports scoped to specific users, record IDs, and date ranges
  • A current role-based access matrix mapped to actual job functions
  • Dated log-review evidence going back through your retention window
  • A written retention policy plus proof your storage is genuinely immutable

For record-level location and traceability metadata, package exports by the specific patient or sample identifier under investigation rather than dumping the entire system log on the auditor's desk.

The pitfalls that keep repeating: default retention settings shorter than six years, shared logins that make "who did this" unanswerable, and cloud or SaaS tools left completely outside the logging perimeter.

Where Does FDA Part 11 Overlap With HIPAA for Labs?

If you're a genetic, molecular, or pharmacogenomics lab, HIPAA is the floor, not the ceiling. 21 CFR Part 11 applies when electronic records replace paper for regulated data, and it requires secure, computer-generated, time-stamped audit trails that cannot be modified, retained at least as long as the underlying record.

  • Validate audit-trail capture through the full IQ/OQ/PQ lifecycle, not just at go-live.
  • Qualify vendors with SOC 2 documentation before trusting their platform with regulated data.
  • Keep system-level and data-level trails separate, with data trails undergoing second-person review, consistent with ALCOA+ principles (attributable, legible, contemporaneous, original, accurate, plus complete and enduring).
  • Run negative tests confirming unauthorized actions are actually blocked, not just logged after the fact.

Pro Tip: If your lab still relies on manual documentation layered over an electronic system, regulators increasingly treat that as a gap, not a workaround, since the electronic system was capable of generating the trail automatically.

Why integrated audit trails change the investigation itself

Fragmented logs turn a two-hour investigation into a two-week one, chasing exports across five vendor portals. An integrated view, where LIMS, portal, and reporting activity share one audit trail, gets you the answer OCR wants before they finish asking the question.

— Tarek

A Faster Path to Audit-Ready Logs for Genetic Labs

Genetic and molecular labs face the same OCR scrutiny as any covered entity, plus Part 11 validation on top. Labrynix was built around that dual burden instead of bolting audit logging onto generic clinical software after the fact.

Labrynix

The platform's role-based access controls, built-in audit-trail viewers, and exportable reports map directly to what OCR requests: a current access matrix, filterable log exports by patient or sample, and immutable retention that doesn't depend on someone remembering to archive files manually. Connect integrations over HL7, FHIR, and API keep instrument and EHR activity inside the same reviewable timeline instead of scattering it across disconnected tools. For labs handling PGx and molecular diagnostics specifically, the solutions built for genetic and molecular labs fold audit readiness into the same platform that already manages accessioning, reporting, and provider communication.

If your lab is evaluating whether to consolidate audit logging into one system, start with the genetic lab software buyer's guide to compare what to look for before your next OCR audit or Part 11 inspection.

Sources