In recent years,electromagnetic interference (EMI) pollution has received widespread attention,making it a great research hotspot to prepare lightweight and excellent electromagnetic interference shielding (EMIS) materials. In this study,a 3D EMIS aerogel,namely M-NF/P@CNF was prepared via in-situ growth method and directional freeze-drying technology. The as-prepared M-NF/P@CNF aerogel consisted of cellulose nanofibril (CNF) as a substrate,MXene (M) and polypyrrole (P) as conductive fillers and magnetic ferrite (NiFe2O4,NF) as magnetic fillers. We investigated the effect of the mass ratio of NiFe2O4 to MXene on EMIS performance. Results showed that when the mass ratio of NiFe2O4 and MXene was 1∶2,the total shielding efficiency (SET) of the horizontal direction of M2-NF1/P@CNF aerogel reached 81.85 dB,the absorption loss (SEA) was as high as 77.82 dB,while the vertical direction M3-NF1/P@CNF aerogel had the highest SET (83.14 dB) and SEA (78.09 dB).This study provides a new idea and synthesis strategy for the design of cellulose-based EMIS materials,which is of great significance for the development of cellulosic materials in high value-added applications.