Development of photoliquefiable solid-state biomaterials at room temperature would address scientific challenges in life science. However, external stimuli-induced phase transitions are difficult for some biomacromolecules based materials, due to the high rigidity of these biomolecules. In this present work, by delicate molecule design on azobenzene-type ammonium surfactants, two new types of DNA-surfactant materials are fabricated. At room temperature, these DNA materials show photoliquefaction of ionic crystals to isotropic liquids under UV light, and fast self-assembly from isotropic liquids back to crystals after ceasing UV light, under the assistance of azobenzene isomerization. To achieve this objective, the designed solid-state DNA materials should have melting points near room temperature and an immediate liquid crystal to isotropic liquid transition process just above the melting points, which highly depends on the stoichiometric charge ratio between DNA and surfactants. As proved by the successful self-healing tests, these DNA ionic crystals are good biomaterials with potential applications in biomedicine and life science. This work would provide a new strategy for designing anhydrous functional biomaterials at room temperature by using rigid biomacromolecules. Statement of SignificanceAt room temperature, solid-state biomaterials with photoregulated crystal⇄isotropic liquid phase transition property are attractive functional materials in life science, considering the body temperature and living environment temperature of human beings. Although several kinds of anhydrous materials achieved isothermal photoresponsive phase transitions, the photoregulated phase transition of anhydrous biomacromolecules based materials has not been achieved at room temperature, due to the high rigidity of these biomolecules. In this work, by delicate molecule design on ammonium surfactants, we synthesized two kinds of anhydrous DNA-surfactants ionic crystals. These DNA materials show fast photoliquefaction under UV light and self-assembly after ceasing light, which affords excellent self-healing biomaterials. This work would provide a new strategy for designing anhydrous photoresponsive biomaterials by using rigid biomacromolecules.