Skip to main content
v2026.11,986 entries · CC-BY 4.0
CASRAICASRAI Working GroupsHelp write the standards you have to implement24 working groups propose, review and ratify the terms CASRAI publishes, one per dictionary domain. Community and observer seats start at about two hours a month; chairs and co-chairs give 6–8 hours a month. Applications are reviewed.Apply to join a group CASRAI · Volunteer seats
Dictionary termTrack BProposedv2026.2

Five Safes framework

A framework for the safe use of sensitive data in research, articulated by the UK Office for National Statistics, that organises controls under five dimensions: Safe People, Safe Projects, Safe Settings, Safe Data, and Safe Outputs.

ByCASRAI Editorial Board
· Last updated 6 Sept 2026

Working group for this domain: Research data infrastructure working group

Share this

Ask CASRAI · full access

Ask about Five Safes framework

Full access: large monthly usage, up to 10 source passages behind each answer, and MCP and API access for Claude Code, Codex and other CLIs. Cancel any time.

An AI assistant for research: funder rules, compliance, methods and publishing. It links the sources behind its answers and labels answers that come from a web search.

Answers draw on CASRAI's guides and dictionary plus the federal and funder documents we index: Federal Register, Grants.gov, Regulations.gov and UKRI.

Works on this site and inside Claude, Cursor and the AI tools you already use.

Everything CASRAI publishes — this page, the dictionary, the guides and the news — stays open to read, with no account and no card.

Editorial commentary

Five Safes framework in practice

Each 'safe' addresses a distinct control: Safe People (are the researchers vetted and trained?), Safe Projects (is the proposed use lawful, ethical, and in the public interest?), Safe Settings (is the analysis taking place in a secure environment?), Safe Data (has the data been appropriately minimised and de-identified?), Safe Outputs (have results been disclosure-controlled before release?). The framework underpins the operation of UK government statistical microdata access (ONS SRS), TREs across the NHS England SDE network, and many international equivalents.

Why all five, together

The framework’s design point is that no single control is sufficient on its own — a system with excellent output disclosure control but no vetting of who can log in is not safe, and a system that vets researchers thoroughly but leaves the analysis environment unrestricted (permitting local downloads) is not safe either. A trusted research environment (TRE) is assessed against the whole set, and a gap in any one dimension is treated as a real gap, not offset by strength elsewhere.

Worked example (illustrative)

Illustrative composite: a health-data TRE requiring researcher accreditation and training (Safe People), IRB/ethics approval documenting public benefit before project onboarding (Safe Projects), analysis restricted to a virtual desktop with no local file export (Safe Settings), a pseudonymised extract with direct identifiers removed before it enters the environment (Safe Data), and manual statistical disclosure control review of any output — tables, figures, model coefficients — before it leaves the environment (Safe Outputs), is the standard shape a Five Safes-compliant setup takes in practice.

Counter-example

A cloud analytics environment that vets and trains its users carefully (Safe People) but allows unrestricted download of any query result is not Five Safes-compliant — the missing Safe Outputs control means disclosure risk sits entirely on researcher judgement rather than on a documented review step.

Related pages

See also data safe haven (a specific implementation model built on the Five Safes), sensitive data repository, trusted digital repository, and the HIPAA Privacy Rule as a US regulatory analogue for de-identification (Safe Data).

References

  • Desai T., Ritchie F., Welpton R., ‘Five Safes: designing data access for research’ (Bristol Centre for Economics and Finance working paper, 2016).
  • UK Office for National Statistics, Approved Researcher Scheme / Secure Research Service (ons.gov.uk).

Examples

Worked examples

  • Is an instance

    A health-data trusted research environment applying accreditation (Safe People), ethics approval (Safe Projects), a locked-down virtual desktop (Safe Settings), a pseudonymised extract (Safe Data), and manual output disclosure review (Safe Outputs) together.

Counter-examples

Looks similar, but isn't

  • Not an instance

    A carefully-vetted-user analytics platform that still permits unrestricted download of query results — missing the Safe Outputs control despite strong Safe People controls.

Also known as

Five Safes · 5 Safes

Machine-readable encodings

Use in your systems

JATS XML <kwd> element
xml
<kwd vocab="CASRAI Dictionary"
     vocab-identifier="https://casrai.org/dictionary/"
     vocab-term="Five Safes framework"
     vocab-term-identifier="https://casrai.org/dictionary/term/five-safes-framework">Five Safes framework</kwd>
Schema.org DefinedTerm (JSON-LD)
Schema.org DefinedTerm (JSON-LD)
json
{
  "@context": "https://schema.org",
  "@type": "DefinedTerm",
  "@id": "https://casrai.org/dictionary/term/five-safes-framework",
  "name": "Five Safes framework",
  "identifier": "https://casrai.org/dictionary/term/five-safes-framework",
  "description": "A framework for the safe use of sensitive data in research, articulated by the UK Office for National Statistics, that organises controls under five dimensions: Safe People, Safe Projects, Safe Settings, Safe Data, and Safe Outputs.",
  "inDefinedTermSet": "https://casrai.org/dictionary/domain/data-infrastructure#set",
  "url": "https://casrai.org/dictionary/term/five-safes-framework",
  "alternateName": [
    "Five Safes",
    "5 Safes"
  ],
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "publisher": {
    "@id": "https://casrai.org/#organization"
  },
  "author": {
    "@id": "https://casrai.org/#editorial-team"
  },
  "datePublished": "2026-05-21T02:22:48Z",
  "dateModified": "2026-09-06T19:58:56Z",
  "inLanguage": "en",
  "isAccessibleForFree": true
}

Referenced across the research world

University of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoUniversity of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logo
  • University of Cambridge logo
  • Columbia University logo
  • Crossref logo
  • University of Edinburgh logo
  • Harvard University logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo
  • ORCID logo

View CASRAI adoption →