Microdata Products

Microdata Products

NRS have made three datasets of sampled census data available to researchers who would like to use individual census records (microdata) for research.

These datasets are designed to protect the confidentiality of people and households.  Equivalent datasets are available from the England and Wales and Northern Ireland censuses in 2011.

Data is available at three levels of security – more detailed datasets are held more securely. None of the Microdata Products contain any direct identifiers (e.g. name, address, date of birth).





Teaching Microdata



Effectively anonymised

Safeguarded Microdata


Download under license through UK Data Service (link to UK Data Service website)

Effectively anonymised

Secure Microdata


On application, access through a Secure Research Facility

Personal data

The Teaching Microdata Files contain a limited amount of information about 1% of the Scottish population, chosen at random. This dataset is freely available to download online. We are confident that no individual people or households can be identified in this dataset, because the data is a random 1% sample of the population, and people and households with unusual combinations of characteristics have been removed from the sample to protect their confidentiality.

The Safeguarded Microdata Files contain more detailed information about 5% of the records. The risk of revealing information about individuals or households in this dataset is very low, but not impossible. Because of this there are additional safeguards in place. Researchers are only granted access to this data after agreeing to restrictions on use, data management and storage, and registering the research purpose for each usage of the data. The researcher must be affiliated with an academic institution or public body and the dataset may not be used for commercial purposes. Access to the Safeguarded Microdata Files is administered by the UK Data Service (link to UK Data Service website).

The Secure Microdata Files contain more detailed information about a random sample of 10% of all people, and 10% of all households in the 2011 census. This dataset is given more protection than the other Microdata Products, as the level of detail means there is a higher risk that an individual or household could be identified in the dataset. Researchers can only access this dataset when all of the following apply:

  • The data will only be used for research purposes
  • The data will not be used for automated decision-making
  • The project has been approved by a research ethics panel
  • The project has been approved by an independent panel to consider the public benefit and privacy risks of the research
  • All researchers have been trained to handle personal data safely and appropriately
  • Researchers can only access the data inside a Secure Research Facility.

The results of any data analysis can only be taken out of the secure research environment once a member of NRS or ONS staff has checked that they cannot be used to identify individual people or households.

Currently, researchers can access the Secure Microdata Files for Scotland, England and Wales, and Northern Ireland censuses through Office for National Statistics’ Secure Research Service, from London, Titchfield, Newport or Belfast.

Your rights as a data subject

The NRS Data Protection Officer is your point of contact for any concerns or questions about the confidentiality of your personal census data in the Microdata Products from Scotland’s Census 2011.

You also have the right to report your concerns to the Information Commissioner’s Office (ICO). For more information visit the ICO website.

The GDPR grants individual data subjects with certain rights, for example the right to access your own personal data, the right to rectify incorrect data, the right to have your data erased, the right to restrict what can be done with your data and the right to object to the use of your data. However, these rights do not apply to the use of personal data for scientific or historical research purposes or statistical purposes, where responding to these rights would prevent the research or statistical purpose from being achieved. The Secure and Safeguarded Microdata Files may only be used for scientific or historical research purposes, and therefore these rights will not apply.

Personal census data is also exempt from Freedom of Information requests under the Freedom of Information (Scotland) Act 2002, and from Environmental Information requests, under the Environmental Information (Scotland) Regulations 2004.  This applies for 100 years after the data was collected.

We are not able to confirm whether or not your data is included in any particular census dataset, as this could put other peoples’ personal information at risk.

Changes to this privacy notice

We keep our privacy notices under regular review. This privacy notice was last updated on Wednesday 29 May, 2019

Contact Information

NRS Data Protection Officer
HM General Register House
2 Princes Street

Tel: 0131 535 1314

Email: dataprotection@nrscotland.gov.uk


  • The Census Act 1920 made it a criminal offence to unlawfully disclose confidential census data. The Census (Confidentiality) Act 1991 extended this to people and businesses working as part of the census. Anyone who unlawfully discloses census data can be fined up to £10,000 or sent to prison for up to two years, or both.
  • Data Protection Act 2018 Schedule 2 part 6 and GDPR Article 89(2)