Reconfigurable DNA nanostructures can be designed to respond to external stimuli such as nucleic acids, pH, small molecules and enzymes. In this study, we incorporated photocleavable linkers in DNA strands that trigger a conformational change in binary DNA nanoswitches. We demonstrate control of the output using UV light, with potential applications in biosensing and molecular computation.