Sensor response of p-type NiO nanofibers was tested for CO and NO2.
Effect of the size of the nanograins was investigated.
The size of the nanograins influenced the sensor response to only a small extent.
Provide a useful guideline for the fabrication of p-type oxide nanofiber-based chemical sensors.