A comparison of a personal series of biliopancreatic diversion and literaturedata on gastric bypass help to explain the mechanisms of resolution of type 2diabetes by the two operations.