In this work, the temperature effects on the PV’s electrical and optical parameters of different surface gratings are studied. A 3D simulation is introduced for studying the PV’s electrical parameters such as short circuit current, open circuit voltage and efficiency at different levels of temperature with and without surface’s gratings. We observed that the efficiency is increased for PV of surface grating by about 4.87% compared to the free grating surface’s PV. The efficiency of the PV efficiency is degraded as we increased the temperature above 300K. The solar cell efficiency of gratings free is aggressively degraded compared to the solar cell that includes gratings by about 4.89% at 360K. The electrical parameters such as the open circuit voltage and short circuit current are enhanced compared to the PV of surface grating free. Also, we observed that the triangle grating geometry of dimensions about 10×10 nm produced a higher efficiency compared to the other PV of other grating geometries of same dimensions.