Lignin-containing cellulose nanofibers (LCNFs) from bamboo were prepared by choline chloride–lactic acid solvent treatment at 110–130∘C in combination with ultrasonication. Effects of LCNFs dosages on UV-blocking property, mechanical property, thermal stability and water vapor barrier property of LCNFs/PVA composite film were determined by UV spectrophotometer, universal mechanical testing machine, thermogravimetric analysis and weightlessness method, respectively. The results indicated that PVA film composited 10% LCNFs obtained from 120∘C showed best properties. As compared to pure PVA film, the UV-blocking property of composite film increased from 30% to 53%. LCNFs addition enhanced mechanical properties, resulting increment of tensile strength from 42[Formula: see text]MPa to 81[Formula: see text]MPa and elongation at break from 3% to 9%, respectively. LCNFs also introduced 2.4 times increment of water vapor barrier property of PVA film. The LCNFs/PVA composite films not only have excellent thermal stability and mechanical properties but also have UV-resistance and water vapor barrier properties. It provides a new idea for replacing some petroleum-based packaging materials and also shows the great potential of LCNFs materials.