Mac Password Reset Without Data Loss — Intel and M1–M4

Forgot your MacBook, iMac, or Mac mini password? The resetpassword command in macOS allows you to regain access to Mac Intel and Apple Silicon (M1/M2/M3/M4) computers without formatting the drive. A complete step-by-step guide for all Mac models.
What Remains Safe During Mac Password Reset
✅ Your data will not be deleted:
- All files: documents, photos, videos, music
- Applications and their settings
- User data in the home directory
- System settings and installed programs
- Browser bookmarks and histories
⚠️ What may require reconfiguration:
- Keychain - if the new password differs from the old one
- Automatic login - must be re-enabled in Preferences
Important for older Macs: If you have an EFI Firmware password set, remove it before reset to avoid access lockout.
Password Reset for MacBook and iMac with Intel Processor
Before you start: check FileVault
First check whether FileVault encryption is enabled: System Preferences → Security & Privacy → FileVault. If FileVault is ON, resetting the password without data loss requires the FileVault recovery key or your Apple ID password — without them the disk stays encrypted and the procedure below will not work. The "simple reset" described below applies to Macs with FileVault turned off.
Step-by-step instructions:
- Turn off Mac completely
- Start Recovery Mode: Turn on Mac and immediately hold
⌘ + Runtil the Apple logo appears - Open Terminal: From the Recovery menu choose Utilities → Terminal
- Run the reset tool: Type
resetpasswordand press Enter - Reset password: Select disk, select user account, enter new password twice, click Next → Restart
How to Reset Password on MacBook Air M1, MacBook Pro M1/M2/M3/M4
Instructions:
- Turn off MacBook/iMac completely
- Start Startup Security Utility: Hold the power button for ~10 seconds, wait for the Recovery screen
- Authenticate: Enter Apple ID password or another administrator password
- Reset password: Utilities → Terminal → type
resetpassword, select disk, account, new password, Next → Restart
Summary
MacBook/iMac Intel: Quick password reset in Recovery Mode — no additional requirements when FileVault is off. With FileVault enabled you need the recovery key or your Apple ID password.
MacBook/iMac Apple Silicon (M1/M2/M3/M4): Apple ID or another administrator password required. Without this data, recovering access may be impossible.
Cannot regain access to your Mac or your data? See our data recovery service — approximate prices in the price list.
Founder of the workshop (since 2009), personally supervises every repair and data recovery. Over 18 000+ completed orders. About Us
Zobacz, jak to robimy
Prawdziwe nagrania z naszego laboratorium — @kolegainformatyk
Powiązane artykuły

SSD TRIM: How to Check It and When Not to Disable It
How TRIM works, how to check its state, and why disabling it after data loss cannot undo a command already sent to the SSD.
Can You Recover Deleted Data from an SSD?
Can deleted data be recovered from an SSD? It depends on TRIM, garbage collection, the controller, encryption, and what happened after deletion.

What Happens After Pressing the POWER Button?
Learn step by step how Windows goes from pressing the power button to a ready desktop