Glimepiride should not be used in type 1 diabetes mellitus. Use in type 2 diabetes mellitus is contraindicated in patients with ketoacidosis and in those with severe infection, trauma or other severe conditions where the sulfonylurea is unlikely to control the hyperglycemia; insulin should be administered in such situations.