How to Back Up a Mac with Time Machine

Illustration for How to Back Up a Mac with Time Machine

Time Machine is Apple’s built-in backup system for macOS. It automatically saves copies of your files, apps, photos, settings, and other data to another storage device. If you accidentally delete a file, need to recover an older version, or replace your Mac, you can use Time Machine to restore your data.

Quick Answer

To back up a Mac with Time Machine:

  1. Connect an external drive with enough available space.
  2. Open Apple menu > System Settings > General > Time Machine.
  3. Click Add Backup Disk or +, select the drive, and click Set Up Disk.
  4. Choose whether to encrypt the backup, enter a backup password if requested, and click Done.
  5. Leave the drive connected so Time Machine can make automatic backups.

Time Machine normally creates backups automatically while the backup disk is available. For the best protection, use a dedicated external drive, enable encryption, and occasionally confirm that recent backups are completing successfully.

What You Need Before Starting

You need a separate storage device for your backup. This can be an external hard drive, external solid-state drive, or a compatible network storage device.

Choose a suitable backup drive

Your backup drive should have enough capacity for your Mac’s data and future backups. A drive with more capacity than the internal storage in your Mac is generally a better choice because Time Machine keeps historical versions of files. When the drive becomes full, Time Machine removes the oldest backups to make room for new ones.

For example, a Mac with 500 GB of data may work with a 1 TB backup drive, but a larger drive gives Time Machine more room to retain older versions. If your Mac contains many photos, videos, or other large files, choose additional capacity.

A dedicated backup drive is preferable to one you regularly use for unrelated files. Depending on how the drive is configured, setting it up for Time Machine may require erasing it.

Warning: If macOS asks to erase or reformat the drive, all data currently stored on that drive may be deleted. Copy anything important to another location before continuing.

Decide whether to encrypt the backup

Encryption protects the contents of the backup if someone gains access to the drive. It is especially important for a portable drive that could be lost or stolen.

When you enable encryption, macOS asks you to create a backup password. Store that password in a password manager or another secure location. Without it, recovering an encrypted backup can be difficult or impossible.

Important: Do not lose the encryption password. Time Machine cannot bypass it for you.

Set Up Time Machine with an External Drive

The following steps use System Settings, the standard settings app in macOS.

1. Connect the backup drive

Connect the external drive directly to your Mac or through a compatible hub. If the drive uses a different connector, use an appropriate adapter or cable.

If macOS displays a prompt asking whether you want to use the drive with Time Machine, follow the on-screen instructions. If no prompt appears, configure the drive manually.

2. Open Time Machine settings

  1. Click the Apple menu in the upper-left corner of the screen.
  2. Select System Settings.
  3. Click General in the sidebar.
  4. Select Time Machine.

3. Add the backup disk

  1. Click Add Backup Disk or the + button, depending on the macOS interface.
  2. Select the connected external drive.
  3. Click Set Up Disk.

If the drive is not suitable for Time Machine, macOS may ask to erase or reformat it. Read the warning carefully before approving the change.

4. Enable backup encryption

Look for an option such as Encrypt Backup or Encrypt Backups and turn it on if available.

Create a strong password that you can reliably retrieve later. Confirm the password, add a password hint if macOS offers one, and continue through the setup process.

Encryption can add protection, but it also makes password management more important. Keep the password separate from the backup drive.

5. Let the first backup finish

Time Machine may begin backing up automatically after setup. The first backup can take substantially longer than later backups because it needs to copy your existing data.

Keep the Mac powered on and the drive connected until the process finishes. Large photo libraries, videos, and other files can make the initial backup take longer.

Warning: Do not disconnect the drive while a backup is in progress unless necessary. If you must disconnect it, wait until the backup has finished or stop the backup through Time Machine settings first.

How Time Machine Creates Automatic Backups

After setup, Time Machine works in the background. It backs up files that have changed since the previous backup and retains older versions according to the space available on the backup disk.

The exact schedule and retention behavior can vary by macOS version and backup setup. You do not normally need to start each backup manually. Simply keep the backup disk connected when you are using your Mac, or reconnect it regularly if you only use the drive occasionally.

A backup is most useful when it is recent. If you disconnect the drive for weeks, Time Machine cannot save new changes during that period.

Start a Backup Manually

You can request an immediate backup instead of waiting for the next automatic run.

  1. Open Apple menu > System Settings > General > Time Machine.
  2. Select the backup disk.
  3. Choose Back Up Now if that option is available.

You can also use the Time Machine icon in the menu bar if it is displayed. Select it and choose Back Up Now.

If the menu bar icon is not visible:

  1. Open System Settings.
  2. Click Control Center.
  3. Locate Time Machine.
  4. Set its menu bar display option according to your preference.

The wording and location of this control can differ between macOS versions.

Exclude Files or Folders from Backups

Time Machine can back up most of your Mac, but you may want to exclude folders containing temporary files, large data that is stored elsewhere, or information that does not need historical versions.

To add an exclusion:

  1. Open Apple menu > System Settings > General > Time Machine.
  2. Click Options.
  3. Click the + button.
  4. Select a file or folder to exclude.
  5. Click Exclude or Done, depending on the available button.

To remove an exclusion, return to Options, select the item, and click the button.

Warning: Excluding a folder means its contents will not be protected by Time Machine. Do not exclude files you may need to recover unless another reliable backup exists.

Exclusions can reduce the amount of space required and shorten backups, but they also reduce what you can restore after data loss.

Confirm That Time Machine Backups Are Working

Setting up Time Machine once is not enough. Check periodically to make sure backups are recent and completing without errors.

Check the latest backup time

  1. Open Apple menu > System Settings > General > Time Machine.
  2. Review the displayed backup status and the time of the latest backup.

You can also click the Time Machine icon in the menu bar, if available. It may show whether a backup is in progress, when the last backup completed, or whether a problem occurred.

A recent completion time indicates that Time Machine has been able to access the backup disk. If the latest backup is old, connect the drive and investigate the issue.

Test file recovery

A practical way to confirm that a backup is usable is to restore a noncritical file:

  1. Open the folder where the test file is stored.
  2. Open Time Machine from the menu bar or through Spotlight.
  3. Use the timeline or on-screen controls to locate an earlier version.
  4. Select the file.
  5. Click Restore.

Warning: Restoring a file can replace or add data in its original location. For a test, use a disposable file or restore it to a location where it will not overwrite important work.

Testing recovery also helps you become familiar with Time Machine before an emergency.

Restore Deleted or Earlier Versions of Files

To recover a file:

  1. Open the app or folder where the file was originally located.
  2. Click the Time Machine icon in the menu bar and choose Browse Time Machine Backups.
  3. Use the timeline or arrows on the right side of the screen to move through available backups.
  4. Select the file or folder.
  5. Click Restore.

The restored item normally returns to its original location. If a file with the same name already exists, macOS may ask how you want to handle the duplicate.

Time Machine can restore older versions of some documents when the application supports that type of file history. The available versions depend on which backups were completed while the file existed.

Back Up a Mac to a Different Drive

Time Machine can use more than one backup disk. Multiple drives can be useful if you keep one at home and another in a different location.

To add another disk:

  1. Open Apple menu > System Settings > General > Time Machine.
  2. Click Add Backup Disk or +.
  3. Select the additional drive.
  4. Complete the setup and encryption choices.

Time Machine can alternate between available backup disks. Keep each drive connected often enough to receive current backups, and store a disconnected drive somewhere secure when it is not in use.

A second backup disk does not replace the need for a safe storage location. A drive kept beside the Mac can be lost in the same theft, fire, or other event as the computer.

Use a Network Location for Time Machine

Time Machine may also support compatible network storage locations. This can be convenient when you do not want to connect a drive directly to the Mac, but performance and setup depend on the network device.

For a network backup:

  1. Make sure the network storage device is available on the same network or otherwise reachable by your Mac.
  2. Open Apple menu > System Settings > General > Time Machine.
  3. Click Add Backup Disk or +.
  4. Select the available network location.
  5. Complete the setup and encryption options.

Network backups can be slower than direct-connected drives, particularly during the first backup. Keep the Mac connected to reliable power and the network while the initial backup runs.

Safely Disconnect a Time Machine Drive

Before unplugging an external backup drive, verify that no backup is running. If the drive is active, wait for the backup to finish or stop it using the available Time Machine controls.

Then eject the drive:

  1. Open Finder.
  2. Find the drive in the sidebar under Locations.
  3. Click the Eject button next to it, or Control-click the drive and choose Eject.
  4. Disconnect the drive after it disappears from Finder.

Warning: Removing a drive during a backup or while files are being written can interrupt the backup and may cause data or file-system problems.

Troubleshooting Time Machine

Time Machine cannot find the backup disk

Check that the drive is connected, powered on, and visible in Finder under Locations. Try a different cable, port, or adapter. If the drive is connected through a hub, connect it directly to the Mac temporarily.

Then open System Settings > General > Time Machine and check whether the disk still appears.

The backup is taking too long

The first backup is usually the largest. Large video files, photo libraries, and many small files can also increase the time required.

Keep the Mac connected to power, avoid disconnecting the drive, and allow the process to continue. A slow connection, faulty cable, or nearly full drive can also affect performance.

Time Machine reports that the disk is full

Time Machine normally removes older backups as space runs out. If it cannot do so, the drive may be too small, have file-system problems, or contain other data that is using its capacity.

Move unrelated files elsewhere, check the disk in Disk Utility, or replace it with a larger drive. Do not erase the drive until you have confirmed that you no longer need its existing backups.

The latest backup is not recent

Reconnect the drive and select Back Up Now. Check for error messages in Time Machine settings. Also make sure the Mac has enough free storage and that the drive is not disconnected by a loose cable or unreliable hub.

An excluded file is missing from the backup

Review System Settings > General > Time Machine > Options. If the file’s folder is listed there, remove it from the exclusions.

Remember that files created or changed while the backup disk was unavailable may not appear until the next successful backup.

The backup disk needs to be erased

Do not approve the erase prompt if the drive contains files you still need. Copy those files to another location first. If the drive contains older Time Machine backups, confirm that you no longer need them or preserve them before reformatting.

Frequently Asked Questions

How often does Time Machine back up a Mac?

Time Machine backs up automatically when its backup disk is available. It saves changed data rather than copying every file from scratch each time. The exact timing and retention behavior can vary by macOS version and setup.

Can I use an external hard drive for Time Machine?

Yes. An external hard drive is a common choice for Time Machine. Choose a drive with enough capacity for your Mac’s current data plus room for older versions and future changes.

Should I encrypt my Time Machine backup?

Encryption is recommended when the backup contains personal, financial, work, or other sensitive information. It protects the backup if the drive is lost or stolen. Save the encryption password securely because it is required to access the protected backup.

Can I use the backup drive for other files?

You can, but using a dedicated drive is safer and simpler. Sharing the drive reduces the space available for backups and increases the risk of accidentally deleting or altering unrelated data.

Does Time Machine back up everything?

Time Machine backs up much of the Mac’s data, but exclusions, unsupported locations, unavailable drives, and files that have not yet been included in a completed backup can affect what is available. Review Options and confirm important files appear in the backup.

Can Time Machine restore an entire Mac?

Time Machine can be used during Mac setup or through macOS recovery tools to restore files, accounts, apps, and settings from a backup. The available restoration process depends on the Mac and macOS environment.

Is Time Machine enough as my only backup?

Time Machine is an important backup method, but a second backup copy in another location provides additional protection. Consider keeping another backup drive somewhere separate from your Mac and its primary backup.

Final Thoughts

Time Machine makes automatic Mac backup straightforward: connect a suitable external drive, add it in System Settings, enable encryption, and leave the disk available regularly. Choose a drive with generous capacity, avoid excluding important folders, and check the latest backup status from time to time. A backup is only valuable if it is recent and can be restored, so periodically test recovery of a noncritical file.