iPhone diagnostics and codes
An iPhone has no factory test menu for users, and lists of "secret iPhone codes" mostly contain carrier codes. The useful checks sit in the settings: repair history, battery health and the lock.
Updated:
Two codes that work
*#06# | IMEI. Compare with the SIM tray and with Settings, General, About. |
|---|---|
*3001#12345#* | Field Test: signal strength and network data. Press call after typing. |
Settings to open on a used iPhone
- Settings, General, About, Parts and Service History. The section appears only if a part was replaced. "Genuine" is fine, "Unknown" means a non-original or faulty part. It covers the battery and display on iPhone 11 and later and the camera on iPhone 12 and later, with iOS 15.2 or newer.
- Settings, Battery, Battery Health. Maximum Capacity below 80% means the battery is due for replacement. iPhone 15 and later also show the cycle count.
- Settings, the name at the top. If a name is there, the phone is still tied to an Apple Account. The seller must sign out in front of you.
- Settings, General, About, Model Number. The first letter: M is a new retail unit, F is refurbished, N is a replacement given by service, P is personalised.
- Settings, Display and Brightness, True Tone. If the switch is missing on a model that has it, the display was replaced without proper calibration.
What the settings will not show
Dead pixels, dead zones of the touch layer, a crackling speaker and a weak microphone are not listed anywhere. Check those with the browser tests. Face ID has no test either: add a face in the settings and see that setup completes.
Questions
There is no Parts and Service History section. Is that bad?
No. The section is hidden when nothing was replaced, and that is the best case. Make sure the iOS version is 15.2 or later, otherwise the section does not exist.
Is there a code to test the iPhone screen?
No. Apple runs its diagnostics through support. Use a browser test with solid colours and a touch grid.
How do I check the warranty?
Enter the serial number on Apple's Check Coverage page. It shows the model and the warranty status, and confirms that the serial number is real.