The invention refers to a method for purifying water by means of powder of nopal mucilage as a flocculant and coagulant agent. The invention also refers to a method for obtaining said powder. The advantages of the present method are that the flocculant and coagulant activity of the powder is increased, also including a slow mixture and an accelerated sedimentation.Esta invención hace referencia a un método para purificar agua mediante el empleo del polvo de mucílago de nopal como un floculante y coagulante. También se refiera al método para obtener dicho polvo. Los aspectos ventajosos del presente método se deben a que en estas condiciones aumenta el poder coagulante y floculante del polvo, así como una mezcla lenta y sedimentación acelerada.