A new type of quasi-1D nanofiber architecture with a heterostructure was prepared via a combination of electrospinning and hydrothermal strategies in the case of CuO?CTiO2, which required a low operating temperature, and showed a high response and excellent selectivity to formaldehyde and ethanol gases.