Fire safety is the set of practices intended to reduce the destruction caused by fire. Fire safety measures include those that are intended to prevent ignition of an uncontrolled fire, and those that are used to limit the development and effects of a fire after it starts.
Fire safety measures include those that are planned during the construction of a building or implemented in structures that are already standing, and those that are taught to occupants of the building.
Threats to fire safety are commonly referred to as fire hazards . A fire hazard may include a situation that increases the likelihood of a fire or may impede escape in the event a fire occurs.
Fire safety is often a component of building safety. Those who inspect buildings for violations of the Fire Code and go into schools to educate children on Fire Safety topics are fire department members known as Fire Prevention Officers . The Chief Fire Prevention Officer or Chief of Fire Prevention will normally train newcomers to the Fire Prevention Division and may also conduct inspections or make presentations.
Elements of a fire safety policy
- Building a facility in accordance with the version of the local building code
- Maintaining a facility and conducting oneself in accordance with the provisions of the fire code. This is based on the occupants and operators of the building being aware of the applicable regulations and advice.
Examples of these include:
- Not exceeding the maximum occupancy within any part of the building.
- Maintaining proper fire exits and proper exit signage (e.g., exit signs pointing to them that can function in a power failure)
- Compliance with electrical codes to prevent overheating and ignition from electrical faults or problems such as poor wire insulation or overloading wiring, conductors, or other fixtures with more electric current than they are rated for.
- Placing and maintaining the correct type of fire extinguishers in easily accessible places.
- Properly storing and using, hazardous materials that may be needed inside the building for storage or operational requirements (such as solvents in spray booths).
- Prohibiting flammable materials in certain areas of the facility.
- Periodically inspecting buildings for violations, issuing Orders To Comply and, potentially, prosecuting or closing buildings that are not in compliance, until the deficiencies are corrected or condemning it in extreme cases.
- Maintaining fire alarm systems for detection and warning of fire.
- Obtaining and maintaining a complete inventory of firestops.
- Ensuring that spray fireproofing remains undamaged.
- Maintaining a high level of training and awareness of occupants and users of the building to avoid obvious mistakes, such as the propping open of fire doors.
- Conducting fire drills at regular intervals throughout the year.
Common fire hazards
Some common fire hazards are: 
- Kitchen fires from unattended cooking, such as frying, broiling, and simmering
An overloaded outlet
- Electrical systems that are overloaded, resulting in hot wiring or connections, or failed components
- Combustible storage areas with insufficient protection
- Combustibles near equipment that generates heat, flame, or sparks
- Candles and other open flames
- Smoking (Cigarettes, cigars, pipes, lighters, etc.)
- Equipment that generates heat and utilizes combustible materials
- Flammable liquids and aerosols
- Flammable solvents (and rags soaked with solvent) placed in enclosed trash cans
- Fireplace chimneys not properly or regularly cleaned
- Cooking appliances - stoves, ovens
- Heating appliances - fireplaces, wood burning stoves, furnaces, boilers, portable heaters
- Household appliances - clothes dryers, curling irons, hair dryers, refrigerators, freezers
- Chimneys that concentrate creosote
- Electrical wiring in poor condition
- Leaking Batteries
- Personal ignition sources - matches, lighters
- Electronic and electrical equipment
- Exterior cooking equipment - barbecue
- Never leave a burning candle unattended.
An Oil lamp
- Never burn a candle on or near anything that might catch fire.
- Keep candles out of the reach of children and pets.
- Trim the wick to ¼ inch each time before burning. Long or crooked wicks can cause uneven burning, dripping or flaring.
- Always use a candleholder specifically designed for candle use. It should be heat resistant, sturdy, and large enough to contain any drips or melted wax.
- Burn candles in a well-ventilated room.
- Place the candleholder on a stable, heat-resistant surface. This will also help prevent possible heat damage to counters and table surfaces and prevent glass containers from cracking or breaking.
- Keep the wax pool clear of wick trimmings, matches and debris at all times.
Avoid drafts, vents or air currents. This will help prevent rapid or uneven burning, sooting, and excessive dripping.
- Never touch or move a burning candle. Never move a votive or container candle when the wax is liquefied.
- Don’t burn a candle all the way down. For a margin of safety, discontinue burning a candle when 2 inches of wax remains (1/2 inch if in a container).
- Place burning candles at least three inches apart from one another. This is to make sure they don’t melt one another, or create their own drafts that will cause the candles to burn improperly.
- Extinguish a candle if the flame becomes too high or flickers repeatedly. Let the candle cool, trim the wick, and check for unwanted drafts before re-lighting.
- Always keep the candle within your sight. If you are going to leave the room, be sure to first blow out all candles.
- Always burn candles in a well-ventilated room. Don’t burn too many candles in a small room or in a “tight” home where air exchange is limited.
- Never use a candle as a night light.
- Be very careful if using candles during a power outage. Flashlights and other battery-powered lights are safer sources of light during a power failure. Never use a candle during a power outage to look for things in a closet, or when fueling equipment – such as a lantern or kerosene heater.
- Never burn a candle on or near anything that can catch fire. Keep burning candles away from furniture, drapes, bedding, carpets, books, paper, flammable decorations, etc.
- Keep candles out of the reach of children and pets. Do not place lighted candles where they can be knocked over by children, pets or anyone else.
- Never use water to extinguish a candle. Water can cause the hot wax to splatter and might break a glass container.
- Make sure the candle is completely out and the wick ember is no longer glowing before leaving the room.
- Don’t touch or move the candle until it has completely cooled.
- Never use a knife or sharp object to remove wax drippings from a glass holder. It might scratch, weaken, or cause the glass to break upon subsequent use.
In the United States, the fire code (also fire prevention code or fire safety code ) is a
model code adopted by the state or local jurisdiction and enforced by fire prevention officers within municipal fire departments. It is a set of rules prescribing minimum requirements to prevent fire and explosion hazards arising from storage, handling, or use of dangerous materials, or from other specific hazardous conditions. It complements the building code. The fire code is aimed primarily at preventing fires, ensuring that necessary training and equipment will be on hand, and that the original design basis of the building, including the basic plan set out by the architect, is not compromised. The fire code also addresses inspection and maintenance requirements of various fire protection equipment in order to maintain optimal active fire protection and passive fire protection measures.
A typical fire safety code includes administrative sections about the rule-making and enforcement process, and substantive sections dealing with fire suppression equipment, particular hazards such as containers and transportation for combustible materials, and specific rules for hazardous occupancies, industrial processes, and exhibitions.
Sections may establish the requirements for obtaining permits and specific precautions required to remain in compliance with a permit. For example, a fireworks exhibition may require an application to be filed by a licensed pyrotechnician, providing the information necessary for the issuing authority to determine whether safety requirements can be met. Once a permit is issued, the same authority (or another delegated authority) may inspect the site and monitor safety during the exhibition, with the power to halt operations, when unapproved practices are seen or when unforeseen hazards arise.
List of some typical fire and explosion issues in a fire code
- Fireworks, explosives, mortars and cannons, model rockets (licenses for manufacture, storage, transportation, sale, use)
- Certification for servicing, placement, and inspecting fire extinguishing equipment
- General storage and handling of flammable liquids, solids, gases (tanks, personnel training, markings, equipment)
- Limitations on locations and quantities of flammables (e.g., 10 liters of gasoline inside a residential dwelling)
- Specific uses and specific flammables (e.g., dry cleaning, gasoline distribution, explosive dusts, pesticides, space heaters, plastics manufacturing)
- Permits and limitations in various building occupancies (assembly hall, hospital, school, theater, elderly care, child care, prs that require a smoke detector, sprinkler system, fire extinguisher, or other specific equipment or procedures
- Removal of interior and exterior obstructions to emergency exits or firefighters and removal of hazardous materials
- Permits and limitations in special outdoor applications (tents, asphalt kettles, bonfires, etc.)
- Other hazards (flammable decorations, welding, smoking, bulk matches, tire yards)
- Electrical safety codes such as the National Electrical Code (by the National Fire Protection Association) for the U.S. and some other places in the Americas
- Fuel gas code
Public fire safety education
Most U.S. fire departments have fire safety education programs.
Fire prevention programs may include distribution of smoke detectors, visiting schools to review key topics with the students and implementing nationally recognized programs such as NFPA S "Risk Watch" and "Learn not to burn". 
Other programs or props can be purchased by fire departments or community organizations. These are usually entertaining and designed to capture children's attention and relay important messages. Props include those that are mostly auditory, such as puppets and robots. The prop is visually stimulating but the safety message is only transmitted orally. Other props are more elaborate, access more senses and increase the learning factor. They mix audio messages and visual cues with hands-on interaction. Examples of these include mobile trailer safety houses and tabletop hazard house simulators. Some fire prevention software is also being developed to identify hazards in a home. 
All programs tend to mix messages of general injury prevention, safety, fire prevention, and escape in case of fire. In most cases the fire department representative is regarded as the expert and is expected to present information in a manner that is appropriate for each age group.
Fire educator qualifications
The US industry standard that outlines the recommended qualifications for fire safety educators is NFPA 1035: Standard for Professional Qualifications for Public Fire and Life Safety Educator, which includes the requirements for Fire and Life Safety Educator Levels I, II, and III; Public Information Officer; and Juvenile Firesetter Intervention Specialist Levels I and II.
According to the United States Fire Administration, the very young and the elderly are considered to be "at risk" populations. These groups represent approximately 33% of the population.
Fire safety plan
A fire safety plan is required by all North American national, state and provincial fire codes based on building use or occupancy types. Generally, the owner of the building is responsible for the preparation of a fire safety plan. Buildings with elaborate emergency systems may require the assistance of a fire protection consultant. After the plan has been prepared, it must be submitted to the Chief Fire Official or authority having jurisdiction for approval. Once approved, the owner is responsible for implementing the fire safety plan and training all staff in their duties. It is also the owner’s responsibility to ensure that all visitors and staff are informed of what to do in case of fire. During a fire emergency, a copy of the approved fire safety plan must be available for the responding fire department's use. 
Fire safety plan structure
- Key contact information
- Utility services (Including shut-off valves for water, gas and electric)
- Access issues
- Dangerous stored materials
- Location of people with special needs
- Connections to sprinkler system
- Layout, drawing, and site plan of building
- Maintenance schedules for life safety systems
- Personnel training and fire drill procedure
- Create safe haven (zone)
Use of fire safety plans
Fire safety plans are a useful tool for fire fighters to have because they allow them to know critical information about a building that they may have to go into. Using this, fire fighters can locate and avoid potential dangers such as hazardous material (hazmat) storage areas and flammable chemicals.
In addition to this, fire safety plans can also provide specialized information that, in the case of a hospital fire, can provide information about the location of things like the nuclear medicine ward. In addition to this, fire safety plans also greatly improve the safety of fire fighters. According to FEMA, 16 percent of all fire fighter deaths in 2002 occurred due to a structural collapse or because the fire fighter got lost. Fire safety plans can outline any possible structural hazards, as well as give the fire fighter knowledge of where he is in the building.
Fire safety plans in the fire code
In North America alone, there are around 8 million buildings that legally require a fire safety plan, be it due to provincial or state law. Not having a fire safety plan for buildings which fit the fire code occupancy type can result in a fine, and they are required for all buildings, such as commercial, industrial, assembly, etc.
Advances in fire safety planning
As previously stated, a copy of the approved fire safety plan shall be available for the responding fire department. This, however, is not always the case. Up until now, all fire plans were stored in paper form in the fire department. The problem with this is that sorting and storing these plans is a challenge, and it is difficult for people to update their fire plans. As a result, only half of the required buildings have fire plans, and of those, only around 10 percent are up-to-date. This problem has been solved through the introduction of digital fire plans. These fire plans are stored in a database and can be accessed wirelessly on site by firefighters and are much simpler for building owners to update.