The incident happened in Christie Avenue in Leven.
Three fire appliances raced to the scene around 11:30pm.
The fire was on the ground floor of the house.
A Scottish Fire and Rescue Service spokesperson said: ““Firefighters extinguished a fire on the ground floor and outside wall of a two-storey house.
“Six casualties were taken to hospital.”
Firefighters remained at the scene until early morning..