Compared to fixed orthodontic appliances with brackets, thermoplastic invisible orthodontic aligners offer several advantages, such as high aesthetic performance, good comfort, and convenient oral health maintenance, and are widely used in orthodontic fields. However, prolonged use of thermoplastic invisible aligners may lead to demineralization and even caries in most patients’ teeth, as they enclose the tooth surface for an extended period. To address this issue, we have created PETG composites that contain piezoelectric barium titanate nanoparticles (BaTiO3NPs) to obtain antibacterial properties. First, we prepared piezoelectric composites by incorporating varying amounts of BaTiO3NPs into PETG matrix material. The composites were then characterized using techniques such as SEM, XRD, and Raman spectroscopy, which confirmed the successful synthesis of the composites. We cultivated biofilms ofStreptococcus mutans(S. mutans) on the surface of the nanocomposites under both polarized and unpolarized conditions. We then activated piezoelectric charges by subjecting the nanocomposites to 10 Hz cyclic mechanical vibration. The interactions between the biofilms and materials were evaluated by measuring the biofilm biomass. The addition of piezoelectric nanoparticles had a noticeable antibacterial effect on both the unpolarized and polarized conditions. Under polarized conditions, nanocomposites demonstrated a greater antibacterial effect than under unpolarized conditions. Additionally, as the concentration of BaTiO3NPs increased, the antibacterial rate also increased, with the surface antibacterial rate reaching 67.39% (30 wt% BaTiO3NPs). These findings have the potential for application in wearable, invisible appliances to improve clinical services and reduce the need for cleaning methods.