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.

Mohammed Jamil Nasir
Mohammed Jamil Nasir
· 11 min read
An hourglass where patient files fall through the neck and are shredded into strips at the bottom.

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

ProvisionWhat 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 6Keep 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 classErasure period
E-commerce entities with at least 2 crore registered users in India3 years from the user's last contact (or from the Rules' commencement, whichever is later)
Online gaming intermediaries with at least 50 lakh registered userssame
Social media intermediaries with at least 2 crore registered userssame

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.

RecordMinimum retentionSource
In-patient medical records3 years from commencement of treatmentIMC (Professional Conduct, Etiquette and Ethics) Regulations 2002, reg 1.3.1
Copies of records requested by a patientSupply within 72 hours of requestIMC Regulations 2002, reg 1.3.2
OPD records (central government hospitals)5 yearsDGHS guidance
In-patient and medico-legal records (central government hospitals)10 yearsDGHS guidance
Medico-legal case recordsUntil final disposal of legal proceedingsCourt 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 laterPC-PNDT Rules 1996, Rule 9(6)
GST invoices and records72 months from the due date of the annual returnCGST Act 2017, Sec 36
Books of account (company hospitals)8 financial yearsCompanies Act 2013, Sec 128(5)
Access and processing logs1 yearDPDP Rules 2025, Rules 6 and 8(3)
ICT system logsRolling 180 days, in IndiaCERT-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 typePurposeRetentionBasisAt the end
Clinical records (IPD)Treatment and clinical care10 years from last visitLegal hold (medical-records law, policy)Archive, then erase
Clinical records (OPD)Treatment and clinical care5 years from last visitLegal holdErase
Medico-legal recordsTreatment; legal proceedingsUntil proceedings end, minimum 10 yearsLegal holdReview, then erase
Billing and GST invoicesBilling and payments8 yearsLegal hold (tax, company law)Erase
Insurance and TPA claim filesInsurance claimsSettlement + 3 yearsConsent; insurer's own retention applies to its copyErase; instruct the TPA to erase
Outsourced lab copiesExternal diagnostic lab30 days after reportConsent; contractVendor purge, certified
SMS and WhatsApp logsReminders and reports12 monthsConsentRolling purge
Marketing contact listHealth camps and offersUntil withdrawal, or 24 months without contactConsentErase after notice
Patient feedback surveysFeedback12 monthsConsentRolling purge
CCTV footagePremises security30 daysLegitimate use / securityOverwrite
Access and processing logsSecurityAt least 1 yearDPDP Rules 6, 8(3)Archive to write-once storage
Decision flow for erasure in a hospital: has the patient withdrawn consent or is the purpose served? If a law requires keeping the record, apply a legal hold until the period ends; otherwise erase and instruct vendors to erase

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".

DataWhat happensWhy
Admission notes, operation notes, discharge summaryKept under legal hold; not used for anything elseMedical-records retention law; Sec 8(7) exception
Bills and GST invoicesKept under legal holdTax and company law
TPA claim fileHospital erases its optional copy after the claim period; tells the TPA to eraseConsent withdrawn; Sec 8(7)(b)
WhatsApp reminder consent and logsErased; messaging vendor told to eraseConsent withdrawn
Survey responsesErased; survey vendor told to eraseConsent 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

  1. List record types by department: clinical (OPD, IPD, MLC, imaging, lab), billing, insurance, communications, marketing, HR, security.
  2. Link each to a purpose from your purpose register and its legal basis (consent, legal hold, legitimate use).
  3. Find the law that sets a minimum for each, with counsel. Where none exists, pick the shortest period that serves the purpose.
  4. Decide the end action: erase, anonymise, archive then erase.
  5. Map vendors that hold copies, and how they confirm erasure.
  6. Automate what you can and log every erasure.
  7. 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

  1. Ministry of Electronics and IT, Digital Personal Data Protection Act, 2023, Sections 3, 6(6), 8(7), 12(3).
  2. Ministry of Electronics and IT, Digital Personal Data Protection Rules, 2025, G.S.R. 846(E): Rules 6 and 8; Third and Seventh Schedules.
  3. Medical Council of India, Indian Medical Council (Professional Conduct, Etiquette and Ethics) Regulations, 2002, regulations 1.3.1–1.3.2.
  4. Pre-Conception and Pre-Natal Diagnostic Techniques (Prohibition of Sex Selection) Rules, 1996, Rule 9(6).
  5. Central Goods and Services Tax Act, 2017, Section 36; Companies Act, 2013, Section 128(5).
  6. CERT-In, Directions under section 70B(6) of the IT Act, 2000, 28 April 2022.
  7. 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.
Portrait of Mohammed Jamil Nasir

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.

Browse all Compliance and data articles