Skip to content

HIPAA guide

HIPAA audit log retention: what the rule says, and what everyone assumes

Ask three consultants how long HIPAA makes you keep audit logs and you'll get six years, one year, and a shrug. Here is what the text says, why the six-year number gets attached to logs, and how to set a retention period you can defend.

What the Security Rule actually says about logs

Two provisions matter, and neither contains a number of years.

  • Audit controls, 164.312(b): implement hardware, software and/or procedural mechanisms that record and examine activity in information systems that contain or use ePHI. That's the whole standard. OCR's own 2017 newsletter notes the rule doesn't say what to collect or how often to review it, and is silent on retention; your risk analysis decides all three.
  • Information system activity review, 164.308(a)(1)(ii)(D): implement procedures to regularly review records of information system activity, such as audit logs, access reports and security incident tracking reports.

One makes the logs exist. The other makes someone read them. Retention is implied by both, because you can't review what you've deleted and you can't investigate an incident with no history, but the period is yours to set.

Where the six years comes from

164.316(b)(2)(i) says: retain the documentation required by this section for six years from the date of its creation or the date when it was last in effect, whichever is later. "Documentation" means your written policies and procedures, and "a written record of the action, activity, or assessment" wherever the Security Rule requires one. The Privacy Rule has an identical six-year rule at 164.530(j).

So the record that you reviewed the logs on a given date, who did it and what they found is documentation, and it's kept six years. Whether every raw log line is "a record of an activity required by the subpart" is the open question. HHS has never said yes. It has never said no. NIST's HIPAA implementation guide, SP 800-66 Rev. 2, leaves the retention period to your risk analysis, and audit firms disagree with each other about whether six years is required.

The review record is six years. The logs are "as long as your risk analysis says". Write both down.Your engineer

What your systems keep by default

Defaults are shorter than most people assume, which matters because an OCR investigation can start a year or more after the incident.

Default audit log retention in common healthcare systems
SystemDefault retentionTo extend
Microsoft 365, Audit (Standard)180 daysAudit (Premium) with E5 or add-on: 1 year for Exchange, SharePoint, OneDrive and Entra ID; a 10-year add-on licence exists
Google Workspace Admin console6 months for most log events; 30 days for email log searchExport to a SIEM or BigQuery for longer retention
EHR or practice management systemVaries by vendor; many keep access logs indefinitely, some purgeAsk your vendor in writing and keep the answer
Windows event logsOverwrite when the file fills, often daysCentral collection or a SIEM
Firewall and VPNDays to weeks on the deviceCentral collection

Other rules that do set a number

  • PCI DSS 4.0: if you take card payments in scope, audit log history must be kept at least 12 months, with the most recent three months immediately available.
  • Medicare Conditions of Participation: hospital medical records at least five years. Records, not security logs, but often conflated.
  • Cyber insurance: applications increasingly ask whether logs are centralized and retained, without naming a period.
  • Your BAAs: some hospital-system agreements set log retention for their vendors. Read yours.

Set your retention period

Pick the inputs that describe you and get a defensible starting point.

Your starting retention period

Starting point: 12 months. Whatever you choose, state it in the policy and keep every review record for six years.

A policy you can defend

Whatever period you choose, the defense is the same: the risk analysis considered it, the policy states it, the systems are configured to it, and the review records exist. An OCR data request asks for "audit log review records" far more often than it asks for the logs themselves, and the finding in snooping cases is almost always that nobody looked, not that the logs were gone.

With AccuSights: the platform checks that logging is enabled and retention is set on each connected system, flags the day it changes, and records every review against 164.308(a)(1)(ii)(D), so the six-year documentation accumulates on its own.

Quick questions

How long does HIPAA require audit logs to be kept?
HIPAA doesn't specify a retention period for audit logs. The audit controls standard requires that activity be recorded and examined. The six-year requirement in 164.316 applies to documentation such as policies and the records of required activities, which includes your log review records. Your risk analysis should set log retention.
Does the HIPAA six-year rule apply to audit logs?
Not by its text. It applies to policies, procedures and written records of actions, activities and assessments the Security Rule requires. Whether raw system logs are such a record has never been settled by HHS, which is why many organizations keep logs six years to avoid the argument and others keep them one to two years with a documented rationale.
How long does Microsoft 365 keep audit logs?
Audit (Standard) keeps unified audit log records for 180 days by default, for logs generated on or after October 17, 2023. Audit (Premium), which needs E5 or an add-on licence, keeps Exchange, SharePoint, OneDrive and Entra ID records for one year, with a separate ten-year retention add-on.
How long does Google Workspace keep audit logs?
Most Admin console log events, including Gmail, Drive, admin and login events, are retained for six months. Email log search covers 30 days. Vault retains user data under retention rules, not the audit logs themselves.
What should our audit log retention policy say?
Which systems are logged, what events, where logs are stored, who can alter them, how long each log is kept and why, how often they're reviewed and by whom, and where the review records are filed. One page is enough if it's accurate.

Sources

Rules, figures and enforcement examples on this page were checked against these in October 2026. Regulations and prices change, so confirm before you rely on them.

  1. 45 CFR 164.312 (eCFR)
  2. 45 CFR 164.316 (eCFR)
  3. 45 CFR 164.530 (eCFR)
  4. OCR: January 2017 cyber newsletter on audit controls
  5. NIST SP 800-66 Rev. 2: Implementing the HIPAA Security Rule
  6. Microsoft Learn: audit log retention policies
  7. Google Workspace Admin Help: data retention and lag times
  8. Schellman: HIPAA audit log retention requirements

Written by the AccuSights compliance team and updated October 2026. Figures are quoted from the sources named here and were current when checked. This page is general information, not legal advice.

Next step

Want logging that's on, kept and actually reviewed?

The platform confirms logging and retention on every connected system and records each review, so the evidence exists before anyone asks.

The regulator has the final say. We help interpret, scope and get you ready; we do not certify.

3-min test