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 special memorial service has been held in Prestatyn to celebrate the lives of five people who were killed in a house fire last month.
Funerals will be held for the five people who died as a result of a flat fire in Prestatyn last month.
Two people arrested following a fire in Prestatyn in which four died have been released from police custody.