It is recommended to replace your smoke detector every 10 years, even if it seems to be working fine.