Here, we describe the using of biosynthesis method for the synthesis of Fe3O4, Cu nanoparticles and Fe3O4/Cu nanocomposite using Carum carvi extract and assessment of their antibacterial activity. Our approach is eco‐friendly, non‐toxic and clean. These nanoparticles/nanocomposites were characterized by UV‐Vis, FTIR, XRD, EDX and SEM, techniques. The findings indicated that the of Fe3O4 and Cu NPs, and Fe3O4/Cu nanocomposite have an average particle size of 25 nm, 37 nm, and 62 nm, respectively. On the other side, the Fe3O4 NPs do not have the antibacterial activity, but when they combine with Cu NPs with antibacterial activity, the Fe3O4/Cu nanocomposite shows the antimicrobial activity.