# **5005*86*[number]# on iPhone: Set The Voicemail Number

URL: https://byshahid.com/blog/set-the-voicemail-number-star-star-5005-star-86-iphone/
App: Secret Codes: IMEI & Carrier (https://apps.apple.com/us/app/secret-codes-imei-carrier/id6807154322)
Author: Muhammad Shahid
Updated: 2026-11-04

> **5005*86*[number]#: Write a new voicemail number to your line. Overwrites the voicemail number your iPhone dials when you hold 1. Only useful when the stored number is genuinely wrong — for example after a port-in where the old carrier's mailbox number was carried across. Read the current value with *#5005*86# first and write it down.

- **Code:** **5005*86*[number]#
- **What it does:** Write a new voicemail number to your line.
- **Published for:** AT&T and T-Mobile
- **Type:** Support varies

Write a new voicemail number to your line. This page explains what `**5005*86*[number]#` 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](https://apps.apple.com/us/app/secret-codes-imei-carrier/id6807154322).

## What does **5005*86*[number]# do?

Overwrites the voicemail number your iPhone dials when you hold 1. Only useful when the stored number is genuinely wrong — for example after a port-in where the old carrier's mailbox number was carried across.

Read the current value with [*#5005*86#](/blog/check-your-voicemail-number-star-hash-5005-star-86-iphone/) first and write it down.

**Important:** Entering the wrong number here will break voicemail access from your keypad. Note the existing value before you change anything, and contact your carrier if you are unsure which number is correct.

## How do I use **5005*86*[number]#?

- Open the Phone app and tap Keypad.
- Type **5005*86*[number]#, replacing [number] with the full phone number, including the area code.
- Press the green Call button.

## Which carriers does this apply to?

| Published for | AT&T and T-Mobile |

| Type | Support varies |

| Good to know | Support varies widely and some carriers reject the write outright. |

_Screenshot: The Secret Codes detail screen shows the steps, the carriers and an Open in Phone button._

## Related voicemail

- [*#5005*86#: Check Your Voicemail Number](/blog/check-your-voicemail-number-star-hash-5005-star-86-iphone/)
- [Change Your Voicemail Password](/blog/change-your-voicemail-password-iphone/)
- [Press And Hold 1](/blog/press-and-hold-1-iphone/)
- [Use Visual Voicemail](/blog/use-visual-voicemail-iphone/)
- [*86: Call Your Voicemail](/blog/call-your-voicemail-star-86-iphone/)
- [Live Voicemail](/blog/live-voicemail-iphone/)

See all [voicemail](/blog/iphone-codes/voicemail/) or [every category of iPhone codes](/blog/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.

**Secret Codes: IMEI & Carrier** is free on the App Store: https://apps.apple.com/us/app/secret-codes-imei-carrier/id6807154322

## FAQ

### What does **5005*86*[number]# do on iPhone?

Write a new voicemail number to your line. Overwrites the voicemail number your iPhone dials when you hold 1. Only useful when the stored number is genuinely wrong — for example after a port-in where the old carrier's mailbox number was carried across.

### What else should I know about **5005*86*[number]#?

Read the current value with *#5005*86# first and write it down.

### What are the steps for **5005*86*[number]#?

1. Open the Phone app and tap Keypad. 2. Type **5005*86*[number]#, replacing [number] with the full phone number, including the area code. 3. Press the green Call button.

### Where do I use **5005*86*[number]#?

On the keypad of the Phone app.

### How do I add the number to **5005*86*[number]#?

Replace [number] with the full phone number, including the area code, then press Call.

### Is **5005*86*[number]# 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*[number]# work on?

It is published for AT&T and T-Mobile. Support varies widely and some carriers reject the write outright.

### Is there anything to watch out for with **5005*86*[number]#?

Entering the wrong number here will break voicemail access from your keypad. Note the existing value before you change anything, and contact your carrier if you are unsure which number is correct.

### Does **5005*86*[number]# 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*[number]# 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*[number]# 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*[number]#?

*#5005*86#: Check Your Voicemail Number. Read back the voicemail number stored on your line.

## Sources

- [3GPP TS 22.030: Man-Machine Interface of the phone](https://www.3gpp.org/dynareport/22030.htm)
- [Apple Support: iPhone User Guide](https://support.apple.com/guide/iphone/welcome/ios)

