Switchable selectivity achieved by altering reaction conditions within the same photocatalytic system offers great advantages for sustainable chemical transformations and renewable energy conversion. In this study, we investigate an efficient photocatalytic methanol dehydrogenation with controlled selectivity by varying the concentration of nickel cocatalyst, using zinc indium sulfide nanocrystals as a semiconductor photocatalyst, which enables the production of either formaldehyde or ethylene glycol with high selectivity. Control experiments revealed that formaldehyde is initially generated and can either serve as a terminal product or intermediate in producing ethylene glycol, depending on the nickel concentration in the solution. Mechanistic studies suggest a unique role of ionic nickel as an additional photoelectron competitor that can significantly influence selectivity, alongside its well-established function as a hydrogen evolution reaction cocatalyst under photocatalytic conditions. The demonstrated switchable selectivity provides a new tool for producing diverse products from methanol, while advancing the understanding of cocatalyst behavior for versatile catalytic performance.