A modified method with sol-gel nickel oxide (NiO) nano fibers was used for current research synthesized. FE‐ SEM, AFM,and UV visible spectroscopy were used to investigate the morphology and optic properties of the synthesized nano. The synthesized nickel oxide structure has been demonstrated with X-ray diffraction (XRD),average crystalline size was 10.08 nm while particle size ~23 nm with fiber structure from FE‐ SEM and 16.87 nm from AFM. Nanofiber was used to produce a new solar cell (ITO/ NiO/ Rhodamina 6 G/iodide/Al nanofilm/ITO) with a photo-sensitization of approximately 0.973%.