The self-assembly of In(2)O(3) nanoparticles into hollow microspheres is realized using in situ generation of gas microbubbles due to the melting and decomposition of ammonium nitrate in precipitates synthesized via hydrolytic routes.