An analytical solution is presented for the general differential equation describing the temperature fields in the fuel and in the clad of a reactor fuel element. Both the two-dimensional fuel plate and cylindrical fuel rod are considered. The method of solution is easily adaptable to any desired set of boundary conditions and to an arbitrary distribution of volumetric heat generation, which can be expanded in an appropriate Fourier series.