© 2022 by the authors. Licensee MDPI, Basel, Switzerland.The purpose of this study was to introduce caffeic acid (CA) into electrospun nanofibers made of carob flour, whey protein concentrate (WPC), and polyethylene oxide (PEO). The effects of WPC concentration (1% and 3%) and CA additions (1% and 10%) on the characteristics of solutions and nanofibers were investigated. The viscosity and electrical conductivity of the solutions were examined to determine characteristics of solutions. Scanning electron microscopy (SEM), X-ray diffraction (XRD), thermogravimetric analyzer (TGA), differential scanning calorimetry (DSC), water vapor permeability (WVP), and Fourier transform infrared (FTIR) analysis were used to characterize the nanofibers. According to the SEM results, the inclusion of CA into nanofibers resulted in thinner nanofibers. All nanofibers exhibited uniform morphology. CA was efficiently loaded into nanofibers. When CA concentrations were 1% and 10%, loading efficiencies were 76.4% and 94%, respectively. Nanofibers containing 10% CA demonstrated 92.95% antioxidant activity. The results indicate that encapsulating CA into carob flour–WPC-based nanofibers via electrospinning is a suitable method for active packaging applications.