Skip to main content
All CollectionsGetting startedBest practices
How to clear the FPLMN list on the SIM
How to clear the FPLMN list on the SIM

FPLMN can be cleared either with AT commands or through physical removal of the SIM.

Jakub Kubinski avatar
Written by Jakub Kubinski
Updated over 2 months ago

Sometimes, the FPLMN list may prevent your device from connecting to certain networks due to previously rejected connections.

While we generally recommend implementing some firmware logic that would ensure that the FPLMN list is cleared by the device automatically, you may have to clear the list manually.

This guide will provide you with steps on how to do it.

The FPLMN is stored on the SIM, but managed by the device. Onomondo cannot clear the forbidden list for you remotely.


How do I clear the FPLMN (forbidden network) list?

The following options require knowledge of how to use AT commands on your device. You may need to speak to the manufacturer or supplier if you are unfamiliar with AT commands.

Option A: Clear the FPLMN list with AT+CRSM

You’ll need access to the device with the SIM in it and be able to issue AT commands.

You can first check if the list needs clearing by running this standard command:

AT+CRSM=176,28539,0,0,12 +CRSM: 144,0,"FFFFFFFFFFFFFFFFFFFFFFFF" OK

The AT+CRSM command tells the SIM to give us the FPLMN datafile (28539) in binary (176). If you get any response other than 24 Fs (the list’s data prefix) as shown above, then the FPLMN needs to be cleared.

To clear the FPLMN list, you can run the update binary (214) AT+CRSM command with 24 F’s:

AT+CRSM=214,28539,0,0,12,"FFFFFFFFFFFFFFFFFFFFFFFF" OK

This will set the list back to the prefix only, meaning that the FPLMN list is clear.

Warning: Some cellular modules need to enter a specific mode before clearing the list. Please consult your hardware manual beforehand for information on specific settings – and please remember to change it back to normal operation afterwards.

Option B: Manual network selection with AT+COPS

Another way to remove a network from the FPLMN list is to use manual selection mode. Most modules allow manual network connection in their configuration settings.

Run the manual network selection AT command on the forbidden networks:

AT+COPS=1,,

During manual selection, the module will not look at the FPLMN list. If a successful data connection is made, the module will clear the network from the SIM’s FPLMN list.

Warning: A few cellular modules will not attempt to manually connect to a forbidden network. Please consult the manufacturer’s AT Command Manual for more information

You can read a full overview of the network selection command here: AT+COPS.


What if I don’t have access to AT commands?

If you don’t have access to AT commands, there are a couple ways you can use the GSMA standards to attempt to clear the FPLMN list.

Option A: Take the SIM out of the device

Some devices will clear the FPLMN list when a new SIM is inserted into them. If you are using plastic SIMs and the device is within reach, take it out and turn the device on. Then turn it off again and put the SIM card in again.

When it turns on, the device will try to connect to previously forbidden networks if it has successfully cleared the SIM.

This option is unfortunately not possible with embedded SIMs (MFF2 chips).

Option B: Use a mobile phone

Take the SIM out of the device and put it in a phone. If the phone does not clear the FPLMN list, use manual selection options on the phone to clear individual networks on the list: go to network selection in the settings menu, choose manually select networks, wait for the phone to scan the networks in the area (this can take a couple of minutes), and then pick a network to connect to.

If the phone does not connect to any network with manual selection - the FPLMN list is not the problem. Instead, it is most likely something at the network operator level.

Option C: Change location

There are four slots on the FPLMN list. As the module moves across borders and "meets" new networks, the FPLMN list will slowly be updated, removing previous entries and clearing the list.

This is a bit more drastic, but if the device changes countries and you have access to more networks, it will be able to connect again.

Did this answer your question?