A shake-flask method was used to determine the n-octanol/water partition coefficients of sulfamethazine, sulfadimethoxine, sulfamethoxydiazine, sulfamonomethoxine, sulfamethoxazole, sulfaquinoxaline and sulfachloropyrazine from (298.15 to 333.15) K. The results showed that the n-octanol/water partition coefficient of each sulfonamide decreased with the increase of temperature. Based on the fluid phase equilibrium theory, the thermodynamic relationship of n-octanol/water partition coefficient depending on the temperature is proposed, and the changes of enthalpy, entropy, and the Gibbs free energy function for sulfonamides partitioning in noctanol/water are determined, respectively. Sulfonamides molecules partitioning in n-octanol/water is mainly an enthalpy driving process, during which the order degrees of system increased. The temperature effect coefficient of n-octanol/water partition coefficient is discussed. The results show that its magnitude is the same as that of values in the literature.