The mechanistically distinct and synergistic role of phosphite anions in hydrogen evolution and nickel cations in oxygen evolution have been uncovered for active and durable overall water splitting catalysis in nickel phosphite.