# Undo

> It takes back the last thing you did. A slip is never final.

**Field:** Design  
**Category:** User Experience  
**Also known as:** Undo Action, Undo Button, Ctrl+Z

## Think of it like

It is like a pencil with an eraser. You can fix a slip in a second.

## Definition

Undo is a command that lets people take back their last action in an app. It makes a product feel safe, because a slip is never final. Many apps show a short message with an Undo link right after a delete or a send. That is often better than asking are you sure before the action. Redo brings back what was undone.

## Example

Someone deletes an email by mistake. A message at the bottom says Deleted, Undo, and one tap brings it back.

## Why it matters

When a slip is easy to take back, people try more things and learn faster.

## Common mistake

Offering undo for some actions but not others. People then never know which slips are safe.

## Three principles

- **Nothing is final.** A slip can always be taken back.
- **Right after.** Offer it at the moment of the action.
- **Better than asking.** Undo beats an are you sure box.

## Related terms

- [Error Prevention](https://learn.benibix.com/term/design/error-prevention)
- [Toast Notification](https://learn.benibix.com/term/design/toast)
- [Feedback (UX)](https://learn.benibix.com/term/design/interaction-feedback)
- [Modal Dialog](https://learn.benibix.com/term/design/modal-dialog)
- [Usability](https://learn.benibix.com/term/design/usability)

## Taught in

- [Error Prevention and Undo](https://learn.benibix.com/learn/design-user-experience/error-prevention-and-undo): UX Design, 15/21

![Two panels. On the left, a row of dates for a return flight, where the days before the 13th are faded with dashed borders and cannot be picked. On the right, a crossed-out message and a dark bar at the bottom that says Message deleted, with an Undo link and an arrow back up to the message.](https://learn.benibix.com/diagrams/des3-error-undo.svg)

---

Source: https://learn.benibix.com/term/design/undo
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
