MSMuhammad Shahid

Secret Codes: IMEI & CarrierSecret Codes guide

*#5005*86# on iPhone: Check Your Voicemail Number

By Muhammad Shahid · · 3 min read

Quick answer

*#5005*86#: Read back the voicemail number stored on your line. 5005 is the SIM service-string prefix, and 86 selects the voicemail entry. The response shows the actual number your iPhone dials when you hold 1. Worth checking if voicemail suddenly stops connecting after a SIM swap or a carrier change — a stale number here is a common cause.

Secret Codes: IMEI & CarrierSecret CodesDial codes, SIM & network test · Free on the App StoreDownload free →
Key facts
Code*#5005*86#
What it doesRead back the voicemail number stored on your line.
Published forAT&T and T-Mobile
TypeSupport varies

Read back the voicemail number stored on your line. This page explains what *#5005*86# does, how to use it on an iPhone and which carriers it applies to.

I build Secret Codes: IMEI & Carrier, a free iPhone app with 317 checked codes and guides, including this one. If you would rather tap than memorise, get Secret Codes on the App Store.

What does *#5005*86# do?

5005 is the SIM service-string prefix, and 86 selects the voicemail entry. The response shows the actual number your iPhone dials when you hold 1.

Worth checking if voicemail suddenly stops connecting after a SIM swap or a carrier change — a stale number here is a common cause.

How do I use *#5005*86#?

  1. Open the Phone app and tap Keypad.
  2. Type *#5005*86# exactly as written.
  3. Press the green Call button and wait for the result.

Which carriers does this apply to?

Published forAT&T and T-Mobile
TypeSupport varies
Good to knowA SIM service string rather than a network one. It responds on many GSM lines but plenty of US configurations return an error — that is not a fault.
Secret Codes code detail with Open in Phone button
The Secret Codes detail screen shows the steps, the carriers and an Open in Phone button.

See all voicemail or every category of iPhone codes.

How Secret Codes helps

Secret Codes keeps this and every other entry a search away. Pick your carrier once and each entry says whether it is published for your line. You can save favourites, add a private note, and record whether a code worked on your line. This entry is part of Secret Codes Pro.

Frequently asked questions

What does *#5005*86# do on iPhone?

Read back the voicemail number stored on your line. 5005 is the SIM service-string prefix, and 86 selects the voicemail entry. The response shows the actual number your iPhone dials when you hold 1.

What else should I know about *#5005*86#?

Worth checking if voicemail suddenly stops connecting after a SIM swap or a carrier change — a stale number here is a common cause.

What are the steps for *#5005*86#?

1. Open the Phone app and tap Keypad. 2. Type *#5005*86# exactly as written. 3. Press the green Call button and wait for the result.

Where do I use *#5005*86#?

On the keypad of the Phone app.

Do I need to press Call after typing *#5005*86#?

Yes. Type it on the Phone keypad, then press the green Call button.

Is *#5005*86# a hidden or secret code?

No. It is a published service, not a hidden menu. iPhones do not have Android-style engineering menus.

Which carriers does *#5005*86# work on?

It is published for AT&T and T-Mobile. A SIM service string rather than a network one. It responds on many GSM lines but plenty of US configurations return an error — that is not a fault.

Does *#5005*86# work on Android phones too?

It is handled by the carrier or service rather than the iPhone, so it is not tied to one phone brand. Check with your carrier.

Will *#5005*86# work outside the US?

It is published for US carriers and services, so do not count on it abroad. Ask your carrier before you travel.

What if *#5005*86# does not work on my iPhone?

Check that it applies to your carrier first, because carriers decide which services they offer and can change them. If it should apply to your line, contact your carrier.

What is related to *#5005*86#?

Press And Hold 1. The universal shortcut to your mailbox from the keypad.

What else is in this category?

**5005*86*[number]#: Set The Voicemail Number. Write a new voicemail number to your line.

Sources

Secret Codes: IMEI & CarrierSecret CodesDownload free