Skip to main content

How do you decommission a GxP computerized system?

Retire the system under change control with a written plan, and keep each record readable, with its audit trail and metadata, until its retention ends, by migrating it, archiving a true copy or keeping the old system read-only. The law sets the minimum: 21 CFR 211.180 keeps a batch’s production and control records at least 1 year after its expiration date, ready for inspection. The plan, the decision for each record set and the retrieval test are guidance and practice.Checked against its sources on 26 November 2026. How these answers are made

1What must survive the system?

Retiring a system ends the software, not its records. The law is short. In the US, 21 CFR 211.180 requires drug production and control records to be kept at least 1 year after the batch’s expiration date and to be “readily available for authorized inspection during the retention period”; records that “can be immediately retrieved from another location by computer or other electronic means” meet that.1 Part 11 asks for “Protection of records to enable their accurate and ready retrieval throughout the records retention period”, with audit trails kept as long as their records.2 In the EU, Directive (EU) 2017/1572 requires batch documentation to be kept at least 1 year after expiry or 5 years after QP certification, whichever is longer.3 Everything else here, from the plan to the retrieval test, is guidance or practice.

Table 1. What must outlive a retired computerized system.1,2,4,5,6,7,3,8
What must surviveBasis
Each record, at least 1 year after the batch’s expiry; some OTC drugs, 3 years after distributionRule: 21 CFR 211.180(a)
Ready for inspection all through retention; electronic retrieval countsRule: 21 CFR 211.180(c)
The original or a true copy, with a reader where one is neededRule: 21 CFR 211.180(d)
Accurate and complete copies, readable and electronicRule: 21 CFR 11.10(b); Guidance: FDA Part 11 guidance, III.C.4
Ready retrieval through retentionRule: 21 CFR 11.10(c); Guidance: FDA Part 11 guidance, III.C.5
Audit trails, kept as long as their recordsRule: 21 CFR 11.10(e); Guidance: FDA Part 11 guidance, III.C.2
Archives on paper, PDF or XML, if content and meaning surviveGuidance: FDA Part 11 guidance, III.C.5
Copies keep all metadata and the record’s static or dynamic natureGuidance: FDA data integrity Q&A 9, 10
Archived data checked for accessibility, readability and integrityGuidance: Annex 11, 17
Retirement planned, risk based, documented and reportedGuidance: WHO TRS 1019, App. 5, 14
EU batch documentation: the longer of expiry plus 1 year, or 5 years after QP certificationRule: Directive (EU) 2017/1572, Art. 9(1); Guidance: EU GMP Chapter 4, 4.11
EU raw data supporting a marketing authorization, such as stability data, while it is in forceGuidance: EU GMP Chapter 4, 4.12

The format is open. FDA’s Part 11 guidance says it intends to exercise enforcement discretion on 11.10(b), (c) and (e), the copies, retrieval and audit trail clauses, while the predicate rules, such as 211.180(c) and (d), still apply in full. For archives it says “FDA does not intend to object if you decide to archive required records in electronic format to nonelectronic media such as microfilm, microfiche, and paper, or to a standard electronic file format (examples of such formats include, but are not limited to, PDF, XML, or SGML).” It goes on: “As long as predicate rule requirements are fully satisfied and the content and meaning of the records are preserved and archived, you can delete the electronic version of the records.”4

The limit is the dynamic record. FDA’s example is an FT-⁠IR spectral file, which can be reprocessed; a static record or printout of it “is fixed and would not satisfy CGMP requirements to retain original records or true copies”.5 MHRA accepts a static record only where it holds “verified copies of all raw data, metadata, relevant audit trail and result files, any variable software/system configuration settings specific to each record, and all data processing runs”.9 How long each record is kept is on batch record retention, and what an audit trail must hold is on audit trail requirements.

A contract manufacturer or laboratory holds records its clients depend on. FDA says the quality agreement “should also define owners’ and contract facilities’ roles in making and maintaining original documents or true copies in accordance with CGMP.”10 Read the agreements before deciding anything about a client’s records.

2System decommissioning checklist, in order.

WHO puts it plainly: “System retirement should be considered as a system life-cycle phase. It should be planned, risk based and documented.” It is done “in accordance with established authorized procedures, including a change-control procedure and a formal plan for retirement.”7

Table 2. System decommissioning checklist.7,11,1,12,6
StepWhat to do and keepBasis
1. DecideRetirement decided; change control openedGuidance: WHO 14.2
2. Final reviewSystem state, open deviations, CAPA, accessDraft guidance: Annex 11 14.3
3. List record setsRecord types, dates, owner, retention end, holdsRule: 211.180; Guidance: PI 041-⁠1 9.9
4. Decide each setDestroy, migrate, archive or keep read-onlyGuidance: PI 041-⁠1 9.4
5. Approve the planSets, methods, acceptance criteria, owners, datesGuidance: WHO 14.1, 14.2
6. FreezeNo new data; read access for named usersDraft guidance: Annex 11 17.1
7. Migrate or archiveValidated process; counts, checksums, sampleGuidance: Annex 11, 4.8; WHO 13.13
8. Test retrievalSomeone outside the project finds sampled recordsGuidance: Annex 11, 17; WHO 14.4. Practice: the tester
9. Deal with copiesBackups, test instances, cloud copies, interfacesGuidance: PI 041-⁠1 9.9
10. DestroyVerified data only, after retention, with approvalGuidance: WHO 13.13; PI 041-⁠1 9.9
11. Shut downAccounts, interfaces and licenses ended; disks sanitizedPractice
12. UpdateInventory row retired; SOPs, training, contractsPractice
13. ReportEach set’s outcome, traceability, retrieval testGuidance: WHO 14.4
  • Verify before anything is deleted. WHO: data transferred to another medium “must be verified as an exact copy, prior to any destruction of the original data.”7 The draft revision of Annex 11 names the means: integrity “should be verified by a high degree of certainty before any data is deleted, e.g. by means of a checksum.”11
  • Test retrieval the way it will be used. Annex 11 asks that “the ability to retrieve the data should be ensured and tested” when relevant changes are made to a system,6 and WHO wants “the ability to retrieve the data” tested and documented in the report.7 Ask someone outside the project to find records by the identifiers an inspector would give.
  • Backups are copies too. PIC/S expects backup data to be “readable for all the period of the defined regulatory retention period, even if a new version of the software has been updated or substituted”.12 A backup of the old system is not an archive unless it can still be read without that system. Practice is to keep the last full backup until the report is approved, then destroy it under procedure.

3Migrate, archive, keep read-only or destroy?

For each record set a retiring system holds, three questions decide whether to destroy it, migrate it, archive a true copy or keep the old system read-only
Figure 1. For each record set a retiring system holds, three questions decide whether to destroy it, migrate it, archive a true copy or keep the old system read-only
  • Destroy under procedure. Only once retention has ended and no hold applies. A hold is anything that stops destruction after retention ends: an open complaint, investigation or legal case, or the record owner’s request to keep the records longer. PIC/S wants procedures that “provide guidance for the assessment of data and allocation of retention periods, and describe the disposal of data that is no longer required”, with care “to avoid the inadvertent disposal of required data during its lifecycle”.12 MHRA adds that destruction procedures “should consider data criticality and where applicable legislative retention requirements.”9
  • Migrate. When the new system will keep using the records. Annex 11 says “validation should include checks that data are not altered in value and/or meaning during this migration process.”6 How to validate one is on data migration validation.
  • Archive a true copy. When a copy keeps everything, searchable where the records are dynamic. FDA accepts electronic copies as true copies “provided the copies preserve the content and meaning of the original record”, including all metadata.5 WHO: “Records should be archived in a readable form and in a manner that preserves the accessibility, readability and integrity of the data of the source electronic records throughout the required records retention period.”7
  • Keep the old system read-only. When the records may need reprocessing, such as chromatograms or spectra, and a copy would lose that. PIC/S: “When legacy systems software can no longer be supported, consideration should be given to maintaining the software for data accessibility purposes (for as long possible depending upon the specific retention requirements). This may be achieved by maintaining software in a virtual environment.” The software kept that way still needs its validation status and access control checked.12

4How it runs in Seal.

In Seal’s computer system validation blueprint, a periodic review can conclude that a system should be retired, and retiring an application is separate from retiring the obligation to keep and retrieve its records, audit trails and signatures.

In Seal’s scientific data management blueprint, each record’s retention runs from the event that governs it, under a versioned retention policy. Holds, and who may approve disposal, are recorded, and configured checksums, readability and restores are tested rather than assumed to work. For a migration, the records moved, their manifest, how old identifiers map to new ones and the verification evidence are kept together, and a migrated copy is marked apart from a native original.

5Example: retiring ExamLab 4.

Invented for illustration. Exampla Pharma Services LLC, a contract manufacturer and testing laboratory in Durham, North Carolina, ran ExamLab 4 as its laboratory information management system from 2014. It has been read-only since 8 March 2025, when ExamLIMS went live, and runs on one physical server that is out of vendor support. Its decommissioning plan, QA-⁠DCP-⁠001, is due for approval under change control CC-⁠27-⁠002 on 11 January 2027. Dates after 26 November 2026, when this example was checked, are planned.

The plan opens with the final review, covering 8 March 2025, when ExamLab 4 became read-only, to 31 December 2026. Its draft of November 2026 finds no changes and no open deviations or CAPA; 2 incidents, both failed nightly backups rerun the next night; and 14 active accounts, all read-only, 8 of them unused for a year, to be disabled at the freeze, leaving 6. Its outcome is to retire: ExamLab 4 is out of vendor support, and once its records are archived nothing needs it.

Exampla’s records schedule keeps QC results to the end of the 8th year after the year tested. That outlasts both legal minimums for its products: about 4 years under 211.180(a), with a 36-month shelf life, and 5 years after QP certification for its EU client.1,3 By the plan date, retention will have ended for results tested from 2014 to 2018, the last on 31 December 2026.

Table 3. Example. QA-⁠DCP-⁠001, ExamLab 4’s record sets. The firm, system and records are invented.
Record setDecisionCount
A. Results tested 2014 to 2018; retention ended; client agreedDestroy under procedure81,460 results
B. Results 2019 to March 2025; 2 clients’ older results, held; closed stability studies; specifications, certificates and audit trailsArchive a true copy: PDF/A and XML for each batch203,600 results in 16,420 batches
C. Earlier time points of 11 open stability studiesMigrate to ExamLIMS1,342 results
D. Specifications, methods, users and roles, administration audit trailArchive as exports418 specification versions, 297 accounts

Of the 104,600 results whose retention ends by then, 10 of 12 clients have agreed in writing, under their quality agreements, that theirs can be destroyed. The other 2 asked for theirs to be kept to 31 December 2030. That request is a hold, so their 23,140 results join set B with that date as their retention end. No complaint, investigation or legal case names any of the batches.

Set B follows the red path in the diagram: in retention or on hold, no longer worked on, and made of approved results that nobody needs to reprocess. They are still dynamic in MHRA’s sense, since “electronic records in database formats allow the user to track, trend and query data”,9 so the archive keeps both forms: a PDF/A report for each batch, to read, and an XML export of the same data and audit trail, to query. Together they keep the content and meaning. Each batch carries its own retention end, from 31 December 2027 for 2019 results to 31 December 2033 for 2025, and 31 December 2030 for the 2 clients’ older results, and is destroyed under procedure when it passes. Closed stability studies are kept until their client releases them, since EU GMP keeps raw data supporting a marketing authorization while it is in force.8 ExamLab 4 holds results, not raw instrument data, so no set needs reprocessing and none needs the old software kept.

Before anything is destroyed, the plan requires checksums for all 32,844 files on export and again on the archive storage, record counts that match for every table, and a field-by-field comparison of a random sample of 299 batches with ExamLab 4’s screens and audit trail, with no difference allowed: 0 differences in 299 gives 95% confidence that fewer than 1% of batches differ. A QC analyst outside the project must then find 20 batches by batch number, each with its results, specification, certificate and audit trail.

Once those checks pass, the server is to be shut down and its disks sanitized, planned for 30 April 2027, 109 days after the plan. The report, due on 14 May 2027, closes the inventory row with where each set went. The last full backup of ExamLab 4 is kept until then and destroyed under procedure; the archive is backed up like live data, nightly to the plant and weekly to cloud storage, as the draft revision of Annex 11 expects.11

6Where this page stops.

AQuestions and answers

Is a PDF of the records a good enough archive?

For static records, yes, if the PDF keeps the content and meaning, including the metadata and audit trail; FDA’s Part 11 guidance names PDF and XML as acceptable archive formats. Database records stay dynamic even when nobody will reprocess them, so pair the PDF with a queryable export such as XML. For dynamic records that may need reprocessing, such as chromatograms or FT-⁠IR spectra, FDA says a static printout does not satisfy the requirement to keep originals or true copies, so keep them in a form that can still be reprocessed.

How do you decommission a SaaS system?

The same way, but the supplier holds the data, so the contract decides what you can get back. MHRA expects contracts with providers to define responsibilities for archiving and continued readability through the retention period. Get a complete export, with metadata and audit trails, verify it, and test that you can read it before the subscription ends, then get the supplier’s confirmation that its copies are deleted.

What happens to a decommissioned system’s backups?

They are copies of its records, so the plan decides them too. A backup that can only be read by restoring the old system is not an archive once that system is gone. A common practice is to keep the last full backup until the decommissioning report is approved and then destroy it under procedure, while the archive is backed up like live data.

Does a system need a final periodic review before it is retired?

The July 2025 draft of Annex 11 says a final review should be conducted when a system is taken out of use; the 2011 text in force does not say so. It is good practice either way: it records the system’s state, open deviations and CAPA, and access before the records leave it, which the decommissioning report then relies on.

Can records be destroyed early to retire a system sooner?

No. Retention minimums run from the batch, not the system, so a record still in retention has to be migrated, archived or kept readable in the old system. Destroy only records whose retention has ended, with no hold: no open complaint, investigation or legal case, and no request from the record’s owner, such as a client, to keep it.

References12 sources

References

  1. 121 CFR 211.180, General requirements, paragraphs (a), (c) and (d), eCFR. https://www.ecfr.gov/current/title-21/section-211.180 (read 26 November 2026)
  2. 221 CFR 11.10, Controls for closed systems, paragraphs (b), (c) and (e), eCFR. https://www.ecfr.gov/current/title-21/section-11.10 (read 26 November 2026)
  3. 3Commission Directive (EU) 2017/1572 of 15 September 2017, Article 9(1), as published on legislation.gov.uk. https://www.legislation.gov.uk/eudr/2017/1572/article/9 (read 26 November 2026)
  4. 4Part 11, Electronic Records; Electronic Signatures: Scope and Application, final guidance, sections III.C.2, III.C.4 and III.C.5, FDA, August 2003. https://www.fda.gov/media/75414/download (read 26 November 2026)
  5. 5Data Integrity and Compliance With Drug CGMP: Questions and Answers, final guidance, questions 9 and 10, FDA, December 2018. https://www.fda.gov/media/119267/download (read 26 November 2026)
  6. 6EudraLex Volume 4, Annex 11: Computerised Systems, revision 1, sections 4.8 and 17, European Commission, in operation from 30 June 2011. https://health.ec.europa.eu/document/download/8d305550-dd22-4dad-8463-2ddb4a1345f1_en?filename=annex11_01-2011_en.pdf (read 26 November 2026)
  7. 7Good manufacturing practices: guidelines on validation, WHO Technical Report Series No. 1019, Annex 3, Appendix 5, Validation of computerized systems, sections 13.13 and 14, World Health Organization, 2019. https://www.who.int/docs/default-source/medicines/norms-and-standards/guidelines/production/trs1019-annex3-gmp-validation.pdf (read 26 November 2026)
  8. 8EudraLex Volume 4, Chapter 4: Documentation, sections 4.11 and 4.12, European Commission, in operation from 30 June 2011. https://health.ec.europa.eu/system/files/2016-11/chapter4_01-2011_en_0.pdf (read 26 November 2026)
  9. 9GXP Data Integrity Guidance and Definitions, revision 1, sections 6.11.1, 6.11.2, 6.17 and 6.20, MHRA, March 2018. https://assets.publishing.service.gov.uk/media/5aa2b9ede5274a3e391e37f3/MHRA_GxP_data_integrity_guide_March_edited_Final.pdf (read 26 November 2026)
  10. 10Contract Manufacturing Arrangements for Drugs: Quality Agreements, final guidance, section IV.B.1.f, FDA, November 2016. https://www.fda.gov/media/86193/download (read 26 November 2026)
  11. 11EudraLex Volume 4, Annex 11: Computerised Systems, draft for consultation, sections 14.3 and 17, European Commission and PIC/S, July 2025. https://health.ec.europa.eu/document/download/40231f18-e564-4043-94de-c031f813d38b_en?filename=mp_vol4_chap4_annex11_consultation_guideline_en.pdf (read 26 November 2026)
  12. 12PI 041-⁠1, Good Practices for Data Management and Integrity in Regulated GMP/GDP Environments, sections 9.4 and 9.9, PIC/S, 1 July 2021. https://picscheme.org/docview/4234 (read 26 November 2026)

See your process in Seal.

Bring a procedure or a recurring problem. See how your team configures it with Neil and improves the next run.