Glipizide is used with a proper diet and exercise program to control high blood sugar in people with type 2 diabetes. It may also be used with other diabetes medications. Controlling high blood sugar helps prevent kidney damage, blindness, nerve problems, loss of limbs, and sexual function problems. Proper control of diabetes may also lessen your risk of a heart attack or stroke. Glipizide belongs to the class of drugs known as sulfonylureas. It lowers blood sugar by causing the release of your body's natural insulin.