The polyviologen modified electrode according to claim 1 in which the insoluble film of polyviologen polymerized on the base electrode has a structure of main chain part represented by the formula (II): ##STR17## wherein R1 is a divalent group selected from the groups consisting of alkylene, cycloalkylene, arylene and arylalkylene or a trivalent group selected from the groups consisting of alkanet