ABSTRACTThermosetting epoxy (EP)‐based composites containing various carbon nanofiber (CNF) contents (0–5 wt %) were fabricated using high speed mechanical stirring and surfactant assisting method. Then EP/CNF composites were foamed through a supercritical CO2 (scCO2) foaming method. The cellular morphology of the foamed EP/CNF nanocomposites has been analyzed by scanning electron microscopy (SEM), and the results demonstrated that the CNFs could be served as heterogeneous nucleating agent to increase nucleation sites in nanocomposites, leading to higher cell density and larger cell size. The influences of foaming on conductivity and electromagnetic interference (EMI) shielding effectiveness (SE) were investigated. Due to the introduction of microcellular structure, the conductivity was improved from 9.53 × 10−8 S/cm to 6.75 × 10−6 S/cm and the EMI SE was enhanced from 12.7 to 16.5 dB at the CNF content of 5 wt %. © 2018 Wiley Periodicals, Inc. J. Appl. Polym. Sci. 2018, 135, 46833.