Water heaters should be inspected annually to ensure they are functioning efficiently and to identify any signs of wear or sediment buildup. Depending on the type and age of the water heater, it may need to be replaced every 8-12 years to avoid potential breakdowns and ensure a reliable hot water supply.