International audienceHerein we report the modulation of the properties of mesoporous silica nanoparticles (NPs) via various synthetic approaches. Three types of elaborations were compared, one in aqueous media at 25 °C, and the other two at 80 °C in water or in a water–ethanol mixture. For all these methods, an alkoxysilylated two-photon photosensitizer (2PS) was co-condensed with tetraethylorthosilicate (TEOS) in the presence of cetyltrimethylammonium bromide (CTAB), leading to five two-photon-sensitive mesoporous silica (M2PS) NPs. The M2PS NP porous structure could be tuned from radial to worm-like and MCM-41 types of organization. Besides, the 2PS precursor spatial dispersion was found to be highly dependent on both the 2PS initial concentration and the elaboration process. As a result, two-photon properties were modulated by the choice of the synthesis, the best results being found in aqueous media at 25 or 80 °C. Finally, the M2PS NPs were used for in vitro two-photon imaging of cancer cells