Five people were trapped inside the burning structure in northeastern Hebei province. Two others escaped but died later from their injuries.
The factory belonged to Zhengqiao Mining Company, China's official Xinhua News Agency reported.
The cause of the blaze was under investigation.
Aaron Carter is still in love with Hilary Duff
Ray Liotta sues skin care company over use of likeness