In the UK, the Privacy and Electronic Communications Regulations (PECR) decide whether you can send a marketing text, and it makes no difference whether a person or an AI wrote it. The core rules are short: get prior consent (or meet the narrow soft opt-in), never hide who is sending, and include a free, simple way to opt out in every message. Breaches can now cost up to £17.5 million or 4% of global turnover.

Does PECR apply to AI-generated texts?

Yes. PECR's "electronic mail" rules (regulations 22 and 23) cover text messages as well as email. They apply to direct marketing: messages promoting products, services, aims or ideals. The technology that drafts the message is irrelevant; the sender is responsible.

What PECR does not restrict is genuine service messaging, such as appointment confirmations, delivery updates or answers to a question the customer asked. An AI customer-service agent that only does those things is mainly a UK GDPR matter (lawful basis, transparency, retention), not a PECR one. The risk is drift: if the model adds "and why not book a whitening session too?", that text is now marketing.

What does PECR require for marketing texts?

Regulation 22, as amended, sets the consent rules for individual subscribers (legislation.gov.uk):

Route Conditions Typical AI use
Prior consent The recipient specifically agreed to marketing texts from you Promotional campaigns, re-engagement
Soft opt-in (businesses) Number obtained in a sale or negotiation for a sale; marketing your own similar products; opt-out offered at collection and in every message Follow-up offers to past customers
Charitable soft opt-in (from 5 Feb 2026) Supporter expressed interest in or supported your charitable purposes; marketing furthers those purposes; opt-out offered at collection and in every message Fundraising texts to existing supporters
None of the above Do not send marketing —

The soft opt-in cannot be used for third-party marketing or for products unrelated to what the customer bought.

Regulation 23 adds two rules for every marketing message (legislation.gov.uk):

  • The identity of the sender must not be disguised or concealed.
  • A valid address for opt-out requests must be provided.

What changed with the Data (Use and Access) Act 2025?

  1. Data (Use and Access) Act 2025 receives Royal Assent
  2. Main data provisions commence, including the charitable soft opt-in
  3. Ofcom final statement on mobile messaging scams; no mandatory Sender ID registry
  4. ICO opens call for evidence on agentic AI (closes 20 Nov 2026)

The headline change for senders is enforcement. The Act raised the maximum PECR penalty from £500,000 to the UK GDPR level of £17.5 million or 4% of global annual turnover, according to MFMac and other law-firm summaries. The ICO has continued to fine organisations for unsolicited marketing texts and calls in 2026, as RPC reports.

Maximum PECR fine (was £500,000)
£17.5m or 4%
Charitable soft opt-in in force
5 Feb 2026
Must include an opt-out
Every message

For how the same Act affects AI agents more broadly, including automated decision-making, see personalagent.uk's guide to the Data (Use and Access) Act and AI agents.

How should a UK AI texting agent handle opt-outs?

PECR does not specify keywords the way the US FCC now does, but the opt-out must be simple and free. In practice:

  1. Offer it every timeEnd each marketing text with a short opt-out, such as "Reply STOP to opt out".
  2. Accept plain languageTreat "stop", "unsubscribe" or "no more texts" as opt-outs, in code.
  3. Act at onceSuppress the number immediately; do not wait for a batch job.
  4. Keep a suppression listRetain opted-out numbers so they are never re-imported.
  5. Separate service and marketingAn opt-out from marketing need not end genuine service messages, but say so clearly.

Do not let the LLM decide whether a reply is an opt-out. Handle it before the model sees the message, as described in our SMS agent opt-in and opt-out guide.

What about sender IDs and spoofing in the UK?

UK senders often use alphanumeric sender IDs (a brand name instead of a number). These can be spoofed. Ofcom's mid-July 2026 final statement on messaging scams declined to mandate a central Sender ID registry, so protection relies on the voluntary MEF SMS SenderID Protection Registry, which UK mobile networks use to block impersonators. If you text customers under a brand name, registering it reduces the chance of scammers impersonating you. Our guide to SMS spoofing and AI agents explains the wider risk.

It also helps to tell customers how your genuine messages look: the sender ID you use, that you never ask for passwords by text and how to verify a message. It costs nothing and makes impersonation harder.

How does PECR compare with US rules?

UK (PECR) US (TCPA and carrier rules)
Regulator ICO FCC, FTC, state AGs; carriers via 10DLC
Marketing consent Prior consent or soft opt-in Prior express written consent
Opt-out Simple, free, in every message Seven standard reply words if using reply-text opt-out; within 10 business days
Sender registration Voluntary Sender ID registry Mandatory 10DLC or toll-free verification
Maximum penalty £17.5m or 4% of turnover Statutory damages per message

US senders should read our TCPA guide. For agents serving customers in several countries, our texting agents outside the US page covers availability.

Bottom line

For a UK AI texting agent, the safe default is to separate service messages from marketing. Keep the AI to service unless you have consent or a valid soft opt-in, identify yourself in every message, honour opt-outs instantly in code and log consent. The fines are now large enough that "the AI wrote it" will not be a defence.