There are different types of gastric bypass surgery, most of which are major abdominal surgery. As is the case with any surgery, the patient is asleep during the procedure and then treated with medication in the days that follow to manage the pain. So, all in all, while the patient will likely be "sore" for several days after the surgery, no physician worth his salt allows a patient to be in pain.