Resorcinol-formaldehyde aerogels and carbon aerogels of different mesoporosities have been used as templates for preparing bimodal zeolites of mesopores. Samples were thoroughly characterized with X-ray diffraction, field emission scanning electron microscopy, thermogravimetric analysis, X-ray photoelectron spectroscopy, N(2) adsorption at 77 K, as well as FT-IR spectroscopy and (29)Si nuclear magnetic resonance spectroscopy. The mesoporous ZSM-5 zeolites have additional mesopores of 9-25 nm in widths and 0.07-0.2 cm(3)/g in volumes, besides their perfect inherent micropores. Experimental results show the mesoporous systems of the finally obtained zeolites can be influenced by proper preparation of resorcinol-formaldehyde aerogels and carbon aerogels through solution chemistry. Consequently, zeolites of tunable mesoporosities can be prepared with this unique methodology.