---
title: "How to Find Your Device ID on Android and iPhone | DeviceTests"
description: "Device ID can mean the IMEI, the serial number, the iPhone UDID or an ad ID. What each one is, and where to find it on Android and iPhone today."
url: https://devicetests.com/how-to-find-the-device-id-on-android
language: en
---

# How to Find the Device ID on Android and iPhone

By Jacob Hicks · Updated November 4, 2026 · First published October 16, 2022

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. |

> Ask which one they mean
>
> Only give your IMEI or serial number to your carrier, the maker or a repair shop you trust.

## 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:**

1. Open **Settings** **About phone**.
2. On a Pixel, tap **Model** (or **Model & hardware**). On a Samsung Galaxy, look on this screen, or tap **Status information** on older models.
3. 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

1. Open **Settings** **General** **About**.
2. Scroll to **Serial Number**. Scroll further down for **IMEI**.
3. 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](https://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.

1. Connect the iPhone to a Mac with a cable.
2. Unlock the iPhone. If it asks, tap **Trust**.
3. Open **Finder** and click the iPhone in the sidebar.
4. Click the gray line of text under the iPhone’s name until it shows **UDID**.
5. Control-click it and choose **Copy UDID**.

> Don't install a profile to see your UDID
>
> Some websites offer to show your UDID through a profile. A profile can change settings on your iPhone, so only install one from someone you trust.

## 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](https://devicetests.com/my-device) 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.

## Sources

- [Apple: Find the serial number or IMEI on your iPhone](https://support.apple.com/en-us/108037)
- [Apple: Get information about your iPhone](https://support.apple.com/guide/iphone/get-information-about-your-iphone-iph3dd5fc7e/ios)
- [Apple: Control app tracking permissions on iPhone](https://support.apple.com/guide/iphone/control-app-tracking-permissions-iph4f4cbd242/ios)
- [Apple Developer: Locating device identifiers (UDID)](https://developer.apple.com/documentation/xcode/locating-device-identifiers)
- [Android Developers: Settings.Secure.ANDROID_ID](https://developer.android.com/reference/android/provider/Settings.Secure)
- [Google: Advertising ID](https://support.google.com/googleplay/android-developer/answer/6048248)
- [Google: How to contact your device manufacturer (About phone)](https://support.google.com/android/answer/3094742)

## Test it yourself

Check your own device with a free test. It runs in your web browser.

- [Touch screen test](https://devicetests.com/touch-screen-test): Find spots on your touch screen that don't respond, count fingers and catch ghost touches.
- [GPS test](https://devicetests.com/gps-test): See how accurately your phone or computer finds where you are, and how far it wanders.
- [Gyroscope test](https://devicetests.com/gyroscope-test): Check your phone’s gyroscope, accelerometer and compass, with a bubble level.
