A cow can live up to 20 years. However, its lifespan can be shortened depending on a farmer's production needs.