Eco-friendly technologies are of great significance to agricultural sustainability due to the environmental damage caused by agricultural activities. Here, we report a wind and rain energy-driven electrical stimulation system for enhancing crop production. The system is based on an all-weather triboelectric nanogenerator (AW-TENG), which is composed of a bearing-and-hair structured triboelectric nanogenerator (TENG) and a raindrop-driven TENG. Treated by the self-generated high-voltage electric field, the system can increase pea seeds germination speed by ~26.3% and pea yield by ~17.9%. By harvesting environmental wind and raindrop energy, the AW-TENG can be used to drive various agricultural sensors for optimizing plant growth. This work provides a fresh direction for self-powered systems in safe, efficient and eco-friendly agricultural production improvement and may profoundly contribute to the construction of a sustainable economy. © The Author(s), under exclusive licence to Springer Nature Limited 2022.