A fire broke out at a cotton factory in the Rico Industrial area located in Makhpura, Ajmer on late Monday night, said officials.