A bushfire got out of control at the real-life setting for Home and Away in Palm Beach, Sydney.

The headland on which the popular soap is set caught fire this morning and a police boat rescued two 14-year-olds that were fishing in the area. The fire is now extinguished and nobody was harmed.

Home and Away cast members took to Instagram and Twitter to share photos of the fire and assure fans that nobody was hurt.

Andrew J Morley who plays Spencer shared a picture of the fire during the day and commented, “We better write this quickly into the Home and Away story line.. Hectic fire in Palm Beach.”

Nic Westaway (Kyle Braxton) also shared the same picture with the caption, “Fire at Summer Bay!!! That's not good! Save the lighthouse! #Fire #Danger #PalmBeach”