A solar system is typically thought to have a lifespan of around 10 billion years. This is the time it takes for a star to use up its hydrogen fuel and begin to expand and cool, eventually becoming a red giant. Once a star becomes a red giant, it can no longer support any life on its planets, and so the solar system effectively comes to an end. However, this is just an average - some solar systems may only last for a few billion years while others could potentially last much longer. It all depends on the individual stars involved and their specific characteristics.