A photoelectrocatalytic process that disinfects water contaminated with Mycobacterium kansasii and Mycobacterium avium.