The formation of guanine quadruplexes (GQ) in DNA is crucial in telomere homeostasis and regulation of gene expression. Pollution metals can interfere with these DNA superstructures upon coordination. In this work, we study the affinity of the internal GQ channel site towards alkaline earth metal (Mg2+, Ca2+, Sr2+, and Ba2+), and (post-)transition metal (Zn2+, Cd2+, Hg2+, and Pb2+) cations using density functional theory computations. We find that divalent cations generally bind to the GQ cavity with a higher affinity than conventional monovalent cations (e. g. K+). Importantly, we establish the nature of the cation-GQ interaction and highlight the relationship between ionic and nuclear charge, and the electrostatic and covalent interaction...