The present disclosure provides modular magnetic anastomosis devices that can be implemented in digestive surgery or in any circumstance of anastomosis between adjacent organs or two hollow viscera. The device is minimally invasive and easily and quickly delivered using laparoscopic or endoscopic procedures.