An ultra-rapid acting insulin composition and method for treating hyperglycemia in patients with diabetes are disclose. The composition is an inhalable dry powder composition comprising fumaryl diketopiperazine and insulin for pulmonary delivery, which significantly reduces the rates of hypoglycemic events in patients in patients on mealtime insulin therapy.