DNA binding to trans- and cis-isomers of azobenzene containing cationic surfactant in 5 mM NaCl solution was investigated by the methods of dynamic light scattering (DLS), low-gradient viscometry (LGV), atomic force microscopy (AFM), circular dichroism (CD), gel electrophoresis (GE), flow birefringence (FB), UV-Vis spectrophotometry. Light-responsive conformational transitions of DNA in complex with photosensitive surfactant, changes in DNA optical anisotropy and persistent length, phase transition of DNA into nanoparticles induced by high surfactant concentration, as well as transformation of surfactant conformation under its binding to macromolecule were studied. Computer simulations of micelles formation for cis- and trans-isomers of azobenzene containing surfactant, as well as DNA-surfactant interaction, were carried out. Phase diagram for DNA-surfactant solutions was designed. The possibility to reverse the DNA packaging induced by surfactant binding with the dilution and light irradiation was shown.