Novel 2,8-diaminophenothiazine compounds of the following formula:and a method for preparing the same, are presented. The 2,8-diaminophenothiazine compounds are useful in the field of treating liquid or gaseous fluids, especially influents and industrial or domestic effluents.