Currency

Prices and checkout use this currency.

Search destinations

What Is a USSD Code? Meaning, Common Codes and Fixes

A USSD code is a short code like *310# or *544# that you dial on your phone to talk directly to your mobile carrier. It starts with a star (*) or a hash (#), ends with #, and opens a text menu on your screen.…

Written bySenior Marketing Manager
11 min readUpdated Nov 9, 2026First published Jul 19, 2021

On this page

9 sections
What Is a USSD Code? Meaning, Common Codes and Fixes

A USSD code is a short code like *310# or *544# that you dial on your phone to talk directly to your mobile carrier. It starts with a star (*) or a hash (#), ends with #, and opens a text menu on your screen. You use it to check your balance, buy a data bundle or send money, with no internet and no app. USSD stands for Unstructured Supplementary Service Data. This guide explains what USSD codes mean, how they work, what "USSD code running" means and how to fix it, and whether USSD works with an eSIM.

What is a USSD code?

USSD is a standard feature of mobile networks, defined by 3GPP, the body that writes the GSM, 4G and 5G standards (3GPP TS 22.090: USSD). When you dial a USSD code, your phone sends it to your carrier's system, and the reply shows up as a pop-up on your screen. Often that reply is a numbered menu: you type 1, 2 or 3 to choose an option, and the next screen appears.

A typical USSD code looks like this:

  • it starts with * or # (sometimes ** or *#),
  • then has a few digits, sometimes split by more stars, like *544*44#,
  • and ends with #.

Most USSD codes are set by your carrier, so the same code can do different things on different networks. That's why there's no single list that works everywhere.

How USSD works

  1. You type the code in your phone's dialer and press call.
  2. Your phone sends it over the mobile network's signalling channel, not over the internet.
  3. Your carrier's USSD system answers within seconds, and the reply appears on your screen.
  4. If it's a menu, you reply with a number, and the session goes on until you close it or the network ends it.

A few things make USSD different from a text message or an app:

  • No mobile data needed. USSD runs on the network's signalling channels (3GPP), so it works with data turned off and on basic phones.
  • It's a live session. An SMS is stored and delivered later. A USSD session is a live exchange with your carrier, and nothing is saved in your messages.
  • You need mobile signal on that SIM. USSD comes from the GSM (2G) days and still works on 4G and 5G phones, but only when your carrier supports it on the network you're on.
  • Some codes reach your home carrier when you roam. The 3GPP standard reserves codes in the *100# to *149# range for your home carrier: when you're roaming, the network abroad has to pass them back home. Other codes are handled by the network you're on. Whether a code works abroad still depends on your carrier.

USSD codes vs MMI codes

MMI stands for Man-Machine Interface. It's the 3GPP name for any code you type on the keypad (3GPP TS 22.030). Your phone sorts them into three groups:

  • Codes your phone handles itself. *#06# shows your phone's IMEI number. It never goes to the network and works even without a SIM. On phones that support eSIM, it also shows the EID number.
  • Standard network codes for features like call forwarding and call waiting, such as *#21#.
  • USSD codes: everything else your phone doesn't recognise is sent to your carrier as USSD.

So every USSD code is an MMI code, but not every MMI code is USSD. That's also why Android error messages talk about "MMI codes".

What does "USSD code running" mean?

Woman sitting at a desk and looking at her smartphone

"USSD code running..." is the message Android shows right after you dial a USSD code. It means your phone has sent the code and is waiting for your carrier's reply. It's not an error. Normally it disappears after a few seconds and the answer or menu shows up.

If it stays on screen, or comes back with "Connection problem or invalid MMI code", the reply never arrived. Here's how to fix it.

How to fix "USSD code running" when it gets stuck

  1. Wait a few seconds, then tap Cancel and dial the code again.
  2. Check the code. It must be exact, including the final #. A code from another carrier or another country won't work on your SIM.
  3. Check your signal. You need mobile signal on the SIM you're dialing from. Wi-Fi alone is not enough for most USSD codes.
  4. Dial from the right SIM. On a dual SIM phone, the code goes out on the line you call with. Pick the SIM of the carrier the code belongs to (see the next section).
  5. Turn Airplane Mode on and off, or restart your phone.
  6. Use your phone's built-in Phone app to dial, not a third-party dialer.
  7. Abroad? Your home carrier's codes may not work on every partner network. Try again later or use your carrier's app.
  8. Still stuck? Contact your carrier. The service behind the code may be down, or your line may not have access to it.

"Connection problem or invalid MMI code"

This Android message means the code failed: the network didn't answer, or it didn't accept the code. The fixes are the same as above. Check the code, your signal and the SIM you dialed from.

How to dial a USSD code on iPhone and Android

  1. Open the Phone app and go to the keypad.
  2. Type the code exactly, for example *#06# or your carrier's balance code.
  3. Press the call button. A pop-up appears with the answer or a menu. (*#06# shows the result right away, without pressing call.)
  4. For a menu, tap Reply (or the text field), type the number of your choice and tap Send.

Dual SIM phones: on iPhone, type the code, tap the phone number near the top of the screen and choose the line you want before you call (Apple: Using Dual SIM with an eSIM). On Android, you can set a default SIM for calls or choose Ask every time in your SIM settings (Pixel Phone Help: dual SIMs).

Common USSD codes

Most USSD codes depend on your carrier. Here are codes you can rely on, plus examples straight from carriers and regulators.

Codes that work on most phones

  • *#06#: shows your IMEI (and EID on eSIM phones). Set by the 3GPP standard, so it works on every GSM-type phone.
  • *#21#: checks if all your calls are being forwarded.
  • ##002#: cancels all call forwarding.
  • *#43#: checks if call waiting is on.

The last three are standard 3GPP codes (3GPP TS 22.030), but some carriers use their own codes for these features. Never dial a code someone sends you without knowing what it does: a code starting with **21* forwards all your calls to another number.

Nigeria: the same codes on every network

The Nigerian Communications Commission made these codes the same on all networks (NCC: harmonised short codes):

  • *310#: check your balance
  • *311#: recharge credit
  • *312#: data plans
  • *321#: share airtime or data
  • *323#: data plan balance
  • *996#: check your NIN-SIM link (SIM registration)

Kenya: Safaricom

On Safaricom, *544# is the menu for data bundles and your bundle balance, and *334# opens M-PESA (Safaricom: data FAQs).

India and Bangladesh

In India, *99# is the national USSD banking service run by NPCI. You can send money, check your bank balance and manage your UPI PIN without internet. In Bangladesh, mobile money services like bKash and Nagad also have their own USSD menus. Check the exact code in their official app or website, as menus change.

How do I find my own number with a USSD code?

There's no universal code for that. Each carrier has its own, and some don't have one. The easiest way is your phone's settings: on iPhone, go to Settings > Apps > Phone (on older iOS, Settings > Phone) and look at My Number. On Android, look in Settings > About phone. Learn more about how SIM cards, carriers and phone numbers are related.

What USSD codes are used for

  • Balance and bundles: check airtime, data and validity, and buy a new bundle.
  • Mobile money and banking: send money, pay bills and check your account, even on a basic phone.
  • SIM and account services: SIM registration checks, number porting, Do Not Disturb settings and similar services.
  • Phone features: call forwarding, call waiting and showing your IMEI.
  • Business services: companies use USSD menus for surveys, order confirmations, callback requests and vouchers, because they reach any phone.

USSD belongs to your SIM's subscription, like your phone number. New to SIMs? Read what a SIM card is or our ultimate SIM card guide.

Can you use USSD codes with an eSIM?

Traveller holding a smartphone in an airport with a suitcase in the background

It depends on the kind of eSIM:

  • An eSIM from your own carrier is the same phone line as a physical SIM, just digital. You dial USSD codes from that line as usual. Some SIM-based services, like mobile money menus, can need an extra setup step after you switch, so ask your carrier.
  • A data-only travel eSIM has no phone number and no calls or SMS. Don't count on USSD codes on it. With a SimOptions eSIM, you check your remaining data and buy a top-up on the Check Usage & Top Up page, with your order number and email.

Most eSIM phones can keep two lines active at the same time. So when you travel, you can keep your home SIM for calls, texts and your carrier's USSD codes, and use a travel eSIM for data. Keep data roaming off on your home line to avoid charges. You can track what you use on iPhone or Android.

Not sure your phone supports eSIM? Dial *#06#: if you see an EID number, it does.

Travelling soon? These data-only eSIMs install from a QR code before you leave and connect when you arrive, while your home SIM stays in your phone.

Africa, Asia and USA plans shown · data-only eSIMs, no phone number · Find the eSIM for your destination

FAQs

What does USSD stand for?

USSD stands for Unstructured Supplementary Service Data. It's a standard feature of GSM, 4G and 5G networks.

What is a USSD code?

A short code that starts with * or # and ends with #, like *310#. You dial it to get information or a menu from your carrier, such as your balance, data bundles or mobile money.

What does "USSD code running" mean?

It means your Android phone has sent the code and is waiting for your carrier's reply. It usually goes away in a few seconds. If it gets stuck, cancel, check the code and your signal, and make sure you're dialing from the right SIM.

Do I need mobile data to use a USSD code?

No. USSD works without internet or mobile data. You only need mobile signal on the SIM you're dialing from.

Why is my USSD code not working?

The code may be wrong or belong to another carrier, you may have no signal, or you dialed from the wrong SIM on a dual SIM phone. Try again with the right code and SIM, restart your phone, and contact your carrier if it still fails.

Do USSD codes work abroad?

Sometimes. Codes in the *100# to *149# range are passed back to your home carrier when you roam, but it still depends on your carrier and the network you're on. Check with your carrier before you rely on it, for example for mobile money.

Is *#06# a USSD code?

Not exactly. *#06# is an MMI code your phone handles itself to show the IMEI. It doesn't go to your carrier and works without a SIM.

Can I use USSD codes on a travel eSIM?

Data-only travel eSIMs have no phone number, so don't count on USSD on them. Keep your home SIM active for USSD codes, and check a SimOptions eSIM's data on the Check Usage page.

Even simpler with the SimOptions app!

Buy, install, track and top up your eSIM with ease

Download on the App StoreGet it on Google Play

Travelling with someone?

Send this guide to your travel group

So everyone picks the right eSIM before the flight.

Share this guide

What Is a USSD Code? Meaning, Common Codes and Fixes