A novel nanofibrous mat featuring an ultraviolet (UV)-induced CO 2 -responsive behavior was fabricated via electrospinning and used as a controlled drug release system. First, a random copolymer for electrospinning, poly(N,N-diethybenzophenone) [P(DEEA-co-BA-co-DMNOBA-co-ABP)], was prepared based on pentafluorophenyl esters via an "active ester-amine" chemistry reaction. Subsequently, doxorubicin hydrochloride (DOX)-loaded P(DEEA-co-BA-co-DMNOBA-co-ABP) nanofibers were fabricated, yielding a new drug-loaded nanofibrous mat as a potential wound dressing. These DOX-loaded nanofibers can respond to UV irradiation and CO 2 stimulation. Interestingly, without UV irradiation, the fabricated nanofibers cannot exhibit any responsiveness. Therefore, the majority of the DOX was steadily stored in the nanofibers, even in the presence of CO 2 . However, upon UV irradiation, the CO 2 -responsive behavior of the nanofibers was activated and the prepared nanofibers swelled slightly, resulting in the release of around 42% DOX from the nanofibers. Upon further purging with CO 2 , the release amount of DOX from the nanofibers could reach up to approximately 85%, followed by the morphological transition from a nanofibrous mat to a porous hydrogel film.