In recent years, the number of health problems and hospital activities have increased with the amount of liquid waste produced. Therefore, this study aims to observe the effectiveness of wastewater treatment of antibiotics ciprofloxacin and methylene blue mixture using electrocoagulation and photocatalysis processes simultaneously. The observation focuses on the effect of the electric voltage used in electrocoagulation, considering the process is simultaneously conducted with photocatalysis. The smaller electrical voltage (20 V) increases the effectiveness of removing ciprofloxacin and methylene blue by 92.5% and 98.5%, respectively. Furthermore, hydrogen yields reached 2.07 mmol/g photocatalyst at 50 V voltage, while 0.98 mmol/g hydrogen gas photocatalyst was obtained when 20 V voltage was used in the process. A simultaneous process was developed by increasing the performance of the photocatalyst in terms of its ability to produce hydrogen. Similarly, the electrocoagulation voltage is sufficiently to maintain the effectiveness of removing dissolved pollutants.