Nanoporous TiO2 electrodes were sensitized by different porphyrin derivatives, terahydroxyphenyl porphyrin (THPP) and tera-carboxylphenyl porphyrin (TCPP). Both kinds of sensitized electrodes were characterized by UV-vis, XRD and XPS. The results showed that the interaction between TiO2 and TCPP was stronger than that between TiO2 and THPP. Both kinds of the sensitized electrodes were assembled to photoelectrochemical cells. The photocurrent responses of the photoelectrochemical cell under different incident illumination directions were different significantly. The overall light-to-electric energy conversion yield (η) of TCPPsensitized cell was 0.11%, while the conversion efficiency of THPP-sensitized cell was 0.06%.