Thermochromism was observed for an aqueous solution containing zinc(II) and mercury( II) cations and N-p-nitrobenzyl-5,10,15,20-tetrakis(4-sulfonatophenyl)porphyrin anion (NO2Bz(Htpps)4-) in the temperature range 10 to 70 °C. The equilibrium constants and the thermodynamic parameters of Zn(NO2Bztpps)3- and Hg(NO2Bztpps)3- have been determined spectrophotometrically to elucidate the thermochromism at 10, 15, 20, 25 and 30 °C in 0.1 mol dm-3 NaNO3. The protonation and metalation constants of NO2Bz(Htpps)4- are defined as K2 = [H2P][H+]-1[HP]-1, K3 = [H3P][H+]-1[H2P]-1 and KMP = [M P][H+][M2+]-1[HP]-1, where HP and MP denote the free base form of the prophyrin and the metalloporphyrins of zinc(II) and mercury(II), respectively. Charges of the prophyrin and metalloporphyrins are omitted for simplicity. The following values were found: logK2 = 7.75 ±0.02 (25 °C), ΔH°/kJmol-1 = -21.2±0.5 and ΔS°/Jmol-1K-1 = 77±1, logK3 = 2.55±0.02 (25 °C), ΔH°/kJmol-1 = -25±0.8 and ΔS°/Jmol-1K-1 = -35±3 and log KZnP = 0.63±0.03 (25 °C), ΔH°/kJmol-1 = 31.0±0.8 and ΔS°/Jmol-1K-1 = 116±3, logKHgP = 6.22±0.03 (25 °C), ΔH°/kJmol-1 = 4.5±0.7 and ΔS°/Jmol-1K-1 = 134±2. The distribution curve calculated from the thermodynamic parameters sufficiently agrees with the observed metal exchange reaction between the metalloporphyrins.