Pectin, a polysaccharide found in plant cell walls, is characterized by a high abundance of hydroxyl groups and carboxylic acid groups, which results in a strong affinity for water and limits its suitability as a film material. This study aimed to modulate the esterification degree of PEC films by adjusting the concentration of acetic anhydride, and assess the impact of acetic anhydride esterification modification on the properties of the resultant PEC films. The results demonstrated successful grafting of acetic anhydride onto the galacturonic acid ring in the PEC molecule through the esterification process. The hydrophobicity, thermal stability, barrier properties, and mechanical properties of the esterified PEC films were investigated. Among the various concentrations tested, the E-PEC-0.25 film exhibited the highest contact angle of 103.46° and tensile strength of 33.44 MPa, showcasing optimal performance. The E-PEC-0.1 film achieved the highest esterification degree of 0.94 and elongation at a break of 21.11 %. It also exhibited the transparency of 11.66 and the lowest water vapor transmission rate of 0.56 g·mm/(m2·h·kpa). Additionally, TGA and DSC tests revealed enhanced thermal stability of the esterification-prepared films. These findings highlight the potential of acetic anhydride tuning as a promising strategy for optimizing pectin film production.