UK Online Safety Act
The Online Safety Act 2023 is a UK law requiring online services that host user content or provide search to tackle illegal material and protect children, enforced by the communications regulator Ofcom.
The Online Safety Act received Royal Assent on October 26, 2023. It covers two kinds of service: user-to-user services, where people can post content or interact, such as social media, forums, messaging, dating and video-sharing sites; and search services. Providers based abroad are covered if they have significant numbers of UK users, target the UK or pose a material risk of significant harm to people in the UK. Ofcom writes codes of practice explaining how to comply and enforces the duties.
The duties came in stages. New criminal offences started on January 31, 2024. Ofcom could enforce the illegal content duties from March 17, 2025, after services had assessed their risks. Services likely to be used by children then had to complete children's risk assessments and put protections in place by July 2025, including age assurance, meaning age verification or estimation, to stop children reaching pornography and content promoting suicide or self-harm. Penalties reach £18 million or 10% of qualifying worldwide revenue, whichever is greater, and in extreme cases Ofcom can ask a court to cut a service off from payment providers, advertisers and internet providers.
The Act was drafted before the boom in chatbots, so it does not mention them by name. An AI service is covered when it fits one of the Act's categories: a chatbot that lets users share AI-generated content with other users is part of a user-to-user service, and an AI tool that searches the web can be a search service. In November 2024 Ofcom wrote an open letter to online service providers explaining how the Act applies to generative AI and chatbots.
Enforcement against AI-driven harm has followed. In November 2025 Ofcom fined Itai Tech over age checks on an AI nudification site. In January 2026, after users of X used its Grok chatbot to create sexualised images of real people, Ofcom announced an investigation, and the government said it would bring into force that week a new offence of creating non-consensual intimate images with AI.
The Act remains contested. Apple and Meta warned that powers in it could threaten end-to-end encryption, and the Wikimedia Foundation challenged the rules that could place Wikipedia in the most heavily regulated category, a challenge the High Court rejected in August 2025. For AI companies the practical point is that the UK regulates by what a service does: a chatbot that adds sharing or search features can bring itself within the Act.
It can. The Act covers user-to-user and search services, so a chatbot is in scope if, for example, users can share its generated content with other users or it searches the web. Ofcom published an open letter in November 2024 explaining how the Act applies to generative AI and chatbots. Ofcom can fine a company up to £18 million or 10% of its qualifying worldwide revenue, whichever is greater. Senior managers can face criminal liability in some circumstances, and in extreme cases Ofcom can ask a court to stop payment, advertising and internet providers from working with a service. Under the Online Safety Act, services likely to be used by children must use age verification or age estimation to stop children reaching pornography and content promoting suicide or self-harm. Those child safety duties came into force in July 2025. Yes, if the service has a significant number of UK users, targets the UK market or poses a material risk of significant harm to people in the UK.Common questions
Does the Online Safety Act apply to AI chatbots?
What are the penalties under the Online Safety Act?
Why do UK websites ask for age checks?
Does the Online Safety Act apply to companies outside the UK?
Search for "Online Safety Act explainer", "Ofcom generative AI chatbots open letter" or "Ofcom illegal harms codes" to follow how the law applies to AI. GOV.UK, Ofcom's codes, guidance and enforcement bulletins, and the Act's text on legislation.gov.uk are the authoritative sources. Commentary from both online safety campaigners and digital rights groups is useful, but it is often written to argue for changes to the law.Finding more
Working out what this means for your business?
Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.