
HIPAA requires you to record and examine activity in any system that contains or uses electronic protected health information (ePHI), and to review those records on a regular basis. It does not hand you a list of events, a log format or a retention number for raw logs. You decide those through a documented, risk-based approach, and you keep the paperwork that proves you did it for six years.
That flexibility is where most small practices, law offices handling health data and business associates get stuck. Below is how we read the rule, what a sensible logging baseline looks like, and how to set retention you can defend.
TL;DR
- The Security Rule requires audit controls that record and examine activity in systems with ePHI, plus a regular review of that activity.
- The rule does not specify log fields, events or a review schedule. Your risk analysis fills in the gaps, and you document the decisions.
- Documentation of your policies, procedures and review activities must be kept six years. Raw log retention is a separate, risk-based decision.
- Protect logs from tampering, limit who can touch them, and send findings into your incident response process.
- Proposed Security Rule changes are not the current rule. Build to what is in effect and watch for the final version.
What HIPAA actually says about logging
Two pieces of the Security Rule do the work here.
The first is the technical safeguard on audit controls. HHS’s summary of the Security Rule says covered entities must implement hardware, software and/or procedural mechanisms that record and examine activity in information systems that contain or use ePHI. The citation is 45 CFR 164.312(b).
The second is the administrative safeguard on information system activity review, 45 CFR 164.308(a)(1)(ii)(D). The HHS audit protocol treats it as a required safeguard and looks at evidence such as audit logs, access reports and security incident tracking reports.
Put plainly: collecting logs satisfies half the requirement. The other half is that someone looks at them, on a defined cadence, and can show that they did.

Who this applies to
Covered entities (healthcare providers, health plans, clearinghouses) and their business associates. If your firm touches client or patient ePHI as a vendor, an IT provider or a law office handling medical records, assume the Security Rule reaches you through your business associate agreement.
What the rule leaves open
The regulation is deliberately non-prescriptive. It does not name the events to log, the fields each entry needs, how often to review, or how long to keep raw logs. HHS expects you to base those choices on your own risk analysis. That is a benefit if you document it well, and a trap if you never write anything down.
What a HIPAA audit log should capture
Because the rule is silent on fields, the practical test is this: could you reconstruct what happened from the entry alone? Institutional policies show how organizations turn the flexible federal language into something concrete. Stanford’s audit controls policy is a public example that defines minimum log fields, limits who can see logs and sets retention tied to documented review.
A baseline we would expect to see for any system that holds ePHI:
- Who: a unique user ID, not a shared login.
- What: the event type and its result, success or failure.
- When: date and time from a synchronized clock.
- Which record or object: the patient record, file or database table touched.
- From where: source device, IP address or application.
- How: the program or command used.
One caution that gets missed: do not copy ePHI itself into the log entry. A log that stores patient names or diagnoses has become another ePHI repository you now have to secure.
Events worth logging
Your risk analysis sets the final list, but most small organizations should start with these:
- Successful and failed log-ins and log-outs.
- Creating, viewing, modifying and deleting records containing ePHI.
- Exports, downloads and report runs, especially bulk ones.
- Permission and role changes.
- Security-relevant configuration changes, including a protection being turned off.
- Emergency (“break-glass”) access.
- Privileged and support-staff access to production data.
Notice that items 3, 6 and 7 are where real incidents tend to hide. Routine viewing creates volume, while bulk exports and privileged access create risk, so they deserve the sharpest alerts.
Systems to cover
Think beyond the electronic health record. ePHI also sits in:
- Email and file storage, including Microsoft 365 and SharePoint.
- Practice management and billing systems.
- Servers, workstations and laptops.
- Network devices such as firewalls and wireless controllers.
- Backup systems and any cloud applications that handle patient data.
If a system can touch ePHI, ask whether it produces logs and where they go. Gaps in the inventory are the most common finding when we start with a new client.
How to review logs without drowning
Nobody reads raw logs line by line. The regulation asks for procedures to regularly review records and track access and security incidents, so the review is about method and consistency, not heroics.
Set a cadence and a scope
Pick a frequency that matches the risk. Alerting on high-risk events should be near real time. Broader access reviews can run weekly or monthly. HIPAA does not set the number, so write down what you chose and why.
Know what suspicious looks like
Useful detections include repeated failed log-ins, access at unusual hours or from new locations, and bulk exports. A user who opens fifty records in a minute, or a terminated employee’s account that still authenticates, should trigger an alert and not wait for the monthly review.
Record the review itself
Evidence of review is what an auditor asks for. Each review should note the date, who did it, the scope, the findings and the follow-up. Findings that suggest a real problem should flow straight into your incident response process rather than sitting in a spreadsheet.
Professional guidance backs the value of this work. The AHIMA practice brief on privacy and security audits says log review can detect unauthorized access, support accountability, provide forensic evidence, track disclosures, identify threats and help evaluate training.
Protecting the logs themselves
A log an attacker can edit is not evidence. The Security Rule separately requires policies and procedures to protect ePHI from improper alteration or destruction, and sensible practice extends the same thinking to your logs.
What the public guidance points to:
- Restrict access. Stanford’s policy calls for limiting access to log files and prohibiting unauthorized modification or deletion.
- Separate duties. Where possible, the people who administer logs should not be the same people who administer access control.
- Store logs away from the source. AHIMA recommends keeping audit logs on a server separate from the system that generates them.
- Keep them until review is done. Stanford’s policy retains logs at least until an activity review has been performed and documented.
In practice that means shipping logs to a central, access-controlled location, using time-synchronized sources, and treating the log store as a protected system in its own right. If a recovery event ever forces you to restore systems, the same discipline applies: data security during recovery is part of keeping your records trustworthy, so log access and handling should follow your documented procedures even in an emergency.
If you are also reviewing how your backups are protected, our guide to air-gapped backups covers the isolation principle in more detail.
HIPAA log retention: six years, but of what?
This is the question that produces the most confident wrong answers online, so let’s separate two things.
Documentation: six years. Under 45 CFR 164.316(b)(2), HIPAA requires documentation of required policies, procedures, actions, activities and assessments to be retained for six years from creation or the date last in effect, whichever is later. HHS’s Security Rule summary describes this documentation requirement. Your logging policy, your risk analysis, your review records and your findings all fall into this bucket.
Raw audit logs: not specified. The six-year rule does not clearly establish a six-year mandate for every raw log event. AHIMA states that no HIPAA requirement or prevailing practice dictates how long the actual logs must be kept. Many vendors say “six years” for everything because it is easy to remember and safe to follow, and that is a perfectly defensible choice. Just know it is a policy decision, not a quotation from the regulation.

A practical retention approach
AHIMA suggests considering three years for EMR and EHR audit logs, since civil cases can take time to proceed, while keeping proof of the audit strategy and completed reviews for six years. Whichever number you choose, make it a documented decision based on:
- Operational needs, such as how far back you would need to investigate an incident.
- Federal and state requirements.
- Contract terms, including cyber insurance and customer agreements.
- Legal holds, which override your normal schedule.
State law can lengthen the clock
State statutes of limitation and records-management rules may require longer retention. AHIMA recommends reviewing the applicable federal and state requirements and setting the schedule with operational, technical, risk-management and legal staff. If you operate in Massachusetts or Rhode Island, ask your attorney which state rules apply to your records before you set a number.
A quick comparison:
| Item | What drives the period | Typical approach |
|---|---|---|
| Policies, procedures, risk analysis | 45 CFR 164.316(b)(2): six years from creation or last in effect | Keep six years minimum |
| Review records and findings | Same documentation rule | Keep six years minimum |
| Raw audit logs | No HIPAA period specified; risk, contracts, state law, legal holds | Documented decision, often one to six years |
| Logs tied to an open investigation | Legal hold | Keep until released by counsel |
What about the 2026 Security Rule changes?
Readers keep asking about new MFA and logging mandates. HHS describes its Security Rule summary as covering the rule currently in effect, and it identifies proposed modifications separately. Commentary on Security Rule modernization describes the changes as proposed, applying only if they are finalized.
Our advice: build to the rule in effect today, and design your logging so tighter requirements are an adjustment, not a rebuild. Centralized logs, documented reviews and multi-factor authentication on systems with ePHI are good practice regardless of what the final text says. Check HHS for the current status before you make decisions based on any proposal.
A starter checklist
- Inventory every system that creates, stores or transmits ePHI.
- Confirm logging is turned on for each and that it captures the baseline fields.
- Centralize logs in an access-controlled location separate from the source systems.
- Write a review procedure with frequency, scope, reviewer and escalation path.
- Define alerts for failed log-in bursts, bulk exports, privileged and break-glass access.
- Document retention for raw logs and for review records, with your reasoning.
- Tie findings to incident response so a suspicious pattern becomes a ticket, not a note.
- Revisit annually and after any major system change, as part of your risk analysis.
Our perspective
We see the same pattern in almost every small healthcare practice and law office we talk to. The logging is technically on somewhere, nobody has looked at it in months, and there is nothing on paper explaining what was decided or why. That is exactly the situation an auditor or a breach investigator finds first.
Our view is that logging works when it is built into how the environment is run, not bolted on afterward. That is how we approach everything: security is the foundation, and compliance follows from doing the basics consistently. With our U.S. Navy veteran and public-sector background, we lean on structure. Know what you have, record what happens, review it on a schedule, write it down.
If you take one thing from this article, make it the review record. Logs prove very little by themselves. A dated, signed-off review with follow-up shows you were paying attention, and that is what HIPAA is really asking for.
Tyson
Getting logging and review off your plate
If you would rather not run log collection and review yourself, that is what we do. ArchiTECH provides managed IT and cybersecurity for small and mid-sized organizations, including 24/7 SOC-backed monitoring, EDR and MDR, incident response and HIPAA, PCI and CMMC compliance support, all organized around our six-step security framework. You can see the full range on our services page and the security-specific offerings on our cybersecurity page.
A good first step is a look at where you stand today. Our free cybersecurity assessment is a way to find out which systems log what, and where the gaps are. If your work also falls under defense contracting rules, our guide to a Level 2 CMMC SSP shows how documentation requirements overlap.
FAQ
Does HIPAA require audit logs?
Yes. The Security Rule requires audit controls that record and examine activity in systems containing or using ePHI, and a process for regularly reviewing that activity. It does not prescribe the specific events or log format, so you set those through your risk analysis and document them.
How long do HIPAA audit logs have to be kept?
HIPAA requires the documentation of your policies, procedures and activities, including review records, to be kept six years. It does not set a period for raw log data itself. Many organizations choose a documented period based on risk, contracts, state law and legal holds, and some simply adopt six years across the board.
What should a HIPAA audit log include?
Enough to reconstruct the event: user ID, event type and result, date and time, the record or object affected, the program or command used and the source system. Avoid writing actual patient data into the entries. Your risk analysis determines which events you capture beyond the basics.
Who should review the logs, and how often?
Someone with the access and training to interpret them, ideally separate from whoever administers the systems being logged. HIPAA does not set a frequency. High-risk events should alert quickly, while broader reviews can run on a weekly or monthly schedule you document and follow.
Have the 2026 proposed changes altered logging requirements?
Not as of the rule HHS currently describes as in effect. Proposed modifications to the Security Rule are described as applying only if finalized. Check HHS for the current status and keep your logging practices aligned with the rule as it stands.
Sources
- Summary of the HIPAA Security Rule, HHS.gov
- Audit Protocol, HHS.gov
- HIPAA Security: Audit Controls Policy, Stanford University IT
- Privacy and Security Audits of Electronic Health Information, AHIMA
- 2026 Healthcare Regulations and Audit-Ready Contracts, ContractSafe
- Data Security During Recovery: Your 2026 Expert Guide
Recommended
- Audit Ready Mobile Device Management Policy for SMBs