What causes type 2 diabetes?

Insulin resistance is the most common cause of type 2 diabetes.