To set up Time Machine, plug in an external drive, open System Settings, click General, then Time Machine, and click Add Backup Disk. Pick your drive and click Set Up Disk. Your first backup starts right away. After that your Mac backs itself up every hour while the drive is connected.
The first backup is the slow one, but you can keep working while it runs.
If you’re about to let an AI agent like Claude Code or OpenClaw work on your Mac, do this first. I run agents on a Mac Mini at home that’s backed up with Time Machine and Backblaze, and the rule I’d give anyone is simple: no agent touches a machine until there’s a backup it can’t undo. Time Machine is the easiest first layer, and it’s built into every Mac.
The steps below follow Apple’s own support pages, checked in November 2026 against the current macOS guide. They work on macOS Ventura 13 or later.
What you need
One external drive that plugs into your Mac by USB or Thunderbolt. That’s the most common setup.
Size matters here. Apple says to get a drive with at least twice your Mac’s storage, so a Mac with 1TB of storage should have a 2TB or bigger backup drive. More room means Time Machine can keep older versions of your files longer.
Use the drive only for Time Machine. And if it’s formatted for Windows, Time Machine can’t use it as is. Your Mac can reformat it, but that erases everything on it, so move anything you care about off first.
Got a network drive instead? Time Machine supports network storage that works over SMB. Older AirPort Time Capsules aren’t recommended anymore, because they rely on AFP, which isn’t supported in macOS 27 or later.
How to set up Time Machine, step by step
- Connect your external drive to your Mac and turn it on. If a “Time Machine can back up your Mac” message pops up, click Options, then Set Up, to start from there instead.
- Click the Apple menu and choose System Settings.
- Click General in the sidebar, then click Time Machine on the right.
- Click Add Backup Disk, or click the Add (+) button if you already have a backup disk set up.
- Select your drive from the list and click Set Up Disk.
- If a new window appears, set the maximum space for backups and choose whether to encrypt them, then click Done.
- If your Mac asks to erase the drive, click Erase or pick a different disk. Erasing permanently removes everything on that drive.
- If you turned on encryption, create a password for the backup disk. Write it down somewhere safe. You’ll need it to restore files.
That’s it. Backups start right after setup.
Your Mac may also ask whether you want to claim backups made by another computer. Say yes if you’re moving from an old Mac and want that history to count toward this one.
Should you encrypt it?
I’d say yes. A backup drive holds a copy of everything on your Mac, and it’s small enough to walk off with. Just don’t lose the password. You’ll need it to restore files, and your Mac may ask for it when you connect the drive.
The menu bar icon is the fastest way to start a backup or check on one, so it’s worth turning on.
On the current version of macOS, it’s under System Settings in the Menu Bar section of the sidebar. Turn on Time Machine under Menu Bar Controls. Some of Apple’s pages still send you to Control Center in the sidebar instead, so if you don’t see Menu Bar, look there and set Time Machine to Show in Menu Bar.
From that menu you can choose Back Up Now, skip or stop a backup, check its progress, or choose Open Time Machine Settings.
How often Time Machine backs up
Out of the box, Time Machine keeps hourly backups for the past 24 hours, daily backups for the past month, and weekly backups for every month before that. When the drive fills up, it deletes the oldest ones to make room.
Only the first backup copies everything. After that it just copies what changed, so the hourly runs are quick.
Want it less often? Choose Open Time Machine Settings from the menu bar icon and click Options. The Back up frequency menu is where you change it.
Leave stuff out of the backup
If you’ve got huge folders you don’t need saved, open the Time Machine page in System Settings (it’s under General) and click Options. Click the Add button, pick the folders, then click Done. That keeps your drive from filling up as fast.
How to restore files from Time Machine
This is the part you’ll actually care about someday, so try it once now while nothing’s on fire.
Get back one file or folder
- Open a Finder window where the file used to be, like your Documents folder. If it was on your desktop, you can skip this.
- Open Time Machine with Spotlight.
- Use the arrows next to the Finder windows, or the timeline on the right edge, to go back to the backup you want.
- Select the file or folder and click Restore. It goes back to its original spot.
Get back your whole Mac
For a full restore, or moving everything onto a new Mac, you use Migration Assistant. Connect the backup drive, open Migration Assistant from the Utilities folder inside Applications, choose to transfer from a Mac, Time Machine backup or startup disk, then pick your drive and the backup you want. A big transfer can take hours, so start it when you don’t need the Mac.
One catch: backups made on macOS 12 or later can only be restored to a Mac running macOS 11 or later.
What Time Machine won’t protect you from
Time Machine is a great first layer. It’s not the only one you need, especially once an AI agent is working on your machine.
Here’s why. Your Mac also keeps hourly local snapshots on the same disk as your files, for up to 24 hours. Those are handy for grabbing an older version of something. But a copy on the same disk isn’t a real backup, because whatever hits the disk can hit the snapshots too.
That’s exactly what happened to PocketOS in April 2026. A coding agent deleted its production database, and the backups went with it because they lived on the same volume. Decrypt covered it, and it’s the clearest argument I know for keeping a copy somewhere else.
An external drive sitting next to your Mac also won’t survive a house fire or a break-in. So here’s the setup I’d recommend:
| Layer | What it covers | What it misses |
|---|---|---|
| Local snapshots (automatic) | Quick undo of a file change from the last day | Anything that wipes or damages the Mac’s own disk |
| Time Machine on an external drive | Deleted files, a dead Mac, moving to a new Mac | Fire or theft, plus anything that reaches the drive while it’s plugged in |
| Off-site cloud backup | Losing the Mac and the drive at the same time | Quick restores, since everything comes back over the internet |
That third layer is the one most people skip. I use Backblaze for it, and I compared the best cloud backup options for Mac if you want to shop around.
Once the backups are running, fence in the agent itself. If you use Claude Code, that means turning on its built-in sandbox. If you’re starting fresh with a dedicated box, here’s how I’d set up a Mac Mini for an agent like OpenClaw. Either way, put real guardrails on the agent before it touches your actual accounts.
FAQ
How big should my Time Machine drive be?
At least twice your Mac’s storage. A 1TB Mac needs a 2TB or larger drive.
Does Time Machine back up everything?
It backs up the files you added yourself, like apps, photos and documents. It skips system files and the apps that were installed with macOS.
Can I unplug the drive?
Yes. Eject it first, or shut down your Mac, then unplug. When you plug it back in, Time Machine picks its schedule back up on its own.
Why is my first backup so slow?
It’s copying everything for the first time. Apple says it can take longer than you’d expect. You can keep using your Mac, and every backup after that is much faster.
Want this done for you?
I run AI agents on my own Mac Mini, and I’m putting together a done-for-you setup (backups included) for people who’d rather not spend a weekend on it. Join the waitlist and I’ll email you when spots open.
Running a business and want AI doing more of your marketing? See AI consulting.
