Environmental pollution is increasing in parallel with the increase in the world population. Azo dyes are one of the most important causes of environmental pollution. Microbial electrochemical cells are biotechnological systems that generate energy from renewable sources such as electricity. This study investigated simultaneous electricity generation with the decolorization of two different azo dyes in microbial fuel cells. And also, changes in pH values, chemical oxygen demand analysis, hourly color removal rate, dye spectral scanning were investigated. Reactive Yellow 145 dye with a concentration of 10 mg/L, 20 mg/L, and 40 mg/L, and Ponceau S dye with 20 mg/L and 40 mg/L concentration were tested in microbial fuel cells, respectively. Results indicate that the maximum voltage obtained was 0.11 V at the same time as the 100% decolorization rate in Reactive Yellow 145 and was achieved at a concentration of 10 mg/L also, the maximum voltage obtained was 0.24 V at the same time as the 100% decolorization rate in Ponceau S. It was achieved at a concentration of 20 mg/L. In conclusion, microbial fuel cells appear to be promising tools in treating textile azo dye wastewaters, and computational methods can be applied to estimate the degradation mechanisms of complex organic molecules found in wastewaters.