Here we report the successful growth of highly crystalline homogeneous MOF thin films of HKUST-1 and ZIF-8 on mesoporous silica foam, by employing a layer-by-layer (LBL) method. The ability to control and direct the growth of MOF thin films on confined surfaces, using the stepwise LBL method, paves the way for new prospective applications of such hybrid systems.