# Overfitting

Canonical page: https://www.theglitch.ai/ai-glossary/overfitting

When a model memorises its training examples so closely that it does worse on new ones.

[Overfitting, common card \#160 in The Glitch AI glossary: When a model memorises its training examples so closely that it does worse on new ones.](https://www.theglitch.ai/images/cards/glossary/overfitting.png?v=a05870344db8b8a2)

GLS 160 · common

For: Beginner · Builders

## Why it matters

It is the classic way an impressive demo fails in production.

## In practice

A classifier scores 99% on the examples it trained on and 70% on last week’s real tickets.

## Watch for

Always test on data the model has not seen.

## Related terms

[Held-out test set](https://www.theglitch.ai/ai-glossary/held-out-test-set) · [Data contamination](https://www.theglitch.ai/ai-glossary/data-contamination) · [Evaluation](https://www.theglitch.ai/ai-glossary/evaluation)

## Sources

- [Google ML glossary: overfitting](https://developers.google.com/machine-learning/glossary#overfitting)

Definition updated 2026-10-29.

[The Ultimate AI Glossary (2027): every term](https://www.theglitch.ai/ai-glossary)

---

Site: [The Glitch](https://www.theglitch.ai) · [About Rabin](https://www.theglitch.ai/about) · [Agent guide](https://www.theglitch.ai/agent.md)
