We demonstrate an ew approach to pattern functional organic molecules with atemplate of foams,and achieve ar esolution of sub 100 nm. The bubble-assisted assembly (BAA) process is consisted of two periods,i ncluding bubble evolution and molecular assembly,which are dominated by the Laplace pressure and molecular interactions,r espectively. Using TPPS (meso-tetra(4-sulfonatophenyl) porphyrin), we systematically investigate the patterns and assembly behaviour in the bubble system with as eries of characterizations,w hich show good uniformity in nanoscale resolution. Theoretical simulations reveal that TPPSsJ -aggregates contribute to the ordered construction of molecular patterns.F inally,w ep ropose an empirical rule for molecular patterning approach, that the surfactant and functional molecules should have the same type of charge in at wo-component system. This approach exhibits promising feasibility to assemble molecular patterns at nanoscale resolution for micro/nano functional devices.