A graphitic carbon nitride film electrode could be assembled at an air/water interface from nanosheets which exhibits improved photoelectrochemical coenzyme regeneration by further coupling with graphene during the interfacial self-assembly.