The fire started in a mixed commercial and residential building in Stony Stratford, Milton Keynes, on Sunday afternoon.
Nine fire engines were sent to tackle the blaze, including crews from Northamptonshire and Bedfordshire.
The cause of the fire is now under investigation. Part of the High Street affected by the collapse remains closed.
A three-storey building in a town's high street has collapsed in a fire.