Glipizide is a medication used to treat high blood sugar levels caused by type 2 diabetes. It is taken along with a proper diet and exercise program to control high blood sugar in people with type 2 diabetes. Glipizide belongs to a class of medications called sulfonylureas, which stimulate the release of insulin from the pancreas, directing the body to store blood sugar. This helps lower blood sugar and restore the way the body uses food to make energy. Glipizide is not used to treat type 1 diabetes or diabetic ketoacidosis. It is important to note that glipizide will only help lower blood sugar in people whose bodies produce insulin naturally.