Cationic azobenzene-containing surfactants are capable of condensing DNA in solution with formation of nanosized particles that can be employed in gene delivery. The ratio of surfactant/DNA concentration and solution ionic strength determines the result of DNA-surfactant interaction: Complexes with a micelle-like surfactant associates on DNA, which induces DNA shrinkage, DNA precipitation or DNA condensation with the emergence of nanosized particles. UV and fluorescence spectroscopy, low gradient viscometry and flow birefringence methods were employed to investigate DNA-surfactant and surfactant-surfactant interaction at different NaCl concentrations, [NaCl]. It was observed that [NaCl] (or the Debye screening radius) determines the surfactant-surfactant interaction in solutions without DNA. Monomers, micelles and non-micellar associates of azobenzene-containing surfactants with head-to-tail orientation of molecules were distinguished due to the features of their absorption spectra. The novel data enabled us to conclude that exactly the type of associates (together with the concentration of components) determines the result of DNA-surfactant interaction. Predomination of head-to-tail associates at 0.01 M < [NaCl] < 0.5 M induces DNA aggregation and in some cases DNA precipitation. High NaCl concentration (higher than 0.8 M) prevents electrostatic attraction of surfactants to DNA phosphates for complex formation. DAPI dye luminescence in solutions with DNA-surfactant complexes shows that surfactant tails overlap the DNA minor groove. The addition of di- and trivalent metal ions before and after the surfactant binding to DNA indicate that the bound surfactant molecules are located on DNA in islets.