Nicole Richie's hair catches fire as she blows out the candles on her 40th birthday cake.

Nicole Richie's 40th birthday celebrations took a scary turn as her hair caught fire while she was blowing out her birthday candles.

Green Leaf Shape
Yellow Leaf

Richie posted the scary video on her Instagram and wrote, "Well… so far 40 is" with a fire emoji.

The post received several comments from her friends including Katy Perry who reacted saying, "WAIT NO WAY WAIT OMG."

The video shared by Richie who celebrates her birthday on September 21, showed her leaning over a cake to blow out the candles during her birthday celebration.

In the video that captures the exact moment, Nicole can be seen leaning forward to extinguish the candles and her hair instantly catches fire.

Green Leaf Shape
Yellow Leaf

The fire from the candles can be seen lighting up her curls and we then hear her screaming in terror.