Mental Health Services Data Set (MHSDS)

Mental Health Services Data Set (MHSDS)#

Last modified: 21 Oct 2026

People who received care in NHS-funded hospital or community setting for a mental health condition in England.
More information about this dataset is available here.

1. Summary#

Data are collected about people treated in NHS-funded services for mental health and wellbeing, learning disability, autism or other neurodevelopmental condition. Data collected include type of care received, the length of care episodes, as well as information about contact with mental health and social care professionals, and measures of health and social functioning.

Dataset Descriptor Dataset-specific Information
Name of Dataset in TRE NHSE_MHSDS
Citation (APA) Data Services, NHS England (NHSE). (2025). NHS England: Mental Health Services Data Set. UK Longitudinal Linkage Collaboration (UK LLC). https://doi.org/10.71760/ukllc-dataset-00377-04
Download Citation Citeproc JSON     BibTeX     RIS
Series NHS England
Owner NHS England
Copyright Copyright © (2026), NHS England. Data re-used with the permission of NHS England. All rights reserved.
Temporal Coverage in the TRE 04/2006 - ongoing
Geographical Coverage England
Participant Count N/A - Dataset comprises of multiple auxiliary tables
Number of Variables N/A - Dataset comprises of multiple auxiliary tables
Number of Observations N/A - Dataset comprises of multiple auxiliary tables
Key Link https://digital.nhs.uk/data-and-information/data-collections-and-data-sets/data-sets/mental-health-services-data-set/tools-and-guidance
Keywords None
Latest Extract Date 2024-04-26
Specific Restrictions to Data Use None
Build a Data Request https://explore.ukllc.ac.uk/

2. Metrics#

Cohort Participant Count
AIRWAVE 122
ALSPAC 15
BCS70 63
BIB 1506
ELSA 12
EPICN 2837
EXCEED 35
GLAD 37573
MCS 453
NCDS58 172
NEXTSTEP 63
NIHRBIO_COPING 115
NSHD46 18
TEDS 149
TRACKC19 679
TWINSUK 388
UKHLS 496
UKREACH 1813

3. Version History#

Version 1 2 3 4
Version Date 21 Dec 2022 13 Apr 2023 26 Apr 2024 09 Sep 2025
Number of Variables 38 38 50 59
Number of Observations 1313664 1414552 1948470 371419
DOI 10.71760/ukllc-dataset-00377-01 10.71760/ukllc-dataset-00377-02 10.71760/ukllc-dataset-00377-03 10.71760/ukllc-dataset-00377-04
Change Log 10.71760/ukllc-dataset-00377-01/activities 10.71760/ukllc-dataset-00377-02/activities 10.71760/ukllc-dataset-00377-03/activities 10.71760/ukllc-dataset-00377-04/activities

4. Documentation#

We are currently building a documentation storage system which will host useful documents related to datasets and data owners. We will surface these documents on Guidebook.

5. Useful Syntax#

Below we will include syntax that may be helpful to other researchers in the UK LLC TRE. For longer scripts, we will include a snippet of the code plus a link to the UK LLC GitHub repository where you can find the full scripts.