Most ocean-going cargo ships have a life expectancy of between 20 and 30 years. A sailboat made of plywood or fibreglass can last between 30 and 40 years. Solid wooden ships can last much longer but require regular maintenance. Carefully maintained steel-hulled yachts can have a lifespan of over 100 years.
As ships age, forces such as corrosion, osmosis, and rotting compromise hull strength, and a vessel becomes too dangerous to sail. At this point, it can be scuttled at sea or scrapped by shipbreakers. Ships can also be used as museum ships, or expended to construct breakwaters or artificial reefs.
Many ships do not make it to the scrapyard, and are lost in fires, collisions, grounding, or sinking at sea.