Protection from fire is vital. A system for protecting people from leaking gas and fire is crucial for residences and industries. Most existing fire protection systems work by signalling with words or an alarm, which does not attract the attention of people who are away from the incident site. Hence, a smart fire warning system is needed that is able to overcome this limitation. In this paper, a smart fire warning system is presented that sends an alert message containing the location coordinates of the fire to the nearest fire station and the owner. A detailed study on existing fire security systems was conducted, and a system was designed and implemented considering their limitations. A prototype of the system has been implemented and tested under different conditions. The results show that the proposed smart fire warning system accurately detects the onset of fire and responds quickly and reliably. The reliability index of the system is found to be 93%, which is considered acceptable for normal domestic applications.