A porphyrin derivative possessing orthogonal self-assembly units displays in situ reversible transformation of aggregate morphology between nano-rods and hollow spheres upon exposure to different solvents.