Functionalization of surfaces has become of high interest for a wealth of applications such as sensors, hybrid photovoltaics, catalysis, and molecular electronics. Thereby molecule-surface interactions are of crucial importance for the understanding of interface properties. An especially relevant point is the anchoring of molecules to surfaces. In this work, we analyze this process for a zinc-porphyrin equipped with carboxylic acid anchoring groups on rutile TiO2 (110) using scanning probe microscopy. After evaporation, the porphyrins are not covalently bound to the surface. Upon annealing, the carboxylic acid anchors undergo deprotonation and bind to surface titanium atoms. The formation of covalent bonds is evident from the changed stability of the molecule on the surface as well as the adsorption configuration. Annealed porphyrins are rotated by 45° and adopt another adsorption site. The influence of binding on electronic coupling with the surface is investigated using photoelectron spectroscopy. The observed shifts of Zn 2p and N 1s levels to higher binding energies indicate charging of the porphyrin core, which is accompanied by a deformation of the macrocycle due to a strong interaction with the surface.