The recommended temperature setting for a water heater is 120 degrees Fahrenheit to prevent scalding and promote energy efficiency.