Backing up your MacBook protects your files, photos, and settings so you can recover them if the machine is lost, stolen, or damaged. The built-in Time Machine tool makes automatic backups to an external drive with little ongoing effort, and it works the same way on a MacBook Air and a MacBook Pro.
What you'll need
- A MacBook
- An external hard drive or SSD with enough free space
Step by step
- Choose a backup drivePick an external drive with more storage than the data on your Mac, ideally two or more times the used space so it can keep a history of versions.
- Connect the drivePlug the external drive into your MacBook. If macOS asks whether to use it with Time Machine, you can click to accept and skip ahead.
- Open Time Machine settingsOpen System Settings, then find Time Machine (under General on newer macOS versions). Click Add Backup Disk if it did not prompt you already.
- Select the disk and encrypt itChoose your external drive from the list. Turn on Encrypt Backup and set a password so your backup is protected if the drive is lost.
- Start the first backupLet the initial backup run. It can take a while the first time because it copies everything, so keep the drive connected and the Mac awake.
- Keep it runningLeave the drive connected when possible. Time Machine then backs up automatically in the background and only copies what changed.
How to back up a MacBook with Time Machine and an external drive
Time Machine is the backup tool built into macOS, and for most people it is the simplest full-backup method. You connect an external hard drive or SSD, tell macOS to use it as the backup disk, and Time Machine handles the rest in the background.
The process is the same on a MacBook Air and a MacBook Pro. The main difference between models is the ports, so you may need a USB-C drive or an adapter on newer machines. Once the drive is set as your backup disk, Time Machine keeps hourly, daily, and weekly snapshots and quietly removes the oldest ones when the drive fills up.
A Time Machine backup captures your whole system, including apps, settings, accounts, and personal files, so you can restore individual items or set up a replacement Mac to look like your old one.
How to set up Time Machine on a Mac
Plug the external drive into your MacBook. If a message appears asking whether to use the drive with Time Machine, choose to use it, and you can turn on encryption at the same time.
If no prompt appears, open System Settings and go to Time Machine (it sits under General on recent macOS versions, or has its own icon on older ones). Click Add Backup Disk, select your drive, and confirm. Turning on Encrypt Backup adds a password so nobody can read the backup if the drive is lost or stolen.
After the disk is chosen, the first backup starts on its own. Keep the Mac awake and the drive connected until it finishes. From then on, Time Machine backs up whenever the drive is attached, so plugging in the drive now and then is usually enough.
Using iCloud to sync files (and why it is not a full backup)
iCloud can store your Desktop and Documents folders, Photos, and other data, and keep them in sync across your devices. That is useful, and it means some files survive even if the MacBook is lost, but syncing is not the same as a full backup.
With sync, a change or deletion on one device generally spreads to the others, so an accidental deletion can remove the file everywhere. Sync also does not capture your apps, system settings, or the whole drive the way Time Machine does, and free iCloud storage is limited.
A reasonable approach is to use iCloud for everyday access across devices and Time Machine for the complete, restorable backup. The two work well together rather than replacing each other.
The best way to back up a MacBook
A widely used rule of thumb is to keep more than one copy in more than one place. In practice that often means a local Time Machine backup on an external drive plus a second copy kept offsite or in the cloud.
The local backup gives you fast, complete restores and lets you recover older versions of files. The offsite or cloud copy protects you if something affects your home or office, such as fire, flooding, or theft, which could otherwise destroy the Mac and the backup drive together.
Cloud backup services and a second external drive stored elsewhere are both common ways to hold that offsite copy. The details matter less than having at least one backup that is not sitting right next to your Mac.
Backing up before erasing or resetting your Mac
Before you erase, reset, factory reset, sell, or reinstall macOS on a MacBook, make a fresh backup first. Once the drive is erased, anything not backed up is generally gone.
Run a full Time Machine backup, then confirm it completed and shows a recent date. If you also keep files in iCloud or another service, check that recent changes have finished uploading before you wipe anything.
It is worth making sure you know your backup encryption password and your Apple Account details as well, since you may need them when you set the Mac up again or restore your files onto a new machine.
Making a manual copy or clone as an alternative
If you only want to protect a few important folders, you can copy them by hand to an external drive or a cloud folder. Connect the drive, drag the files across, and wait for the copy to finish. This is quick, but it is not automatic, so it only reflects the moment you last copied.
Some people prefer a bootable clone, an exact copy of the whole drive made with a third-party cloning app. A clone can be handy for quick recovery, though on modern Macs the ability to start up directly from an external clone has become more limited.
Manual copies and clones are best treated as an extra layer rather than your only backup. Pairing them with Time Machine gives you both a versioned history and a straightforward spare copy.
Handy tips
- For extra safety, also use an offsite or cloud backup so a single fire or theft cannot destroy both copies.
- Write down the encryption password and store it somewhere safe, because you cannot restore an encrypted backup without it.
- You can exclude large folders you do not need in Time Machine options to save space.
- Check the backup date in Time Machine now and then so you can confirm it is still running.
Heads up
- Setting up a drive for Time Machine can erase it, so move any existing files off the drive first.
- If you lose the encryption password, the encrypted backup cannot be recovered.
- Syncing files with iCloud is not a full backup, and a deletion on one device can remove the file from the others.
FAQ
Do I need a special drive for Time Machine?
No. Almost any external USB hard drive or SSD works. macOS can format it for Time Machine when you set it up, though on newer MacBooks you may need a USB-C drive or an adapter.
How do I restore files from a backup?
Connect the drive, open Time Machine, browse to the date you want, select the files, and click Restore. You can also restore the whole system from macOS Recovery.
Is iCloud the same as a full backup?
Not quite. iCloud syncs certain files and photos but does not create a complete system backup the way Time Machine does. A deletion can also sync across devices. Using both gives you stronger protection.
How do I set up Time Machine if macOS does not prompt me?
Open System Settings, go to Time Machine (under General on recent versions), click Add Backup Disk, choose your external drive, and turn on encryption if you want it. The first backup then starts on its own.
What is the best way to back up a MacBook?
A common approach is a Time Machine backup on a local external drive plus a second copy kept offsite or in the cloud. That way one problem, such as theft or a fire, is less likely to wipe out every copy.
Should I back up before erasing or resetting my Mac?
Yes. Run a fresh Time Machine backup and confirm it shows a recent date before you erase, factory reset, or reinstall macOS, because anything not backed up is usually lost once the drive is wiped.
Can I just copy my files manually instead?
You can drag important folders to an external drive or a cloud folder, which is fine for a few files. It is not automatic, though, so it only captures what you copied. Time Machine is better for a complete, ongoing backup.
How often should I back up my MacBook?
When the drive stays connected, Time Machine backs up automatically about once an hour. If you only connect the drive occasionally, plugging it in a few times a week, and before big changes, keeps your backup reasonably current.