FDA 21 CFR Part 11 requires custom software to implement three categories of controls: electronic signature validation (unique user IDs, biometric or dual-factor authentication, signature manifestations linked to signed records), audit trail requirements (immutable logs of every record creation, modification, and deletion with timestamp, user ID, and reason for change), and system validation through documented IQ/OQ/PQ protocols that prove the software performs as intended. Any company that manufactures, processes, packs, or holds FDA-regulated products — pharmaceuticals, medical devices, food, biologics — must comply with Part 11 when electronic records replace paper records or when electronic signatures replace handwritten ones.
This guide breaks down each Part 11 requirement into the specific technical controls your development team needs to implement, the validation documentation the FDA expects during an audit, and the cost and timeline realities of building compliant software from scratch versus retrofitting an existing system.
What does FDA 21 CFR Part 11 require for software?
Part 11 establishes the criteria under which the FDA considers electronic records and electronic signatures to be trustworthy, reliable, and equivalent to paper records and handwritten signatures. The regulation applies to records required by any FDA predicate rule — whether it is a batch manufacturing record under 21 CFR 211, a device history record under 21 CFR 820, or a laboratory record under GLP or GCP regulations.
The regulation is divided into three subparts. Subpart A covers general provisions and scope. Subpart B addresses electronic records — the controls your software must implement to ensure records are accurate, complete, and protected from alteration. Subpart C covers electronic signatures — the requirements that make a digital signature legally binding under FDA law.
The most common mistake in Part 11 compliance is treating it as a documentation exercise. It is not. Part 11 is a technical specification. The controls must be built into the software architecture — not bolted on after the fact through SOPs or manual workarounds.
How do electronic signatures work under Part 11?
An electronic signature under Part 11 is not a typed name or a click on an "I agree" button. The FDA requires electronic signatures to include at least two distinct identification components — typically a user ID and a password — executed at the time of signing. For non-biometric signatures (which covers most custom software implementations), the regulation mandates that each signing is unique to the individual, that signed records display the printed name of the signer, the date and time of the signing, and the meaning of the signature (such as "approved," "reviewed," or "rejected").
The signature manifestation must be permanently linked to the signed record. If someone signs a batch release record, the signature metadata — who signed, when, and why — must travel with that record wherever it goes: exports, reports, archives. Separating the signature from the record during any operation is a Part 11 violation.
Technical implementation requires three things at minimum:
- Re-authentication at the point of signature — a modal or step that forces the user to re-enter their credentials at the moment they sign, not relying on an existing session token
- Signature binding — cryptographic or database-level binding between the signature record and the signed data, so that modifying the record after signing is detectable
- Continuous session monitoring — automatic session timeouts and lockouts to prevent unauthorized use of a signed-in session
Organizations using electronic signatures must also certify to the FDA (a one-time submission to the FDA's Office of Regional Operations) that their electronic signatures are intended to be the legally binding equivalent of handwritten signatures. This is a procedural step, not a technical one, but missing it invalidates all electronic signatures in the system.
What audit trail requirements does the FDA mandate?
Section 11.10(e) requires computer-generated, time-stamped audit trails that independently record the date and time of operator entries and actions that create, modify, or delete electronic records. The audit trail must be retained for a period at least as long as the required retention period for the subject electronic records and must be available for FDA review and copying.
The critical word is "independently." The audit trail cannot be a feature of the application that the same application can disable. It must be architecturally independent — meaning a user with application-level admin access cannot suppress, modify, or delete audit entries.
We build audit trails as immutable append-only logs from the database schema up — not as application-layer wrappers that can be bypassed. The difference matters during an FDA audit. An application-layer audit log can be turned off by a developer with database access. A schema-level append-only table with database-enforced constraints cannot be modified without leaving evidence in the database transaction log itself.
Each audit trail entry must capture five elements:
- The previous value of the field (before the change)
- The new value of the field (after the change)
- The user who made the change (linked to a validated user account, not a display name)
- The date and time of the change (server-side timestamp, not client-side)
- The reason for the change (a required free-text or coded field the user must complete before the save executes)
The "reason for change" field is where most software fails FDA audits. Many systems log what changed and who changed it, but do not force the user to state why. Without the reason field, the audit trail is incomplete under Part 11.
What is IQ/OQ/PQ validation for software?
IQ/OQ/PQ stands for Installation Qualification, Operational Qualification, and Performance Qualification. Together, they form the documented evidence that a computer system is installed correctly, operates according to its specifications, and performs reliably in its intended production environment. The FDA expects this documentation for any computerized system that creates, modifies, maintains, archives, retrieves, or transmits regulated records.
Each phase produces specific deliverables:
Installation Qualification (IQ) verifies that the software and its supporting infrastructure — servers, databases, network configurations, third-party dependencies — are installed according to the approved design specifications. IQ deliverables include the installation checklist, environment configuration records, dependency version verification, and evidence that the installed system matches the validated build.
Operational Qualification (OQ) tests that every function of the software operates according to its functional specification under normal conditions, boundary conditions, and error conditions. OQ is the most labor-intensive phase. Each test case traces back to a specific requirement in the User Requirements Specification (URS), and the test must be executed against the installed system — not a development environment. OQ deliverables include the test protocol, test scripts, test results, deviation reports, and traceability matrix.
Performance Qualification (PQ) verifies that the system performs as intended under real-world operating conditions — actual data volumes, concurrent users, production network latency. PQ typically runs for a defined period (30–90 days) after go-live and includes monitoring for system errors, data integrity issues, and performance degradation.
Part 11 requirements, technical implementation, and common audit findings
The table below maps each major Part 11 requirement to its technical implementation and the most common audit findings the FDA issues when the control is inadequate.
Part 11 Requirement | Technical Implementation | Common Audit Finding |
|---|---|---|
Audit trails (§11.10(e)) | Immutable append-only database table with before/after values, user ID, timestamp, reason for change | Audit trail can be disabled by admin users; no reason-for-change field |
Electronic signatures (§11.100) | Re-authentication modal at point of signing; cryptographic binding of signature to record; printed name + date/time + meaning displayed on signed record | Signature relies on session token instead of re-authentication; signature meaning not captured; no FDA certification letter filed |
Access controls (§11.10(d)) | Role-based access control with documented authority levels; unique user accounts (no shared logins); automatic session timeout | Shared admin accounts; no automatic timeout; access levels not documented or mapped to job functions |
System validation (§11.10(a)) | IQ/OQ/PQ protocols with full traceability matrix linking each test to a URS requirement; deviation management process | No traceability matrix; validation performed on dev environment, not production; no ongoing change control process for post-validation updates |
Record retention (§11.10(c)) | Automated archival with verified retrieval; records readable throughout entire retention period; migration-validated when systems change | Archived records stored in proprietary format with no extraction tool; no verification that archived data is complete and readable |
IQ/OQ/PQ validation phases, deliverables, and timeline
The table below breaks down each validation phase, the specific deliverables required, and typical timelines for a medium-complexity system (50–200 test cases).
Phase | Deliverables | Typical Timeline | Who Executes |
|---|---|---|---|
IQ — Installation Qualification | Installation checklist, environment config records, dependency version log, build verification | 1–2 weeks | DevOps + QA |
OQ — Operational Qualification | Test protocol, test scripts (normal + boundary + error), test results, deviation reports, requirements traceability matrix | 4–8 weeks | QA team with subject-matter expert review |
PQ — Performance Qualification | PQ protocol, production monitoring logs, system error reports, data integrity verification, user acceptance sign-off | 30–90 days post-deployment | Operations team + QA + quality assurance unit |
Ongoing — Change Control | Change request form, impact assessment, re-validation protocol for affected functions, updated traceability matrix | Per release (every sprint or change cycle) | Development + QA + quality assurance unit approval |
Validation is not a one-time event. Every software update — every bug fix, every feature addition, every infrastructure change — triggers the change control process. The change must be assessed for its impact on validated functions, and affected functions must be re-validated before the change goes to production. Companies that treat validation as a one-time gate before launch discover this the hard way during their next FDA inspection.
How much does FDA compliant software development cost?
FDA-compliant custom software costs 40–80% more than equivalent non-regulated software. The additional cost is almost entirely documentation and validation — the software itself may be identical, but Part 11 compliance demands a documentation trail that matches every requirement to a test, every test to a result, and every change to an impact assessment.
For a medium-complexity system (batch record management, electronic signatures, audit trails, 50–200 functional requirements), expect:
- Software development: $150,000–$400,000 depending on scope and integrations
- Validation documentation (URS, FRS, design spec, IQ/OQ/PQ protocols, traceability matrix): $60,000–$150,000 — this is the Part 11 premium
- Validation execution (IQ + OQ + PQ): $40,000–$100,000 depending on test case count and deviation management
- Ongoing change control and re-validation: $2,000–$8,000 per release cycle
The biggest cost driver is not the initial build — it is the ongoing change control. Every time the software is updated, affected validation documents must be updated and affected test cases must be re-executed. Teams that build Part 11 compliance into their CI/CD pipeline from day one spend 30–50% less on ongoing compliance than teams that treat validation as a separate manual process.
Retrofitting Part 11 compliance onto an existing non-compliant system is almost always more expensive than building compliant from the start. The audit trail architecture alone may require restructuring the database schema, which touches every table and every query. In our experience, retrofits run 1.5–2x the cost of a ground-up compliant build for equivalent functionality.
When does custom software need FDA validation?
Not every piece of software in an FDA-regulated facility requires Part 11 validation. The regulation applies only when the software creates, modifies, maintains, archives, retrieves, or transmits records that are required by an FDA predicate rule — and when those electronic records are used in place of paper records.
Software that clearly requires Part 11 validation:
- Electronic batch record systems (pharmaceutical manufacturing)
- Laboratory Information Management Systems (LIMS) when used for GLP/GMP/GCP data
- Device History Record (DHR) systems for medical device manufacturers
- Quality Management Systems (QMS) that manage CAPA, deviations, and change control
- Document management systems that control SOPs and regulated documents
- Custom ERP modules that handle production scheduling, material traceability, or lot tracking for FDA-regulated products
Software that typically does not require Part 11 validation: general-purpose email, corporate HR systems, financial accounting systems (unless they process regulated product costing records), and marketing tools. The determining question is whether the software creates or manages records required by an FDA predicate rule.
A common grey area is spreadsheets. If a company uses Excel to perform GMP calculations — yield calculations, stability data analysis, in-process testing records — those spreadsheets are electronic records under Part 11 and must be validated. The FDA has issued multiple warning letters for unvalidated spreadsheet use in GMP environments. Custom software that replaces these spreadsheets inherits their regulatory obligation and must be validated accordingly.
The cost of getting this wrong is not theoretical. FDA Form 483 observations for Part 11 violations have increased year over year, and a 483 finding delays product approvals, triggers follow-up inspections, and — in severe cases — results in consent decrees that can shut down manufacturing operations. Building Part 11 controls into software from the architecture phase is a fraction of the cost of remediating after an FDA finding.
Madgeek builds FDA-compliant custom software for pharmaceutical manufacturers, medical device companies, and biotech firms. We handle the full scope: requirements specification, compliant architecture design, development with built-in audit trails and electronic signatures, IQ/OQ/PQ validation documentation and execution, and ongoing change control support. If your team is evaluating whether to build, buy, or retrofit — start with a scoped discovery call.
Written by
Abhijit Das
CEO
Building AI tools for businesses from legacy to new age SaaS startups
LinkedIn ↗Need a team to build this for your business?