Nanofilm deposits of TiO 2 nanoparticle phytates are formed on gold electrode surfaces by 'directed assembly' methods. Alternate exposure of a 3-mercapto-propionic acid modified gold surface to (i) a TiO 2 sol and (ii) an aqueous phytic acid solution (pH 3) results in layer-by-layer formation of a mesoporous film. Ru(NH 3 ) 6 3 + is shown to strongly adsorb/accumulate into the mesoporous structure whilst remaining electrochemically active. Scanning the electrode potential into a sufficiently negative potential range allows the Ru(NH 3 ) 6 3 + complex to be reduced to Ru(NH 3 ) 6 2 + which undergoes immediate desorption. When applied to a gold coated quartz crystal microbalance (QCM) sensor, electrochemically driven adsorption and desorption processes in the mesoporous structure become directly detectable as a frequency response, which corresponds directly to a mass or density change in the membrane. The frequency response (at least for thin films) is proportional to the thickness of the mass-responsive film, which suggests good mechanical coupling between electrode and film. Based on this observation, a method for the amplified QCM detection of small mass/density changes is proposed by conducting measurements in rigid mesoporous structures.