What is overfitting? Overfitting happens when an AI model learns the training data too perfectly, even the mistakes or random details. The result is that it works really well on the training data but poorly on new data.