Compositions and methods for treating hyperinsulinemic hypoglycemia, such as hyperinsulinemic hypoglycemia after bariatric surgery, are provided. In some embodiments, an effective amount of the glucagon-like peptide-1 receptor antagonist exendin(9-39) is subcutaneously administered twice per day.