Carboxylporphyrin dimers existed on the low surface area of cTiO2. Carboxylporphyrin easily interacts with the hydroxyl group on the high surface area of pTiO2. The anchoring modes of carboxylporphyrin have a positive impact on the photocatalytic activity.