# Inline Error Message

> A note right under the wrong field that says how to fix it.

**Field:** Design  
**Category:** User Interface  
**Also known as:** Inline Validation, Field Error, Error Message

## Think of it like

It is like a note from the teacher. It sits right by the wrong answer, not at the end.

## Definition

An inline error message is a short note right under the field that has a problem. It says what is wrong and how to fix it, like Enter an email with an @ sign. It should appear when people leave the field, not on every key they press. It pairs color with an icon or words, because color alone is missed by some.

## Example

Emma leaves the email box without an @. A red line under it says: add an @, like name@example.com.

## Why it matters

People fix errors fastest when the message sits next to the problem.

## Common mistake

Showing errors while people are still typing. It scolds them before they finish.

## Three principles

- **Next to the problem.** Not at the top.
- **Say the fix.** Not just invalid.
- **Right timing.** After leaving the field.

## Related terms

- [Helper Text](https://learn.benibix.com/term/design/helper-text)
- [Field Label](https://learn.benibix.com/term/design/field-label)
- [Alert Banner](https://learn.benibix.com/term/design/alert-banner)
- [Feedback (UX)](https://learn.benibix.com/term/design/interaction-feedback)
- [Microcopy](https://learn.benibix.com/term/design/microcopy)
- [Error Prevention](https://learn.benibix.com/term/design/error-prevention)

## Taught in

- [Form Field Labels and Errors](https://learn.benibix.com/learn/design-user-interface/form-field-labels-and-errors): UI Components, 4/14

---

Source: https://learn.benibix.com/term/design/inline-error-message
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-16
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
