Mechanistic details of DNA compaction is essential blue print for gene regulation in living organisms. Many in vitro studies have been implemented using several compaction agents. However, these compacting agents may have some kinds of cytotoxic effects to the cells. To minimize this aspect, several research works had been performed, but people have never focused green solvent, i.e. room temperature ionic liquid as DNA compaction agent. To the best of our knowledge, this is the first ever report where we have shown that guanidinium tris(pentafluoroethyl)trifluorophosphate (Gua-IL) acts as a DNA compacting agent. The compaction ability of Gua-IL has been verified by different spectroscopic techniques, like steady state emission, circular dichroism, dynamic light scattering and UV melting. Notably, we have extensively probed this compaction by Gua-IL through field emission scanning electron microscopy (FE-SEM) and fluorescence microscopy images. We also have discussed the plausible compaction mechanism process of DNA by Gua-IL. Our results suggest that Gua-IL forms a micellar kind of self aggregation above a certain concentration (≥1 mM), which instigates this compaction process. This study divulges the specific details of DNA compaction mechanism by a new class of compaction agent, which is highly biodegradable and eco friendly in nature.