How long do smoke alarms operate for?

The smoke alarm has a five (5) year warranty and the manufacturer nominates a ten (10) year life span.  However, a build-up of dust, grime or cooking residue may cause the smoke alarm to become contaminated and this will cause nuisance alarms and result in a reduction of the smoke alarms useful life.