macOS · How-To

How to Set Up Time Machine Backup on a Mac

By , Editor · · New macOS guide
The short answer

Connect an external drive, or point your Mac at a network backup location, then open Apple menu > System Settings > General > Time Machine. Click Add Backup Disk, choose your drive, keep Encrypt Backup switched on, and click Set Up Disk. From that point Time Machine backs up automatically in the background — hourly, daily and weekly — with no further clicks.

The short version: connect an external drive (or point your Mac at a network backup location), then open Apple menu > System Settings > General > Time Machine, click Add Backup Disk, choose your drive, keep Encrypt Backup switched on, and click Set Up Disk. From that point Time Machine backs up automatically in the background — hourly, daily and weekly — with no further clicks. The rest of this guide covers picking the right drive, encryption, excluding files, and getting your data back when you actually need it.

Windows Now now covers macOS

This is one of our new macOS guides. If you are moving between platforms, Time Machine is the Mac equivalent of File History and system image backups on Windows — one drive that quietly keeps versioned copies of everything. Browse all macOS guides for more.

1. Choose a backup drive or network location

Time Machine needs somewhere to write to. You have two practical options:

  • An external drive — any USB or Thunderbolt hard drive or SSD. This is the simplest and fastest choice. Size is the thing that matters: your backup disk should have more free space than the data on your Mac. A good rule of thumb is two to three times your used storage, so there is room for months of versioned history.
  • A network location — a NAS (network-attached storage) that advertises Time Machine support, or an older AirPort Time Capsule. This lets multiple Macs back up wirelessly to one place, at the cost of speed and a little more setup.

Whichever you pick, dedicate the drive to Time Machine. During setup macOS will offer to erase and format the disk, and Apple recommends you do not store other files on a Time Machine drive.

Setup erases the drive

When you add a new backup disk, Time Machine typically reformats it, deleting anything already on it. Copy off any files you want to keep before you start. If the drive is formatted for Windows (NTFS or exFAT), macOS will offer to reformat it to a Mac-compatible format so Time Machine can use it.

2. Open Time Machine settings

Recent versions of macOS use System Settings (the app that replaced the older System Preferences). To reach Time Machine:

  1. Connect your external drive, or make sure your network backup location is reachable.
  2. Open the Apple menu in the top-left corner and choose System Settings.
  3. Click General in the sidebar.
  4. Click Time Machine.

On macOS Ventura and later this is the standard path. If you are on an older macOS that still shows System Preferences, open the Time Machine pane directly instead.

3. Add the backup disk (and turn on encryption)

  1. In the Time Machine settings, click Add Backup Disk — or click the Add button + if you already have one disk listed, exactly as Apple's Time Machine setup instructions put it.
  2. Select your connected drive or network volume from the list.
  3. Leave Encrypt Backup turned on (strongly recommended — see the tip below). You will be asked to create a backup password.
  4. Click Set Up Disk. If macOS asks to erase the drive so it can be used for Time Machine, confirm.

If the drive already contains backups from another Mac, macOS may ask whether this computer should claim those existing backups. Only claim them if you want this Mac to take them over; otherwise decline to leave the other Mac's history untouched.

Tip — always encrypt

An encrypted backup means a lost or stolen drive is useless to anyone without your password. The trade-off: if you forget the backup password there is no recovery — Apple cannot reset it, and the data is gone. Store the password in a password manager or somewhere safe. Encrypting an existing unencrypted backup is possible later, but it is far easier to switch it on at setup.

4. Let versioned backups run

Once the disk is set up, Time Machine starts working on its own. The first backup copies everything and can take anywhere from under an hour to most of a day depending on how much data you have and how fast the drive is — leave your Mac plugged in and let it finish. After that, backups are quick because Time Machine only copies what changed.

Here is how the versioned history works — Apple's Back up your files with Time Machine on Mac describes the same hourly, daily and weekly rhythm, plus the hourly local snapshots kept on the Mac's own disk:

  • Hourly backups for the past 24 hours.
  • Daily backups for the past month.
  • Weekly backups for all previous months.

When the backup disk gets full, Time Machine automatically deletes the oldest backups to make room for new ones. It also keeps local snapshots on your Mac's internal drive, so you can roll back recent changes even when the backup drive is unplugged.

You can check status or start a manual backup any time. Turn on Show Time Machine in menu bar in the settings, then use the Time Machine clock icon in the menu bar and choose Back Up Now.

5. Exclude items you do not need to back up

By default Time Machine backs up your whole Mac. To save space, exclude large folders you can afford to lose or already have elsewhere (downloaded installers, virtual-machine disks, big media libraries you keep in the cloud):

  1. In Time Machine settings, click Options.
  2. Under Exclude from Backups, click the Add button + and choose a file, folder or volume — or drag items into the list.
  3. To trim system data, turn on Exclude system files and applications if you only want your personal files backed up.
  4. To remove an exclusion, select it and click the Remove button .
  5. Click Done (or Save) to apply.

The Options dialog is also where you manage things like backup frequency and whether to back up while on battery, depending on your macOS version.

6. Restore individual files

This is the everyday payoff — pulling back a document you deleted or overwrote:

  1. Open the folder where the file used to live (for example, in Finder).
  2. Open Time Machine from the menu-bar icon (Browse Time Machine Backups) or from your Applications.
  3. Use the timeline and arrows to move back in time to a point when the file still existed.
  4. Select the file or folder you want. You can press Space to preview it.
  5. Click Restore. Time Machine copies it back to its original location.

Because every version is kept, you can restore not just a deleted file but an earlier draft of one that still exists.

7. Restore a whole Mac

When you set up a replacement Mac, wipe and reinstall, or recover after a failure, Time Machine can bring back everything. There are two routes:

Migration Assistant (recommended for a working Mac)

Use this when you already have a running Mac — brand new, freshly reinstalled, or during the initial Setup Assistant that runs the first time you start a Mac:

  1. Connect the Time Machine backup drive to the Mac.
  2. Open Migration Assistant (it lives in Applications > Utilities), or reach it during Setup Assistant on a new Mac.
  3. When asked how you want to transfer your information, choose From a Mac, Time Machine backup, or startup disk.
  4. Select your Time Machine backup, then pick the specific date and time to restore from.
  5. Choose what to transfer — user accounts, apps, settings and files — and start the migration.

macOS Recovery (for a full system restore)

Use this to roll the entire startup disk back to a previous state:

  1. Start up in macOS Recovery. On an Apple silicon Mac, press and hold the power button until you see startup options, then choose Options — the exact sequence in Apple's Use macOS Recovery on a Mac with Apple silicon, which also lists a Time Machine restore among the recovery utilities. On an Intel Mac, hold Command+R at startup.
  2. In the utilities window, choose Restore From Time Machine Backup (labelled Restore from Time Machine on newer macOS) and click Continue.
  3. Select your backup disk, then the backup date and time you want.
  4. Choose the destination disk and click Restore. Your Mac rebuilds itself from that backup.
A backup you never test is a guess

Once a month, actually restore a file you do not need, and confirm the backup date in Time Machine settings is recent. Also remember that a single on-desk drive is vulnerable to theft, fire or flood — for anything irreplaceable, keep a second copy offsite or in the cloud. Time Machine is one layer, not your whole strategy.

Common problems, quickly

  • Drive not listed? Confirm it is mounted in Finder. If it is NTFS/exFAT, let macOS reformat it during setup.
  • First backup stuck or slow? That is normal for the initial full copy — keep the Mac awake and plugged in.
  • "Backup disk is full"? Time Machine prunes old backups automatically, but a too-small drive fills fast. Exclude large folders (step 5) or move to a bigger disk.
  • Forgot the encryption password? It cannot be recovered. You will have to erase the drive and start a fresh backup.

Frequently asked

What kind of drive do I need for Time Machine?

Any external USB or Thunderbolt drive works, as long as it has more free space than the data on your Mac — aim for at least two to three times your used storage so there is room for versioned history. You can also back up to a network location such as a NAS that supports Time Machine. Time Machine erases and formats the drive during setup, so use a disk you can dedicate to backups and nothing else.

Does Time Machine back up everything, or just my files?

By default Time Machine backs up your whole Mac — the system, apps, accounts, settings and all of your files — which is what makes a full restore possible. You can shrink the backup by opening Options and adding folders to the Exclude from Backups list, or by turning on Exclude system files and applications if you only want your personal data.

How often does Time Machine back up, and how long does it keep backups?

Once a backup disk is set, Time Machine keeps hourly backups for the past 24 hours, daily backups for the past month, and weekly backups for all previous months. When the disk fills up, it deletes the oldest weekly backups to make room. It also keeps local snapshots on your Mac's internal drive so you can recover recent versions even when the backup disk is disconnected.

Can I use one Time Machine drive for two Macs?

Yes. A single drive can hold separate Time Machine backups for more than one Mac, provided it has enough free space for both. Each Mac stores its backups in its own set of folders, and when you first point a second Mac at the drive, macOS may ask whether this computer should claim the existing backups — decline that so the other Mac's history stays intact.

More macOS guides

This guide is part of our growing macOS section. Browse all macOS guides, or head back to the Windows Now home.