An electro-oxidative method for the ring opening of imidazopyridine derivatives is reported. This mild protocol offers a sustainable alternative to the existing harsh reaction conditions and unleashes an efficient approach to produce N-(pyridin-2-yl)amide derivatives with good tolerance of different functional groups. Systematic mechanistic studies provided insight into the reaction pathway and revealed that the residual water of DMSO is the source of oxygen atoms in the products.