# Epoch

> One full pass through all the training data. Training runs many of them.

**Field:** Artificial Intelligence  
**Category:** Machine Learning  
**Also known as:** Training Epoch

## Think of it like

Think of it like reading a whole book once. Two epochs means reading it twice.

## Definition

An epoch is one full pass through all of the training data. If you have 10,000 examples, one epoch is done when the model has seen all 10,000 once. Training usually runs for many epochs, so the model sees each example many times. Each pass, it learns a little more. With too many epochs, it starts to memorise the data.

## Example

Jack has 50,000 photos and trains for 10 epochs. His model sees every photo 10 times, which is 500,000 looks in total.

## Why it matters

The number of epochs is a key setting. Too few, and the model has not learned enough. Too many, and it memorises.

## Common mistake

Mixing up an epoch with a step. One step uses one small batch. One epoch is all the batches.

## Three principles

- **One full pass.** Every example seen once.
- **Many epochs.** Each pass learns a bit more.
- **Not too many.** Or the model memorises.

## Related terms

- [Batch Size](https://learn.benibix.com/term/ai/batch-size)
- [Training (AI)](https://learn.benibix.com/term/ai/training)
- [Overfitting](https://learn.benibix.com/term/ai/overfitting)
- [Learning Rate](https://learn.benibix.com/term/ai/learning-rate)

## Told apart from

- [Epoch vs Batch Size](https://learn.benibix.com/compare/epoch-vs-batch-size): People often think an epoch is one training step. It is a full pass over all the data. Batch size is how many examples go into one step. So with 1,000 examples and a batch size of 100, one epoch takes 10 steps.

## Taught in

- [Gradient Descent and Backprop](https://learn.benibix.com/learn/ai-machine-learning/gradient-descent-and-backprop): Machine Learning, 14/18

![A bar of 1,000 examples cut into 10 batches of 100. Each batch leads to one weight update. All 10 batches together make one epoch.](https://learn.benibix.com/diagrams/nn-epoch-batch.svg)

---

Source: https://learn.benibix.com/term/ai/epoch
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.
