An unfamiliar name in your Apple Account device list deserves a check, but a renamed computer or an old phone can look unfamiliar. First distinguish a device you own from a sign-in you did not authorize. Do this from Settings on a device you control or by typing Apple's account address yourself, never through a security-alert link.
Check and contain
- On iPhone or iPad, open Settings → your name and scroll to the devices. On a computer, sign in at account.apple.com and choose Devices. Open the entry for its model and other details; compare it with your current and retired devices.
- If it is not yours, select Remove from Account. Apple says this remotely signs the device out and stops it displaying verification codes. If you still own the device and it remains signed in, it can reappear when it connects; sign out on that device or erase it before disposal.
- Change your Apple Account password from a trusted device. Review email addresses, phone numbers and other security information at account.apple.com. Remove only recovery methods you do not recognize; keep a working method under your control.
- Check purchases, messages and iCloud activity for changes you did not make. Contact your payment provider promptly about unauthorized charges; changing the password does not reverse a purchase.