MUMBAI, India — More than 100 people died Saturday and Sunday in a fire at a garment factory outside Dhaka, Bangladesh, in one of the worst industrial tragedies in that country.

It took firefighters all night to put out the blaze at the factory, Tazreen Fashions, after it started about 7 p.m. on Saturday, a retired fire official said by telephone from Dhaka, the capital. At least 111 people were killed, and scores of workers were taken to hospitals for treatment of burns and smoke inhalation.

“The main difficulty was to put out the fire; the sufficient approach road was not there,” said the retired official, Salim Nawaj Bhuiyan, who now runs a fire safety company in Dhaka. “The fire service had to take great trouble to approach the factory.”

Bangladesh’s garment industry, the second-largest exporter of clothing after China, has a notoriously poor fire safety record. Since 2006, more than 500 Bangladeshi workers have died in factory fires, according to Clean Clothes Campaign, an anti-sweatshop advocacy group in Amsterdam. Experts say many of the fires could have easily been avoided if the factories had taken the right precautions. Many factories are in cramped neighborhoods and have too few fire escapes, and they widely flout safety measures. The industry employs more than three million workers in Bangladesh, most of them women.