A new class of photochromic diarylethenes bearing pyrrole and thiophene units with different length of alkyl chains at 2-position of thiophene rings have been synthesized. Their characteristics, including photochromism and fatigue resistance were investigated systematically, and each diarylethene derivative showed good photochromic properties whether in solution or in PMMA films. The alkyl group moiety was connected directly to the central cyclopentene ring as a heteroaryl unit and availably participated in photoisomerization reaction. And some properties, for example, the conversion ratio in the photostationary state(PSS) and the absorption coefficient of the ring-closed isomers in acetonitrile were significantly affected by the alkyl chain length. The results revealed that substituents of alkyl chain played an important role in the photoisomerization process of diarylethenes.