It is extremely unattainable for a material to simultaneously obtain efficient electromagnetic (EM) absorption and green shielding performance, which has not been reported due to the competition between conduction loss and reflection. Herein, by tailoring the internal structure through nano-micro engineering, a NiCo2O4 nanofiber with integrated EM absorb-ing and green shielding as well as strain sensing functions is obtained. With the improvement of charge transport capability of the nanofiber, the performance can be converted from EM absorption to shielding, or even coexist. Particularly, as the conductivity rising, the reflection loss declines from ? 52.72 to ? 10.5 dB, while the EM interference shielding effective-ness increases to 13.4 dB, suggesting the coexistence of the two EM functions. Furthermore, based on the high EM absorption, a strain sensor is designed through the resonance coupling of the patterned NiCo2O4 structure. These strategies for tuning EM performance and constructing devices can be extended to other EM functional materials to promote the development of electromagnetic driven devices.