Natural mildew preventives, like citral, have great potential to protect bamboo from mildew, while their long-lasting antimildew performance is yet to be challenged owing to their oxidability and volatility. Inspired by biomimetic mineralization, in this work, citral@ZIF-67 particles were synthesized by encapsulating citral into a zeolite imidazolate framework-67 (ZIF-67) cage and introduced into a bamboo structure. Benefiting from the unique cage structure and large surface area of ZIF-67, it can encapsulate sufficient citral molecules. The encapsulation reduced the particle size of ZIF-67 due to the nucleation of citral. Furthermore, the surface area, pore size, and volume of citral@ ZIF-67 particles gradually decreased with the increase in loading amounts of citral. ZIF-67 exhibited a certain antibacterial ability against E. coli and S. aureus. The encapsulation of citral can further enhance the antibacterial activity of ZIF-67.