Cationic tetraphenyl porphyrin with two carboxyphenyl moieties in cis-position (cis-H4DCPP2+) was investigated to control the structure of the two-dimensional supramolecular assembly in 0.05 M H2SO4. In situ scanning tunneling microscopy (STM) images revealed the formation of supramolecularly organized nanostructures of cis-H4DCPP2+ such as dimer, trimer, and tetramer on the (√3 × √7) sulfate/bisulfate (SO42-/HSO4-) adlayer, suggesting the importance of both electrostatic interaction between cationic porphyrin core and SO42-/HSO4- adlayer and the hydrogen bond formation between carboxyl groups of the nearest neighbor cationic porphyrins. In contrast, when 0.1 M HClO4 was used as an electrolyte solution, only a disordered array was observed. The results indicate that the (√3 × √7) SO42-/HSO4- adlayer formed on Au(111) plays a significant role as a template in the control of electrostatically assembled cis-H4DCPP2+.