Grafting vertically aligned mesoporous silica films with small organosilane precursors increases pore hydrophobicity, whereas larger reagents change only the film surfaces.