A North Wales police spokeswoman said: "Firefighters from North Wales Fire and Rescue Service were called to a fire at a property in Maes Y Groes, Prestatyn, at 10pm on Friday.
"Two fire crews from Rhyl and a crew from Prestatyn attended the incident and firefighters wearing breathing apparatus entered the property."
The crews recovered the five people inside, she said.. A joint investigation is being carried out between North Wales Fire and Rescue Service and North Wales Police.
A woman and two children have died following a fire at a home in Prestatyn.
Two other people were taken to hospital after the blaze broke out at a property in Maes Y Groes, Prestatyn, around 10pm on Friday night.
North Wales Police say that a 20-year-old woman, a boy aged four and a girl aged two were pronounced dead by firefighters.A 23-year-old man and a 15-month-old baby were taken to hospital by ambulance.