What are GSM codes?
GSM codes (also called USSD codes or MMI codes) are short dial strings you enter on your phone's keypad to activate, deactivate, or check carrier features. They work on virtually every mobile phone and carrier worldwide, without needing an app or internet connection.
The most common use is call forwarding, but GSM codes also control call waiting, caller ID, call barring, and phone information like your IMEI number.
How to use GSM codes
- Open your phone's dialer (the app you use to make calls)
- Type the code exactly as shown, including all asterisks (*) and hash symbols (#)
- Replace placeholders like
[number]with the actual phone number (including country code) - Press the call button
- Wait for a confirmation message on screen
Codes starting with ** activate a feature. Codes starting with ## deactivate it. Codes starting with *# check the current status.
Most useful codes at a glance
| What you want | Code |
|---|---|
| Forward calls when you don't answer | **61*[number]**20# |
| Cancel all forwarding | ##002# |
| Check your IMEI | *#06# |
| Hide your number for one call | #31#[number] |
| Turn on call waiting | *43# |
| Check forwarding status | *#21# |
For a detailed call forwarding guide
If you're specifically looking to set up call forwarding, our interactive call forwarding tool lets you pick your carrier and generates the exact code with your phone number pre-filled. We also have a step-by-step guide and complete GSM codes reference article with more detail on each code category.
Forward missed calls to an AI assistant
The most practical use of call forwarding codes is routing unanswered calls to a service that actually picks up. Safina is an AI phone assistant that answers when you can't, asks the caller what they need, and sends you a summary. Set it up with the forwarding codes above in about 5 minutes.