To undo deleted text in the Notes app on a Mac, press Command-Z immediately after the deletion, or choose Edit > Undo from the menu bar. If you have already closed the note or quit Notes, you can still recover the text by restoring a previous version of the note from the app’s built-in version history. This article covers every recovery method, from the quick keyboard shortcut to restoring older versions, so you can get your text back no matter when you realize it’s gone.
Why the Undo Command Works
Notes on macOS is a standard Mac app, so it follows the same undo system used across the operating system. Every change you make inside a note—typing, deleting, cutting, pasting, or formatting—is recorded in an undo history for that editing session. The Command-Z shortcut reverses the most recent action. If you delete a paragraph and then type a new sentence, Command-Z will first undo the typing, and pressing it again will undo the deletion, restoring the deleted text.
The undo history is temporary. It only exists while the Notes app is running and while the note remains open in memory. If you quit Notes or restart your Mac, the undo history is cleared. However, the note itself is saved automatically, so the text that was present at the last save is still there—but the deletion you made after that save is not in the undo history anymore.
Method 1: Immediate Undo (Command-Z)
This is the fastest and most reliable method, but it only works if you haven’t done anything else since the deletion.
- Click inside the note where you deleted the text.
- Press Command-Z on your keyboard. Each press undoes one action, so press it repeatedly until the deleted text reappears.
- Alternatively, click Edit in the menu bar and select Undo.
If you have performed other actions after the deletion (like typing new text), you’ll need to undo those as well. The undo history is linear—you can’t skip over actions. You’ll have to undo everything you did after the deletion to get back to the state before it.
Method 2: Redo to Restore (Shift-Command-Z)
Sometimes you undo too many times, or you undo a deletion and then accidentally undo the undo. The redo command reverses an undo.
- Press Shift-Command-Z to redo the last undone action.
- Or go to Edit > Redo in the menu bar.
This is useful if you pressed Command-Z one too many times and removed text you actually wanted to keep. Redo will bring it back.
Method 3: Browse All Versions of a Note
If you’ve closed the note or quit Notes, the undo history is gone, but Notes still keeps a version history for each note. This is a built-in feature that works like Time Machine for individual notes.
- Open the Notes app and select the note you want to recover text from.
- Click File in the menu bar and choose Revert To > Browse All Versions.
- Your screen will show the current version on the left and a timeline of previous versions on the right.
- Use the timeline arrows or the date list to find a version from before the deletion.
- Click Restore to replace the current version with the selected one, or hold Option and click Restore a Copy to keep the current version and create a new note with the old version.
Version history is saved automatically at regular intervals, so you might lose a few minutes of changes, but you’ll get back the deleted text. Note that this replaces the entire note with the older version, so any changes you made after that point will be lost (unless you use “Restore a Copy”).
Method 4: Recover from Time Machine
If the note itself was deleted entirely, or if version history doesn’t go back far enough, Time Machine can restore the entire Notes database from an external backup.
- Make sure your Time Machine backup drive is connected.
- Open the folder that contains Notes data. In recent macOS versions, this is
~/Library/Group Containers/group.com.apple.notes/. - Open Time Machine from the menu bar icon (or System Settings > General > Time Machine > Enter Time Machine).
- Navigate to a date before the deletion, select the
NotesV7.storedatafile (or similar), and click Restore.
This restores the entire Notes database, so you’ll get all your notes back to the state they were in at that backup time. This is a heavier approach—it affects all notes, not just one.
Method 5: Check Recently Deleted Folder
If you deleted the entire note (not just text within a note), it goes to the Recently Deleted folder in Notes. This folder keeps notes for 30 days before permanently removing them.
- In the Notes sidebar, click Recently Deleted.
- Find the note you want.
- Right-click it and choose Recover to restore it to its original folder, or Delete to remove it permanently.
This only works for whole notes, not for text deleted within a note that still exists.
Common Problems and Solutions
Here are the most common issues people run into when trying to recover deleted text in Notes:
- Command-Z doesn’t do anything: This means the undo history is empty. You’ve likely closed the note or quit Notes since the deletion. Use the version history method instead.
- Version history doesn’t show the text: Notes only saves versions at certain intervals (roughly every hour or when the app is closed). If you deleted text and immediately checked versions, there might not be a version from before the deletion. Check if there’s a version from earlier in the day.
- You deleted the entire note: Go to Recently Deleted folder. If it’s not there, it was permanently deleted after 30 days, and you’ll need Time Machine.
- You’re using iCloud Notes: Version history still works for iCloud notes, but it may be slightly delayed. Also, if you deleted the note on another device, it will be deleted everywhere, but the Recently Deleted folder still applies.
Frequently Asked Questions
Can I undo a deletion in Notes after I’ve closed the app?
No, the undo command only works while the app is open. Once you quit Notes, the undo history is cleared. However, you can still use the version history feature (File > Revert To > Browse All Versions) to recover text from an earlier saved version.
Does Notes autosave my changes?
Yes, Notes autosaves continuously. Every change you make is saved almost instantly. This means if you delete text and then close the note, the deletion is saved. But the version history keeps older versions, so you can still go back.
How long does Notes keep version history?
Notes keeps version history for as long as the note exists, but it doesn’t keep every change. It saves a version roughly once per hour, or when you close the app. Older versions may be pruned after a few weeks or months, but there’s no official fixed duration.
Can I recover deleted text from a note that was on iCloud?
Yes. iCloud notes have the same version history feature. If you deleted the note entirely, it goes to the Recently Deleted folder for 30 days. If it’s been longer than that, you’d need a Time Machine backup of your Mac.
What if I don’t have Time Machine set up?
Without Time Machine, your only options are the undo command (if the app is still open), version history (if a version exists), or the Recently Deleted folder (for entire notes). If none of those work, the deleted text is likely unrecoverable.
Does the undo shortcut work in Notes on macOS Sequoia?
Yes, Command-Z for undo and Shift-Command-Z for redo work in Notes on all recent versions of macOS, including Sequoia and Sonoma. The version history feature is also present in all these versions.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- DisplayPort vs HDMI: Which Cable Should You Use?
- Soundbar vs 2.1 Speaker System: Which Is Better?
- Slack Channels for Construction Projects: Setup Guide
- Surface Won’t Turn On: Quick Fixes1.8 h
- Survive Lava for Brainrot Tier List170 points
- MySQL Dump Import: Fix Common Errors