Insulin resistance occurs when the body has a weakened response to insulin, a hormone necessary to maintain normal blood sugar levels.