Join our Newsletter — 33% off our NHI Course
Home› Glossary› Governance, Ownership & Risk› Code Of Practice
Governance, Ownership & Risk

Code Of Practice

← Back to Glossary
By NHI Mgmt Group Updated November 24, 2026 Domain: Governance, Ownership & Risk

A code of practice is a set of agreed rules or expected practices that organisations follow to show how they meet a duty or standard. Under Article 56 of the EU AI Act, codes of practice are drawn up at Union level to help providers of general-purpose AI models show compliance until harmonised standards exist. Following one demonstrates compliance; it is not the obligation itself.

What a code of practice does

A code of practice translates a legal or regulatory duty into a practical set of expected behaviours, controls, or evidence. It is useful when a law or standard sets the obligation but leaves room for how organisations demonstrate compliance. In the EU AI Act context, it helps providers show alignment before harmonised standards are fully available.

That makes a code of practice a bridge between principle and implementation. It usually gives organisations a shared baseline for governance, documentation, technical controls, and auditability without changing the underlying legal duty. In practice, it is often used to reduce ambiguity, align expectations across suppliers and regulators, and make compliance easier to evidence.

Where codes of practice sit in regulation

Codes of practice are common in areas where regulators want consistency but do not want to prescribe every technical detail in the statute itself. They can sit beneath a law, above internal policy, or alongside standards and guidance. The key point is that they are interpretive and operational, not the primary source of the duty.

For compliance teams, that distinction matters. A code can describe what “good” looks like, but the legal obligation still comes from the underlying act, regulation, or standard. Organisations therefore treat the code as a reference for implementation and assurance, while retaining the actual duty in their compliance register and control ownership model.

Why codes of practice matter for security and governance

In cybersecurity and AI governance, codes of practice are useful because they convert broad obligations into repeatable control expectations. They often cover topics such as accountability, logging, access control, testing, disclosure, incident handling, and supplier oversight. That helps teams move from abstract policy language to evidence they can inspect, test, and report.

They are also valuable when multiple parties share responsibility. A code can clarify what providers, deployers, operators, or vendors are expected to do, which reduces gaps caused by vague ownership. For that reason, codes often become the practical reference point for audits, assurance reviews, procurement checks, and internal control mapping.

Where an organisation is building governance around AI or other regulated systems, a code of practice can be used to shape policy, control design, and documentation standards in a way that is easier to operationalise than a high-level law alone.

How organisations use a code of practice

Practically, organisations use a code of practice to translate requirements into controls, procedures, and evidence. That may mean aligning internal policy to the code, mapping controls to each expected practice, assigning owners, and keeping records that show how the organisation interprets and applies the code consistently.

It is also a useful benchmark during assurance work. Teams can compare current practice against the code, identify gaps, and decide whether they need new controls, stronger evidence, or formal exceptions. Where a code is adopted by a regulator or sector body, it can become the quickest way to demonstrate that a programme is taking compliance seriously.

For readers working on the EU AI Act, the important distinction is that a code of practice supports compliance, but it does not replace the legal duty itself. Organisations should read it as a practical guide to implementation, not as a substitute for the statute or later harmonised standards.

Risk and Threat Considerations

The main risk is false confidence, where an organisation treats a code of practice as if it were the obligation itself, or assumes that following a code automatically covers every legal and operational requirement. That can leave control gaps, weak evidence, or incomplete accountability, especially when the code is only one part of a wider regulatory regime.

Failure mechanism: Misreading a code as the full rule set can produce partial implementation, missing documentation, weak ownership, and inconsistent control testing. In regulated environments, that failure is often exposed during audit, incident review, or enforcement scrutiny.

Impact: The organisation may be unable to demonstrate compliance, may need to rework controls late in the lifecycle, and may face regulatory findings or delayed approvals. In security contexts, the same gap can also leave material exposure unaddressed because the code was followed superficially rather than operationalised fully.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST CSF 2.0 and NIST SP 800-53 Rev 5 set the technical controls, while EU AI Act and ISO/IEC 27001:2022 define the regulatory obligations.

FrameworkControl / ReferenceRelevance
EU AI ActArticle 56 — Codes of PracticeArticle 56 governs EU AI Act codes of practice for GPAI compliance.
Recommendation — Use Article 56 codes to evidence compliance until harmonised standards exist.
ISO/IEC 27001:2022A.5.1 — Policies for Information SecurityCodes of practice often become operational policy references for control expectations.
Recommendation — Translate the code into documented security policy requirements and accountability.
NIST CSF 2.0GV.OC-01 — Organizational ContextA code of practice helps define how legal duties map to organisational obligations and scope.
Recommendation — Map the code’s expectations into governance scope and ownership.
NIST SP 800-53 Rev 5PM-1 — Information Security Program PlanCodes of practice often inform the program structure used to manage compliance evidence.
Recommendation — Incorporate the code into the security program plan and compliance tracking.

Practitioner Guidance

Governance implication: Treat the code of practice as a control-design and evidence framework, not as a legal substitute. Assign clear ownership for each expectation, map it to the underlying duty, and keep traceable evidence that shows how the organisation interpreted and implemented it.

What to watch for: The biggest warning signs are vague ownership, checklist compliance without evidence, and teams citing the code while ignoring the underlying law or standard. A good practice is to review whether each code requirement can be tied to a control, a responsible owner, and a review cadence.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on November 24, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org