Flow-synthesis of mesoporous silica allows deliberate and precise control over the size and shapes and enables the preparation of complex microstructures (i.e., hollow spheres).