In accordance with invention, there are methods for fabricating hollow spheres and nanofoams. The method for making hollow spheres can include providing a homogeneous precursor solution including a first solvent and one or more anhydrous precursor species and forming aerosol droplets having a first size distribution using the homogeneous precursor solution in an anhydrous carrier gas. The method can also include transporting the aerosol droplets through an aerosol reactor including a reactant to form a plurality of hollow spheres, wherein each of the plurality of hollow spheres can be formed by one or more chemical reactions occurring at a surface of the aerosol droplet. The method can further include controlling size and thickness of the hollow spheres by one or more of the precursor solution concentration, aerosol droplet size, temperature, residence time of the aerosol droplets in the aerosol reactor, and the reactant distribution in the aerosol reactor.