Microstructural evolution of spinel Zn2SnO4 nanofibers was manipulated via an in situ phase separation process of inorganic precursors and a matrix polymer during electrospinning and calcination. Chemiresistive gas sensors using porous Zn2SnO4 fibers exhibited superior C2H5OH sensing response.