Novel multifunctional nanoparticles that combine two functionalities (a gold nanorod core and a porphyrin-doped mesoporous silica shell) into one entity were synthesized. Due to the encapsulation of mesoporous silica, the porphyrin can be well protected against the external bioenvironment. In addition, the generated singlet oxygen by porphyrin molecules can be easily released from the silica. We have demonstrated that these multifunctional nanoparticles can generate singlet oxygen with relatively higher yield compared to free porphyrin. These multifunctional nanocomposites are attractive candidates for simultaneous photosensitization and two-photon imaging as well as imaging guided therapy.