Methylene blue (MB) is a cationic dye widely used in medicine as an antiseptic, also in other fields such as biology, chemistry, textile industry…etc. This pollutant exists in nature as the result of the fluid which is released from industries that can directly affect both the living organisms and the environment. This study consists of eliminating methylene blue by Fenton process under the influence of three parameters (pH,[FeII] and ratio R). The degradation of this substance was followed by a modeling of this process using statgraphics‐plus software. The best result was obtained by the central composite design (CCD) 2*3+star on three‐level ( low, medium, high) of which coefficient of correlation R2 equal to 0.96, and the optimal conditions found are pH= 2.9, R=23.6 and [FeII]=1.5.10−4 M, with a yield of elimination of MB of 100% after a 30 min of treatment. This optimization minimizes the number of experiments and the time of research.