6 years in the UK.
Before 6 months it is assumed that if a defect develops, it was there when it was delivered.
After 6 months the onus is on the person who brought it to show that the defect was there when it was delivered.
Importantly - there is no expectation in law that the item has to last 6 years.