Objetivo: Analizar los factores de riesgo asociados a la fuga de anastomosis intestinal en cirugía electiva. Método: Estudio observacional y retrospectivo en el que se recabaron los expedientes de los pacientes operados de anastomosis intestinal en forma electiva en un hospital de segundo nivel de enero de 2007 a enero de 2017. Resultados: Se incluyeron 64 pacientes, de los cuales siete presentaron fuga de la anastomosis. Los factores de riesgo asociados a fuga anastomótica estadísticamente significativos fueron consumo de cocaína (p = 0.030), neoplasia como patología primaria (p = 0.008), tratamiento con neoadyuvantes para neoplasia (p = 0.003) y anastomosis término-terminal (p = 0.037). Los pacientes con fuga tuvieron una estancia intrahospitalaria más prolongada y una mortalidad del 14.3%. Conclusiones: Los factores de riesgo asociados con la presencia de fuga anastomótica encontrados en este estudio son consistentes con los reportados en la literatura mundial. Sin embargo, en nuestros resultados cabe destacar el uso de cocaína como factor de riesgo, con significancia estadística.