Skip to content
M2M.globalGet early access

Quectel BG96: APN and network setup with an IoT SIM

Updated

The Quectel BG96 is a cellular module for LTE-M and NB-IoT with 2G fallback; it also has GNSS. With an IoT SIM, you set the APN with AT+CGDCONT=1,"IP","<apn>", choose the radio technology, then check that the module is registered, at home or in roaming. Vendor commands come from Quectel's manuals, standard ones from 3GPP TS 27.007; each cites its document.

Key facts

Quectel describes it asLTE Cat M1 & Cat NB1 & EGPRS Module
Radio technologiesLTE-M, NB-IoT, 2G
2G fallbackyes
GNSSyes
Form factorLGA (SMT), 26.5 × 22.5 × 2.3 mm
Variants and regionsGlobal
Power savingPSM: yes; eDRX: yes

Quectel's specification marks GNSS as optional: it depends on the version ordered.

Source: Quectel, BG96 product page. Checked 27 October 2026. Quectel's AT manuals carry a confidentiality notice: we cite them by title and page, without linking the files.

Set the APN

AT+CGDCONT=1,"IP","<apn>"

For the internal TCP/IP stack, Quectel sets the APN with AT+QICSGP=1,1,"<apn>","","",0 (Quectel BG96 TCP(IP) Application Note V1.4, page 14).

Source: Quectel BG96 AT Commands Manual V2.5, page 138.

Replace <apn> with the APN shown in your M2M.global account: the internet APN, or your private APN.

Choose the radio technology

AT+QCFG="iotopmode",0,1
AT+QCFG="nwscanseq",020301,1

iotopmode chooses the LTE category: 0 = LTE-M only, 1 = NB-IoT only, 2 = both. nwscanseq sets the search order with 01 = GSM, 02 = LTE-M, 03 = NB-IoT: 020301 searches LTE-M, then NB-IoT, then GSM. The final 1 applies the change at once.

Source: Quectel BG96 QCFG AT Commands Manual V1.1, pages 14, 15 and 20.

Open the data connection

AT+QIACT=1

Activates context 1 of the internal TCP/IP stack.

Source: Quectel BG96 TCP(IP) Application Note V1.4, page 16.

Check that it works

AT+CPIN?        SIM ready? expect +CPIN: READY
AT+CEREG?       LTE registration: stat 1 = home network, 5 = roaming
AT+COPS?        network the module is using
AT+CGDCONT?     APN actually configured
AT+QCSQ

An IoT SIM that works in many countries is often registered in roaming: +CEREG: 0,5 is a valid, working registration. Firmware that waits only for status 1 (home network) never goes online on such a SIM. Status values come from 3GPP TS 27.007; the signal command from Quectel BG96 AT Commands Manual V2.5, page 86.

To save battery, request PSM with AT+CPSMS and eDRX with AT+CEDRXS (3GPP TS 27.007); the network decides which timers it grants.

Networks and shutdowns

The SIM: IoT SIM cards and IoT eSIM. All commands explained: AT commands.

Frequently asked questions

How do I set the APN on the Quectel BG96?

Send AT+CGDCONT=1,"IP","<apn>", with the APN of your SIM in place of <apn>. Source: Quectel BG96 AT Commands Manual V2.5.

Does the Quectel BG96 support LTE-M and NB-IoT?

Quectel states both for the BG96: LTE-M and NB-IoT with 2G fallback.

Does the Quectel BG96 fall back to 2G?

Yes, Quectel lists 2G (GSM/GPRS/EGPRS) fallback for the BG96. It only helps where operators still run 2G.

Why does my BG96 show +CEREG: 0,5?

Status 5 means registered in roaming, a normal working state for an IoT SIM that uses partner networks. Treat it like status 1 (home network) in your firmware.