Thermodynamic parameters for the hydrogen bonding interaction of azabenzenes with thioacetamide (TA) in carbon tetrachloride solution were determined using near-IR absorption spectroscopy. Pyridine (PY), pyridazine (PD), pyrimidine (PM), pyrazine (PZ), methylpyrazine (MPZ), 2,3-dimethylpyrazine (2,3-DMPZ), 2,5-dimethylpyrazine (2,5-DMPZ), and trimethylpyrazine (TMPZ) were chosen to investigate the position effect of nitrogen atoms and the substitution effect of methyl groups on the hydrogen bonding ability of azabenzenes. The standard enthalpy (ΔH°) for the formation of 1:1 complexes of PY, PD, PM, and PZ with TA is −4.5, −5.4, −2.5, and −2.1 kcal/mol, respectively, which does not parallel the highest proton affinity of PY. The hydrogen bonding strength increases with the number of methyl substituents: ΔH° = −3.6, −3.9, −3.7, and −4.2 kcal/mol, respectively, for MPZ, 2,3-DMPZ, 2,5-DMPZ, and TMPZ. The association energy of these complexes has been calculated at the B3LYP/6-311G** and B3LYP/6-31+G** levels, showing excellent agreement with the relative hydrogen bonding strength. We also calculated the association energy of 1:1 complexes of PY, PD, PM, and PZ with acetamide and water at the B3LYP/6-31+G** level. The association energy follows the same order PD > PY > PM > PZ for all three proton donors. The hydrogen bonding of two adjacent nitrogen atoms of PD may enhance the stability of the complex.