The process of electrochemically assisted surfactant assembly was followed in real time by grazing incidence small angle X-ray scattering with the aim to deconvolute the formation of mesoporous silica film and unwanted porous particles. The X-ray technique proved to be useful for the characterisation of this process, as it takes place at a very dynamic, solid/liquid interface. This paper shows the electrochemically driven onset and evolution of silica/surfactant structures. Additional control experiments indicate the formation of vertically aligned structures without the use of an electric field, although it seems to be beneficial for increased pore ordering.