Gastric bypass is a type of weight-loss surgery. During the surgery, the top of the stomach is changed into a small pouch. A loop of your small intestine is cut, and one end of the loop is connected to the stomach pouch. The other end of the small intestine loop is connected lower down on the small intestine. Each of these connections is called an anastomosis.
One risk of a gastric bypass is digestive juices and partly digested food leaking through an anastomosis. This is a serious complication after gastric bypass surgery. A leak may happen up to several weeks after surgery. Most occur within a few days after surgery.