A type II error, also known as a false negative, occurs when the null hypothesis is true, but the statistical test fails to reject it. In other words, the test concludes that there is no significant difference or effect when, in reality, there is one.