A fire is a threat that is dangerous for the safety of residents. This final project designing a fire early warning system that is fire alarm system. Technological advancements in the digital era make the smart fire alarm system more developed to maximize the performance of these devices, and minimize false alarms. This thesis implements four machine learning classification methods to be compared, with result of naïve bayes achieves a perfect accuration.