(6-4) Photolyases ((6-4)PLs) are flavoenzymes that repair the carcinogenic UV-induced DNA damage, pyrimidine(6-4)pyrimidone photoproducts ((6-4)PPs), in a light-dependent manner. Although the reaction mechanism of DNA photorepair by (6-4)PLs has been intensively investigated, the molecular mechanism of the lesion recognition remains obscure. We show that a well-conserved arginine residue in Xenopus laevis (6-4)PL (Xl64) participates in DNA binding, through Coulomb and CH-π interactions. Fragment molecular orbital calculations estimated attractive interaction energies of -80-100 kcal mol-1 for the Coulomb interaction and -6 kcal mol-1 for the CH-π interaction, and the loss of either of them significantly reduced the affinity for (6-4)PP-containing oligonucleotides, as well as the quantum yield of DNA photorepair. From experimental and theoretical observations, we formulated a DNA binding model of (6-4)PLs. Based on the binding model, we mutated this Arg in Xl64 to His, which is well conserved among the animal cryptochromes (CRYs), and found that the CRY-type mutant exhibited reduced affinity for the (6-4)PP-containing oligonucleotides, implying the possible molecular origin of the functional diversity of the photolyase/cryptochrome superfamily.