PAC or STAC: which code do you need?
Ofcom, the UK regulator, sets out two codes for leaving a mobile provider:
- PAC (Porting Authorisation Code): use this when you want to keep your number with your new provider.
- STAC (Service Termination Authorisation Code): use this when you are not keeping your number and just want to end the service.
Both are free. Your new provider needs the PAC to move your number across, so you normally give it to them when you sign up for the new plan.
How to get your PAC code by text
Ofcom’s text-to-switch service is the quickest route. Text PAC to 65075 from the phone you are leaving. Your provider should reply within a minute with your code, which Ofcom says is valid for 30 days. For a STAC, text STAC to 75075.
You can also ask for the code in your provider’s app or online account, or by phone. The reply text also tells you any early-exit charge and the date your contract ends, so read it before you pass the PAC on.
What happens once you give the PAC to your new provider
Your new provider arranges the move with the old one. Ofcom says the switch should be completed within one working day of the request. Your new SIM, or eSIM, then takes over your number. Until it does, keep the old SIM in your phone so you can still make calls. If you are moving to an eSIM, see our guide to how eSIMs work, and check that your phone is unlocked.
Check these before you switch
- Your end date and exit charges. If you are still in contract, leaving early can mean paying the remaining months. Compare that with what you would save. If your bill went up mid-contract, you may have rights, see mid-contract price rises.
- Network coverage. Many cheaper brands use a big network’s signal. Our networks guide shows which brand runs on which network, so you can test the coverage at home first.
- Handset payments. A phone you pay for monthly is a separate agreement. It does not disappear when you switch your SIM.
- Phone unlocked. A locked handset will not accept another network’s SIM.
- Anything tied to your number. Banking apps and two-factor codes use it, so update them if you drop your old number.
Switching broadband and mobile are different
Mobile switching uses a PAC, whereas broadband switching goes through your new provider and Openreach or another network without needing a code from you. See One Touch Switch and our switching guide for the home internet side, or browse SIM-only plans to see providers side by side.
Last updated: 18 November 2026