Flexible trimethylamine sensor has been realized based on In2O3 nanofibers via electrospinning and a deposition technique. The web-like In2O3 nanofibers with high length-to-diameter ratios are benefit for gas adsorption and desorption. High trimethylamine sensing properties are observed. The sensors can detect trimethylamine gas down to 1 ppm at 80 degrees C with the response up to 3.8. Additionally, rapid response (6 s) and recovery (10 s) behavior can also be obtained. Good reliability and flexibility are observed in 100 bending/extending cycles. Our results open a new route to construct flexible gas sensors in practice. (C) 2019 Chinese Chemical Society and Institute of Materia Medica, Chinese Academy of Medical Sciences. Published by Elsevier B.V. All rights reserved.