The halogen and hydrogen bonding complexes and trihalomethanes (CHX3, X=C1, Br, I) are between 2,2,6,6-tetramethylpiperidine-noxyl simulated by computational quantum chem- istry. The molecular electrostatic potentials, geometrical parameters and interaction energy of halogen and hydrogen bonding complexes combined with natural bond orbital analysis are obtained. The results indicate that both halogen and hydrogen bonding interactions obey the order CI〈Br〈I, and hydrogen bonding is stronger than the corresponding halogen bond- ing. So, hydrogen bonding complexes should be dominant in trihalomethanes. However, it is possible that halogen bonding complex is competitive, even preponderant, in triiodomethane due to the similar interaction energy. This work might provide useful information on specific solvent effects as well as for understanding the mechanism of nitroxide radicals as a bioprobe to interact with the halogenated compounds in biological and biochemical fields.