Assuming that the timescale of the magnetic field decay is approximately equal to that of the stellar cooling via neutrino emission, we obtain a one-to-one relationship between the effective surface thermal temperature and the inner temperature. The ratio of the effective neutrino luminosity to the effective X-ray luminosity decreases with decaying magnetic field.