Polymer nanofibers (NFs)-based optical sensors hold great potential to fabricate low-cost devices capable to monitor different volatile organic compounds (VOCs) related to healthcare and environmental conditions. For instance, ammonia detection is a subject of paramount importance, owing to the serious health problems associated to the exposition to this volatile. In this context, here, we report on the development of optical electrospun NFs composed of polyvinylpyrrolidone (PVP) doped with Europium (Eu 3+ ) aiming at the detection of ammonia. The fabricated NFs were characterized by scanning electron microscopy, transmission electron microscopy, energy-dispersive X-ray spectroscopy, fluorescence microscopy, photoluminescence, and excited state lifetime spectroscopies. The luminescence properties changes were evaluated by exposing the PVP_Eu 3+ NFs to ammonia and other distinct interfering VOCs including toluene, tetrahydrofuran, acetone, triethylamine, acetic acid, and chloroform. The sensor exhibited a linear response to ammonia exposition in the concentration range from 0 to 50 ppm, yielding a detection limit of 4.7 ppm. Our results indicate the potential application of PVP_Eu 3+ electrospun NFs in optical sensors for ammonia detection at room temperature based on luminescence quenching.