UV-light irradiation induces the formation of highly mutagenic lesions in DNA, such as cis-syn cyclobutane pyrimidine dimers (CPD photoproducts), pyrimidine(6-4)pyrimidone photoproducts ((6-4) photoproducts) and their Dewar valence isomers ((Dew) photoproducts). Here we describe the synthesis of defined DNA strands containing these lesions by direct irradiation. We show that all lesions are efficiently repaired except for the T(Dew)T lesion, which cannot be cleaved by the repair enzyme under our conditions. A crystal structure of a T(6-4)C lesion containing DNA duplex in complex with the (6-4) photolyase from Drosophila melanogaster provides insight into the molecular recognition event of a cytosine derived photolesion for the first time. In light of the previously postulated repair mechanism, which involves rearrangement of the (6-4) lesions into strained four-membered ring repair intermediates, it is surprising that the not rearranged T(6-4)C lesion is observed in the active site. The structure, therefore, provides additional support for the newly postulated repair mechanism that avoids this rearrangement step and argues for a direct electron injection into the lesion as the first step of the repair reaction performed by (6-4) DNA photolyases.