Short answer
“Device ID” can mean several numbers. Usually the person asking wants the IMEI or the serial number. On Android they’re in Settings About phone. On iPhone they’re in Settings General About. App developers who ask for an iPhone’s device ID mean the UDID, which you find with a Mac.
What “device ID” can mean
| ID | What it is |
|---|---|
| IMEI | The phone’s number on mobile networks (two on dual-SIM phones). For carriers, unlocking and lost or stolen reports. |
| Serial number | The maker’s number for your phone. For warranty, repairs and support. |
| UDID (iPhone) | Apple’s unique device identifier. App developers need it to install test apps. |
| Android ID | A code apps get from Android. Not shown in Settings. |
| Advertising ID | A resettable ID for ads, used by ad networks inside apps. |
Find the IMEI and serial number
Android
IMEI: open the Phone app and dial *#06#. It’s also in Settings About phone and on the box.
Serial number:
- Open Settings About phone.
- On a Pixel, tap Model (or Model & hardware). On a Samsung Galaxy, look on this screen, or tap Status information on older models.
- Read Serial number.
Can’t find it? Type IMEI or serial in the search bar at the top of Settings. You don’t need a “device ID” app.
iPhone and iPad
- Open Settings General About.
- Scroll to Serial Number. Scroll further down for IMEI.
- Touch and hold a number to copy it.
Other places:
- Dial
*#06#in the Phone app to see the IMEI. - The SIM tray on iPhone 6s to iPhone 13 and iPhone SE (2nd and 3rd generation). iPhone 14 and later have no IMEI on the tray.
- The barcode label on the box.
- Without the iPhone: sign in at account.apple.com, open Devices and select it.
Find the UDID of an iPhone
The UDID isn’t the serial number or the IMEI. Most people never need it: app developers ask for it to install test versions of an app.
- Connect the iPhone to a Mac with a cable.
- Unlock the iPhone. If it asks, tap Trust.
- Open Finder and click the iPhone in the sidebar.
- Click the gray line of text under the iPhone’s name until it shows UDID.
- Control-click it and choose Copy UDID.
Android ID and advertising ID
- Android ID: since Android 8, it depends on the app’s signing key, the user and the device. So different apps usually see different ones. It can change after a factory reset. There’s no single Android device ID to look up.
- Advertising ID: open Settings and search for Ads. There you can reset it or delete it. After you delete it, apps only see a row of zeros.
- iPhone: there’s no advertising ID to look up. Apps must ask before they track you; see which ones asked in Settings Privacy & Security Tracking.
See what a website can read
Our device info page shows what your browser can read about your phone, such as the system and screen size. It also lists where to find the IDs a website can’t see, like the serial number.