The confinement mechanism of DNA nucleobases onto single-walled carbon nanotubes is probed at physiological temperature (310 K) using classical molecular dynamics and fully atomistic molecular potentials. The corresponding free energy landscapes are constructed in terms of two order parameters, x 1 and x 2 , for both purine (adenine) and pyrimidine (thymine) moieties, by a metadynamics scheme. Two zigzag topologies, (16, 0) and (23, 0), are employed as solid models with limiting skeletal diameters, D ¼ 1.25 nm and D ¼ 1.8 nm, respectively, considering hydrophobic and electrically charged nanopores, q ¼ +0.05 e À /C. The uncharged nanotubes always exhibit a single free energy minimum located close to the pore center, regardless of individual diameter, whereas the charged nanotubes either inhibit encapsulation or exhibit two energetically distinct confining regions, at the center and close to the pore termini. Very interestingly, the purely hydrophobic solids exhibit a quasi-isotropic free-energy landscape around the nanopore center, F (x 1 , x 2 ). Independent umbrella sampling calculations show that for the (23, 0) electrically charged nanotubes, the probability maximum at a distance of U ¼ 0.54 nm from the pore center is the global one for adenine. These subtle differences are quantified by decomposing the interaction energy between a nucleobase and the solid into its dispersive and electrostatic contributions, and a critical comparison with DFT and experimental data for graphite is discussed. Purine and pyrimidine show similar interaction energies within the hydrophobic nanopores, however, adenine confinement results in slightly more stable hybrids by 0.9-1.4 kJ mol À1 ; binding affinity increases with the nanotube curvature as a result of enhanced dispersive energy. The detailed thermodynamical analysis reported herein is of paramount importance to study the sequence specific properties of DNA/carbon nanotube hybrids.