How Long Should a Hospital Keep Patient Data Under DPDP?
How long hospitals must keep medical records, when the DPDP Act requires erasure, why the 48-hour notice isn't a hospital duty, and a sample retention schedule.

Key takeaways
- Erasure is the default; legal holds are the exception. Clinical and billing records you're required to keep stay. Optional-purpose data (reminders, marketing, surveys) goes when the purpose ends or consent is withdrawn.
- The 48-hour pre-erasure notice in Rule 8 does not apply to hospitals. It covers only the Third Schedule: large e-commerce, online gaming and social media platforms. It's still good practice.
- Logs: keep personal data, traffic data and processing logs for at least one year (Rule 8(3)); keep access logs a year to detect misuse (Rule 6); and CERT-In wants ICT logs for 180 days.
- Vendors erase too. When you erase, you must make your processors erase (Sec 8(7)(b)), including copies at labs, TPAs and messaging gateways.
- Write a retention schedule per record type, signed off by counsel, and apply it the same way every time.
Short answer: The DPDP Act sets no fixed retention period for hospitals. It requires erasure when a patient withdraws consent or the purpose is served, unless another law requires the data to be kept (Sec 8(7)). Medical-records rules require keeping in-patient records for at least 3 years (IMC Regulations 2002), and many hospitals keep them 5–10 years. Keep access logs for at least one year (Rules 6 and 8(3)).
Disclosure: Surgy Health makes SurgyComply, DPDP compliance software for hospitals, which includes retention schedules and legal holds. This is a practitioner's summary, not legal advice. Retention periods must be set with your counsel.
What the DPDP Act says about retention and erasure
| Provision | What it requires of a hospital |
|---|---|
| Sec 8(7)(a) | Erase personal data when the patient withdraws consent, or as soon as it's reasonable to assume the purpose is no longer served, unless retention is necessary to comply with any law. |
| Sec 8(7)(b) | Make your Data Processors erase the data you gave them. |
| Sec 6(6) | On withdrawal, you and your processors stop processing within a reasonable time, unless processing without consent is required or authorised by law. |
| Sec 12(3) | A patient can ask for erasure; you must erase unless retention is necessary for the specified purpose or for compliance with law. |
| Rule 6 | Keep logs and personal data needed to detect unauthorised access for one year, unless another law says otherwise. |
| Rule 8(3) | Keep personal data, associated traffic data and processing logs for at least one year from processing, for the purposes in the Seventh Schedule (State uses under the Act). |
The phrase that matters most for hospitals is "unless retention is necessary for compliance with any law". It turns a medical-records rule into a legal hold.
Why Rule 8's 48-hour notice isn't a hospital duty
Rule 8(1) sets fixed erasure periods and Rule 8(2) requires a notice at least 48 hours before erasure. Both apply only to the classes of Data Fiduciary listed in the Third Schedule:
| Third Schedule class | Erasure period |
|---|---|
| E-commerce entities with at least 2 crore registered users in India | 3 years from the user's last contact (or from the Rules' commencement, whichever is later) |
| Online gaming intermediaries with at least 50 lakh registered users | same |
| Social media intermediaries with at least 2 crore registered users | same |
Hospitals aren't on the list. So, for a hospital:
- There's no 3-year inactivity clock that forces erasure.
- There's no legal 48-hour notice before erasure.
- The test is Sec 8(7): is the purpose still being served, and does any law require me to keep this?
A notice before erasing optional-purpose data is still sensible, because it gives patients a chance to say "keep my reminders on". Treat it as policy, not law.
Laws that make hospitals keep records
These create the legal holds that override erasure. Confirm the full list for your state and specialty with counsel.
| Record | Minimum retention | Source |
|---|---|---|
| In-patient medical records | 3 years from commencement of treatment | IMC (Professional Conduct, Etiquette and Ethics) Regulations 2002, reg 1.3.1 |
| Copies of records requested by a patient | Supply within 72 hours of request | IMC Regulations 2002, reg 1.3.2 |
| OPD records (central government hospitals) | 5 years | DGHS guidance |
| In-patient and medico-legal records (central government hospitals) | 10 years | DGHS guidance |
| Medico-legal case records | Until final disposal of legal proceedings | Court and police procedure; hospital policy |
| PC-PNDT records (ultrasound, genetic labs: forms, consents, images) | 2 years from the procedure, or until legal proceedings end, whichever is later | PC-PNDT Rules 1996, Rule 9(6) |
| GST invoices and records | 72 months from the due date of the annual return | CGST Act 2017, Sec 36 |
| Books of account (company hospitals) | 8 financial years | Companies Act 2013, Sec 128(5) |
| Access and processing logs | 1 year | DPDP Rules 2025, Rules 6 and 8(3) |
| ICT system logs | Rolling 180 days, in India | CERT-In Directions, 28 April 2022 |
The NMC's 2023 conduct regulations were kept in abeyance in August 2023, so the IMC Regulations 2002 continue to apply. Many private hospitals keep in-patient records for 10 years to cover consumer complaints, insurance disputes and accreditation reviews; that's a policy choice your counsel should document.
A sample hospital retention schedule
Illustrative. Set your own periods with legal counsel.
| Record type | Purpose | Retention | Basis | At the end |
|---|---|---|---|---|
| Clinical records (IPD) | Treatment and clinical care | 10 years from last visit | Legal hold (medical-records law, policy) | Archive, then erase |
| Clinical records (OPD) | Treatment and clinical care | 5 years from last visit | Legal hold | Erase |
| Medico-legal records | Treatment; legal proceedings | Until proceedings end, minimum 10 years | Legal hold | Review, then erase |
| Billing and GST invoices | Billing and payments | 8 years | Legal hold (tax, company law) | Erase |
| Insurance and TPA claim files | Insurance claims | Settlement + 3 years | Consent; insurer's own retention applies to its copy | Erase; instruct the TPA to erase |
| Outsourced lab copies | External diagnostic lab | 30 days after report | Consent; contract | Vendor purge, certified |
| SMS and WhatsApp logs | Reminders and reports | 12 months | Consent | Rolling purge |
| Marketing contact list | Health camps and offers | Until withdrawal, or 24 months without contact | Consent | Erase after notice |
| Patient feedback surveys | Feedback | 12 months | Consent | Rolling purge |
| CCTV footage | Premises security | 30 days | Legitimate use / security | Overwrite |
| Access and processing logs | Security | At least 1 year | DPDP Rules 6, 8(3) | Archive to write-once storage |

When a patient asks you to delete their records
A worked example. Priya was admitted for surgery 18 months ago, consented to TPA sharing, WhatsApp reminders and feedback surveys, and now asks the hospital to "delete everything".
| Data | What happens | Why |
|---|---|---|
| Admission notes, operation notes, discharge summary | Kept under legal hold; not used for anything else | Medical-records retention law; Sec 8(7) exception |
| Bills and GST invoices | Kept under legal hold | Tax and company law |
| TPA claim file | Hospital erases its optional copy after the claim period; tells the TPA to erase | Consent withdrawn; Sec 8(7)(b) |
| WhatsApp reminder consent and logs | Erased; messaging vendor told to erase | Consent withdrawn |
| Survey responses | Erased; survey vendor told to erase | Consent withdrawn |
The hospital replies in writing: what was erased, what is kept, under which law, and until when. Full process in our rights request SOP.
Vendors and backups
Erasure isn't done until it's done everywhere:
- Processors: each vendor that received the data must erase it and confirm (Sec 8(7)(b)). Get a certificate or reference number.
- Backups: agree in your DPA how erased data is handled in backups (for example, overwritten at the next rotation and never restored into production).
- Independent fiduciaries such as insurers keep their own copies under their own legal duties. Tell them about the withdrawal; you can't force their retention schedule.
More in hospital vendors under DPDP.
Does the DPDP Act apply to paper medical records?
The Act applies to personal data collected in digital form, and to data collected on paper and digitised later (Sec 3(a)). A paper file that's never scanned sits outside it. Once you scan it into your HIS or DMS, the digital copy is covered. In practice almost every hospital record is digitised somewhere, so plan for the whole set.
How to build your hospital's retention schedule
- List record types by department: clinical (OPD, IPD, MLC, imaging, lab), billing, insurance, communications, marketing, HR, security.
- Link each to a purpose from your purpose register and its legal basis (consent, legal hold, legitimate use).
- Find the law that sets a minimum for each, with counsel. Where none exists, pick the shortest period that serves the purpose.
- Decide the end action: erase, anonymise, archive then erase.
- Map vendors that hold copies, and how they confirm erasure.
- Automate what you can and log every erasure.
- Review yearly, and whenever a law changes.
Where SurgyComply fits
SurgyComply keeps a retention schedule per record type, puts treatment and billing purposes under legal holds, and runs an erasure queue for optional-purpose data. When a patient withdraws or a period ends, it records the erasure and sends erasure instructions to every linked vendor, tracked to confirmation. See SurgyComply →
FAQ
Frequently asked questions
What is the data retention period under the DPDP Act?
For hospitals, the Act doesn't fix one. Erase when consent is withdrawn or the purpose is served, unless another law requires retention (Sec 8(7)). Keep logs for at least one year (Rules 6 and 8(3)).
How long must a hospital keep medical records in India?
At least 3 years for in-patient records under the IMC Regulations 2002. Central government hospitals follow DGHS guidance of 5 years for OPD and 10 years for in-patient and medico-legal records. Many private hospitals keep 10 years by policy.
Can a patient force a hospital to delete medical records under the DPDP Act?
A patient can request erasure, but records the hospital must keep by law stay under a legal hold until that period ends. Optional-purpose data must be erased.
Does the 48-hour notice before erasure apply to hospitals?
No. Rule 8(2) applies only to Third Schedule platforms: large e-commerce, online gaming and social media. Hospitals can still choose to give notice.
How long should hospitals keep access logs?
At least one year under the DPDP Rules, and a rolling 180 days of ICT logs in India under CERT-In's Directions.
Do vendors have to delete patient data too?
Yes. Sec 8(7)(b) requires the hospital to make its processors erase data it made available to them.
Does the DPDP Act cover paper records?
Only once they're digitised. The Act covers digital personal data and non-digital data that's later digitised (Sec 3(a)).
References
- Ministry of Electronics and IT, Digital Personal Data Protection Act, 2023, Sections 3, 6(6), 8(7), 12(3).
- Ministry of Electronics and IT, Digital Personal Data Protection Rules, 2025, G.S.R. 846(E): Rules 6 and 8; Third and Seventh Schedules.
- Medical Council of India, Indian Medical Council (Professional Conduct, Etiquette and Ethics) Regulations, 2002, regulations 1.3.1–1.3.2.
- Pre-Conception and Pre-Natal Diagnostic Techniques (Prohibition of Sex Selection) Rules, 1996, Rule 9(6).
- Central Goods and Services Tax Act, 2017, Section 36; Companies Act, 2013, Section 128(5).
- CERT-In, Directions under section 70B(6) of the IT Act, 2000, 28 April 2022.
- Directorate General of Health Services (DGHS), guidance on retention of medical records in central government hospitals (OPD 5 years; in-patient and medico-legal 10 years), as applied at AIIMS New Delhi. Link the DGHS circular if you hold a copy; otherwise cite as secondary.
Update log
- 2 December 2026: First published.

Written by
Mohammed Jamil Nasir
Founder – Product & Technology, Surgy Health
14+ years in Product, Design & Tech · PGC AI/ML, IIT-Guwahati · Global MBA, SP Jain · BE-CSE
Mohammed Jamil Nasir leads product and technology at Surgy Innovation Labs Private Limited, building AI-first, seamless healthcare products for hospitals and healthcare networks across India and the GCC. He writes about healthcare AI, accreditation, and clinical operations.
Keep reading
More on Compliance and data
Hand-picked next reads that build on this article, so you can go deeper before you decide.
- Compliance and data
When Patients Ask for Their Data: A DPDP Rights SOP for Hospitals
Patient rights under the DPDP Act (access, correction, erasure, nomination, grievance), what each one requires of a hospital, timelines, and a step-by-step SOP.
11 min readRead article - Compliance and data
Your Vendor's Breach Is Your Breach: Hospital Vendors Under DPDP
How the DPDP Act applies to hospital vendors: processors vs fiduciaries (HIS, labs, TPAs, insurers, SMS), contract clauses, and making vendors erase.
11 min readRead article - Compliance and data
DPDP Act for Hospitals: What You Actually Need to Know
No certificate to buy, no outsourcing shortcut. What India's DPDP Act and DPDP Rules 2025 require of hospitals, the 13 May 2027 deadline, penalties and a department-wise checklist.
14 min readRead article



