When a wheel leaves the rail. Common causes are a poor rail joint, too tight a curve, an S-curve or a wrong wheel profile.