Synthetic fungicides have been widely used to protect crops from fungal diseases. However, excessive use of synthetic fungicides leads to the generation of fungicide resistance in fungal pathogens. Recently, smart cargo delivery systems have been introduced for the construction of a pesticide delivery nanoplatform, benefiting from their controlled release performance. Herein, a fungal pathogen microenvironment-responsive supramolecular fungicide nanoplatform has been designed and constructed, using quaternary ammonium salt (Q)-modified mesoporous silica nanoparticles (MSN-Q NPs) as nanocarriers loaded with berberine hydrochloride (BH) and carboxylatopillararene (CPA) as nanogates to form BH-loaded CP[email protected] NPs for effective inhibition of Botrytis cinerea. CPA as nanogates can endow the fungicide nanoplatform with pH stimuli-responsive release features for the control of fungicide release. The loaded BH, as a natural plant fungicide, provides an ecofriendly alternative to synthetic fungicides for controlling B. cinerea. Interestingly, we use oxalic acid (OA) secreted by B. cinerea as a trigger so that BH can be released from the fungicide nanoplatform on demand under pathogen microenvironments for controlling B. cinerea. The experimental results indicate that the fabricated fungicide nanoplatform could effectively inhibit the mycelial growth and spore germination, providing a new way for the management of B. cinerea in actual application.