In this study, we prepared and evaluated hydroxyapatite–gelatin/curcumin nanofibrous composites and determined their antimicrobial effects against Escherichia coli, Staphylococcus aureus, and Streptococcus mutans. Hydroxyapatite–gelatin/curcumin nanofibrous composites were prepared by the electrospinning method. The prepared nanocomposites were then subjected to physicochemical studies by the light scattering method for their particle size, Fourier transmission infrared spectroscopy (FTIR) to identify their functional groups, X-ray diffraction (XRD) to study their crystallinity, and scanning electron microscopy (SEM) to study their morphology. For the microbial evaluation of nanocomposites, the disk diffusion method was used against Streptococcus mutans, Staphylococcus aureus, and Escherichia coli. The results showed that the nanofibers were uniform in shape without any bead (structural defects). The release pattern of curcumin from the nanocomposite was a two-stage release, 60% of which was released in the first two days and the rest being slowly released until the 14th day. The results of the microbial evaluations showed that the nanocomposites had significant antimicrobial effects against all bacteria (p = 0.0086). It seems that these nanocomposites can be used in dental tissue engineering or as other dental materials. Also, according to the appropriate microbial results, these plant antimicrobials can be used instead of chemical antimicrobials, or along with them, to reduce bacterial resistance.