Most modern water heaters will last anywhere from ten to twenty years. You can help prolong this by draining the boiler every year or so, just before the winter.
With Gas (natural, propane, etc) fired - 12 to 15 years Electric water heater - 16 to 20 years The real key to making a water heater last is to drain it once every year. This gets all the sediment...