Using the electrospinning technique, we have prepared [Ru (pic) 2 (dmso) 2] doped-polyethylene oxide nanofibers for ultraviolet sensing. The diameter of the as-prepared fibers is in the range of 1μm-100nm. These fibers change color from pale yellow to orange when exposed to ultraviolet light (wavelength∼350nm) and return to their original color after approximately 2-3 days. The intensity of the color increases with an increased time of exposure to UV. The color changing behavior in the nanofibrous mat is almost the same as that in cast films prepared from the same solutions. The scanning electron microscope (SEM) studies of the fibers show that the morphology of the fibers remains unchanged after exposure to UV.