TMPyP is a porphyrin capable of DNA binding and used in photodynamic therapy and G-quadruplex stabilization. Despite its broad applications, TMPyP's effect on DNA nanomechanics is unknown. Here we investigated, by manipulating λ-phage DNA with optical tweezers combined with microfluidics in equilibrium and perturbation kinetic experiments, how TMPyP influences DNA nanomechanics across wide ranges of TMPyP concentration (5-5120 nM), mechanical force (0-100 pN), NaCl concentration (0.01-1 M) and pulling rate (0.2-20 μm/s). Complex responses were recorded, for the analysis of which we introduced a simple mathematical model. TMPyP binding, which is a highly dynamic process, leads to dsDNA lengthening and softening. dsDNA stability increased at low (<10 nM) TMPyP concentrations, then decreased progressively upon increasing TMPyP concentration. Overstretch cooperativity decreased, due most likely to mechanical roadblocks of ssDNA-bound TMPyP. TMPyP binding increased ssDNA's contour length. The addition of NaCl at high (1 M) concentration competed with the TMPyP-evoked nanomechanical changes. Because the largest amplitude of the changes is induced by the pharmacologically relevant TMPyP concentration range, this porphyrin derivative may be used to tune DNA's structure and properties, hence control the wide array of biomolecular DNA-dependent processes including replication, transcription, condensation and repair.