In this study, noncovalent interactions between Fluoxetine (FX) and different carbon nanotubes (CNTs) or sulfur doped carbon nanotubes (SCNTs) were fully considered using DFT, natural bond orbital (NBO) and molecular docking calculations. Two different CNTs (and SCNTs) with 7,7 and 8,8 chiralities were considered as the adsorbents and the adsorption of FX by these adsorbents were studied in two cases: into the nanotubes and on their surfaces. The results of DFT and NBO calculations proposed that the 8,8 nanotubes are more suitable adsorbents for FX because the energies of their adsorptions are minimum.Population: analyses were also proposed that the adsorption of FX by SCNTs lead to more changes in electronic and sensing properties than the adsorption by CNTs. Moreover, the adsorption energies, obtained from molecular docking calculations (using 94 different models), proposed that the adsorption of FX into (versus out of) the nanotubes, adsorption processes by double-walled or triple-walled (versus single-walled) nanotubes and the adsorption by nanotubes with 8,8 chiralities are the most favorable adsorption processes.