An organic monolayer with diarylethene and viologen moieties as a photochromic and an electroactive group, respectively, was constructed on a hydrogen-terminated Si (111) surface by sequential surface reactions. Photoswitching behaviour of electron transfer from the Si electrode to viologen moiety, larger and smaller current after UV and visible irradiation, respectively, was observed. This photoswitching behaviour can be explained by change in molecular conductivity of diarylethene moiety, which separates Si surface and viologen moiety, induced by ring closing and opening UV and visible irradiation, respectively.