The influence of the temperature on the gravitational redshift of a proto-neutron star has been investigated within the framework of relativistic mean field theory for the baryon octet {n; p; Λ; Σ(superscript -); Σ^0; Σ(superscript +); Ξ(superscript -); Ξ^0} system. It is found that, with an increase of temperature, the gravitational redshift of a proto-neutron star decreases while the mass M and the radius R increase. The increments of the radius of a proto-neutron star are larger than those of the mass, so M/R will decrease with a temperature increase. It is also found that the gravitational redshift as a function of M(subscript max)=R decreases as the temperature increases.