When melamine is exposed to heat and flames it decomposes, absorbing heat and
creating a cooling effect. The time to ignition is delayed significantly as
nitrogen, liberated by melamine during its decomposition, dilutes the oxygen
which, in turn, inhibits the spread of flames and the generation of smoke.
When melamine-based flame-retardant (intumescent) coatings are exposed to fire
they degrade. As melamine also acts as a blowing agent a stable, insulating
charred foam layer is formed. As a result the substrate material beneath the
charred foam layer is protected from damaging heat (for example by delaying
the time for a steel construction to collapse), thus extending potential
escape time.