Medical devices and methods are provided for forming an intestinal bypass anastomosis, such as for treatment of obesity. The medical devices and methods are minimally invasive and reduce complications. Two magnet assemblies are deployed in a spaced apart relationship, and are transluminally brought together to approximate the tissue and form an anastomosis therebetween.