UV absorption spectroscopy is one of the most widely used methods to monitor nucleic acid folding in solution, but the absorption readout is the weighted average contribution of all species present in solution. Mass spectrometry, on the other hand, is able to separate constituents of the solution based on their mass, but methods to probe the structure of each constituent are needed. Here, we explored whether gas-phase UV spectroscopy can give an indication of DNA folding in ions isolated by electrospray mass spectrometry. Model DNA single strands, duplexes, and G-quadruplexes were extracted from solution by electrospray; the anions were stored in a quadrupole ion trap and irradiated by a tunable laser to obtain the UV action spectra of each complex. We found that the duplex and quadruplex spectra are significantly different from the spectra of single strands, thereby suggesting that electronic spectroscopy can be used to probe the DNA gas-phase structure and obtain information about the intrinsic properties of high-order DNA structure.