AndroidWhat Is Android ID?

What Is Android ID?

Published June 9, 2026 by Atishay Jain in Android

Android ID is a 64-bit identifier generated by Android and exposed through Settings.Secure.ANDROID_ID. On Android 8.0 and later, it is unique to the combination of the app-signing key, Android user, and device, rather than being one universal ID shared by every app.

Key Takeaways

Android ID provides software-level identification, but its scope and persistence are more nuanced than the phrase “device ID” suggests.

  • Android ID definition: Android ID, also called ANDROID_ID or SSAID, is represented as a hexadecimal value generated and maintained by Android.
  • Android 8.0 change: Since API level 26, the ID is scoped to the app-signing key, Android user, and device.
  • Not a hardware ID: Android ID differs from IMEI and serial numbers because it is generated by Android rather than assigned to device hardware.
  • Reset behavior: A factory reset or app-signing-key change can result in a different Android ID; an ordinary reinstall with the same signing key normally does not.
  • Use the right identifier: Google recommends choosing the most privacy-preserving identifier that satisfies the application’s actual use case.


what is android id

What Is Android ID and How Does It Work?

Android ID is a software-generated identifier available to Android applications through the Settings.Secure API. Android represents it as a 64-bit number expressed as a hexadecimal string.

The important part is scope. Saying “every Android phone has an Android ID” is no longer precise enough.

Android ID before Android 8.0

On Android 7.1 and earlier, Android ID was generated for the Android user when the device was set up. Apps running under the same user could generally access the same value.

Multi-user devices were already an exception: each Android user was treated separately and received a different Android ID.

Android ID on Android 8.0 and later

Android 8.0, or API level 26, changed the model for privacy reasons.

The ID an app receives now depends on three things:

  1. The device
  2. The Android user/profile
  3. The app’s signing key

That means two apps signed with different keys can receive different Android IDs while running on the exact same phone. Apps signed with the same key for the same user and device can receive the same scoped value.

This change limits the ability of unrelated applications to correlate a user simply by comparing a common device-wide identifier.

Is Android ID Unique to Every Device?

Not in the simple sense of “one phone equals one globally visible Android ID.” On modern Android, Android ID is unique within the combination of signing key, user, and device, so different applications or user profiles can see different values on the same physical device.

Imagine a company-owned Android tablet with a personal profile and a work profile. The user context is different, so an app operating in each profile should not be assumed to see one identical device-wide Android ID.

For developers and IT administrators, that distinction matters. Android ID is useful for scoped identification, but it should not automatically be treated as an immutable hardware asset number.

When Does Android ID Change?

Android ID is relatively persistent, but it is not permanent.

A value can change when:

  • The device undergoes a factory reset.
  • The relevant APK signing key changes.
  • A different Android user or profile is used.
  • Certain historical upgrade conditions apply to apps originally installed before a device was upgraded to Android 8.0+.

One common misconception deserves clarification: simply uninstalling and reinstalling an app does not normally change its Android ID on Android 8.0+ when the package and signing key remain the same. Google’s Android O documentation explicitly describes this persistence.

Rebooting the device, changing the SIM card, or switching Wi-Fi networks also does not by itself create a new Android ID.

Android ID vs IMEI vs Serial Number vs Advertising ID

Android devices contain several identifiers, and the names are often used interchangeably even though they serve different purposes.

IdentifierWhat It IdentifiesGenerated ByCan It Change?Typical Purpose
Android ID (SSAID)App-signing key + user + device on Android 8+Android OSYes, under certain conditionsApp/device-context recognition
IMEICellular equipmentDevice manufacturerNormally noMobile network identification
Serial numberPhysical manufactured deviceManufacturerNormally noInventory, warranty, support
Advertising IDResettable advertising identifierGoogle Play servicesYesAdvertising and measurement
Firebase Installation IDSpecific app installationFirebaseYesApp-instance identification


Android 10 also introduced stricter access controls around non-resettable hardware identifiers such as IMEI and serial number. Google recommends avoiding hardware identifiers unless the use case specifically requires them.

Advertising is another important distinction. Google’s Play policies require apps to use the Advertising ID, where available, for advertising purposes rather than substituting persistent identifiers such as Android ID.

How to Find Android ID

Android ID usually is not presented as a clearly labeled field in the standard Settings interface on modern Android devices.

For development or troubleshooting, Android Debug Bridge can query the secure setting:

adb shell settings get secure android_id

ADB requires USB debugging and an authorized connection between the Android device and a computer.

There is one nuance: because Android ID is scoped by caller/signing context on modern Android, an ADB-observed value should not automatically be assumed to be the exact value every third-party application sees.

Developers can retrieve the value inside an application with:

String androidId = Settings.Secure.getString(
    getContentResolver(),
    Settings.Secure.ANDROID_ID
);

The authoritative behavior is documented in the Android Settings.Secure.ANDROID_ID reference.

What Is Android ID Used For?

Android ID can be useful when software needs relatively stable, app-scoped recognition of an Android environment. Examples include device registration, troubleshooting, app-specific state, testing, and some managed-device workflows.

It should not automatically be the default identifier for every application, though.

Google’s best practices for Android identifiers recommend using the most restrictive identifier that meets the requirement. For many non-advertising use cases, Google recommends a Firebase Installation ID (FID) or privately stored GUID instead.

For abuse detection, Google points developers toward Play Integrity APIs rather than relying on a device identifier as proof that a device is genuine.

What Should IT Admins Know About Android ID?

For IT teams, Android ID can provide useful device context, particularly where a management application needs to distinguish Android environments without depending on telephony identifiers.

But it should not be treated as the organization’s only permanent asset key.

A factory reset, user-profile change, or signing-key change can alter the identifier context. A more resilient enterprise inventory normally combines enrollment records and management-platform identifiers with relevant hardware information and organizational ownership data.

This is especially useful on shared devices, work-profile deployments, kiosks, and other Android Enterprise scenarios where user scope and management scope matter as much as the physical device itself.

To wrap it up

Android ID acts as a binding agent between apps and user profiles with their unique settings and data on a software level rather than a hardware level, which has become increasingly vulnerable. Through it, IT admins can manage devices and tailor content and data policies to each user without invading their privacy. 

Scalefusion UEM is an Android Enterprise Gold Partner and Android Enterprise Recommended EMM. It elevates Android device management, from enrollment automation and granular policy enforcement to robust security and remote management across all endpoints from a centralized dashboard. Manage your Android fleet right from the first boot to the device retirement and create a consistent managed ecosystem with ease through Scalefusion.

FAQs

1. Is Android ID the same as IMEI?

No. Android ID is generated by the Android operating system and is app-signing-key, user, and device scoped on Android 8.0+. IMEI is a hardware-level identifier associated with cellular equipment and is subject to much stricter access restrictions on modern Android.

2. Does Android ID change after reinstalling an app?

Normally, no. On Android 8.0 and later, uninstalling and reinstalling the same app with the same package and signing key preserves its Android ID. A special historical exception applies to apps installed before a device was upgraded from an older Android release to Android 8.0+.

3. Does a factory reset change Android ID?

A factory reset is a documented condition that can cause Android ID to change because Android recreates device and user settings during setup. Applications should therefore never assume that Android ID is a permanent hardware identity.

4. Is Android ID the same as Advertising ID?

No. Android ID, or SSAID, is an Android platform identifier, while Advertising ID is a user-resettable identifier provided for advertising and measurement. Google Play policies restrict how advertising identifiers and persistent identifiers can be combined or used.

Atishay Jain
Atishay Jain
Atishay is a content writer at Scalefusion, bringing ideas to life through words. With a passion for writing and a love for video games, you’ll find him next to a screen one way or another.

More from the blog

Kiosk analytics: Key metrics, benefits, and how to get...

Deploying a self-service kiosk is only the first step. IT teams also need to know whether the device remains...

Android TV for schools: A complete guide to smarter...

Android-based smart classes have gained widespread adoption across several educational institutes. This comes as a result of their accessibility...

USB Debugging on Android: What It Is, How to...

USB debugging usually becomes relevant when you need Android Studio or ADB for development, troubleshooting, or device support, or...