Dad’s short answer: Expect real degradation somewhere around the three to five year mark. The battery is what ends most cordless vacuums, not the motor — so before you buy, check that a replacement battery for that exact model is actually available.
How batteries actually fail
Not suddenly. Runtime shortens gradually, then the machine starts cutting out under load on boost because the pack can't deliver peak current anymore. People read that as the motor dying. It's almost always the battery.
Heat and charge habits matter. Leaving a machine on a charger permanently in a hot garage ages the pack faster than storing it indoors. Modern chargers manage this reasonably well, but the garage is still the worst place for it.
The check to run before you buy
Search for a replacement battery for that specific model number and confirm you can buy one today. Same advice I give on robot vacuums and floor washers, and it matters just as much here.
Some brands keep packs stocked for years. Others quietly stop, and then a perfectly good machine with a worn battery becomes scrap. I've watched that happen to people who bought a well-reviewed vacuum from a brand that later exited the category.
Removable beats sealed every time. A removable pack means you can replace it, and it means you can carry a spare and double your runtime. A sealed battery means the vacuum's life is the battery's life.
Third-party packs exist for popular models and are often fine, but buy from a reputable seller — this is one area where the very cheapest option isn't worth it.
Dad’s Take: Look up the replacement battery before you buy the vacuum. Two minutes now decides whether you get three years or eight.