This work reports a new composite film from poly(lactic acid) (PLA) and benzoxazine (BOZ). Introduction of BOZ to PLA simultaneously improves the ultraviolet (UV)‐shielding and oxygen barrier properties, which show strong dependence on the content of BOZ. The PLA film demonstrates almost no UV‐shielding capacity, but the PLA/BOZ composite film can reach UV‐shielding capacity of 98.3% at 350 nm. The corresponding average oxygen permeability coefficient of the composite film is as low as 1.168 × 10−18 m3 m m−2 s−1 Pa−1, which is significantly lower than that of PLA (5.540 × 10−17 m3 m m−2 s−1 Pa−1). Meanwhile, the composite film retains visible transparency ≥90.0% at 550 nm. The relationship and its implication between the oxygen barrier performance and UV‐shielding capacity are discussed, which propose new guidelines for the development of high barrier PLA film. © 2019 Wiley Periodicals, Inc. J. Appl. Polym. Sci. 2019, 136, 47510.