RIO DE JANEIRO — Fire consumed a dormitory early Friday at a Brazilian training center for teenage soccer players run by one of South America’s most prominent teams, killing at least 10 in a disaster that reverberated through the soccer world and beyond.

The fire in the dormitory, which may have been constructed improperly on what was intended to be a parking lot, was the latest in a string of seemingly preventable tragedies that have convulsed Brazil over the past two weeks.

It struck the training center of the Flamengo club in Rio de Janeiro, breaking out in the early morning when many youth players, ages 14 to 17, were asleep. Three others were injured, one seriously, and were taken to a hospital.

Officials would not confirm the identities of the dead. But Globoesporte, a Brazilian sports news website, said all were players. The dorm housed 26 players and 13 escaped unharmed, the website said.

“It’s hard to imagine what Flamengo means for these boys,” said Juca Kfouri, a Brazilian sports columnist and author. “In Brazil, there are only two legal paths to social improvement for them: entertainment and soccer. Otherwise it’s a life of crime.”

Mr. Kfouri said he was not familiar with the dormitory at the Flamengo training ground, but he said that living conditions at soccer clubs in Brazil historically were atrocious — including a case in which boys were housed in one dormitory built underneath the stands and another infested with rats.

“Training at Flamengo is realizing your life’s goal,” Mr. Kfouri said. “But now it’s a dream turned into a nightmare.”

He added that the death toll in the fire was most likely lower than it could have been because training had been suspended after the widespread flooding in Rio, and some boys had gone home.

Zico, one of Brazil’s soccer legends, sent reporters a video lamenting the tragedy. He said he had met some of the boys who died in the fire. “We ended up getting close to them,” he said. “Boys with dreams, goals, a lot of them trying to help their families.”

Rival clubs expressed sympathy on social media. The messages included one from Chapecoense, which suffered its own tragedy just over two years ago when a plane carrying team members to an international competition ran out of fuel and crashed, killing nearly all of the 77 people on board.

One of soccer’s most recent breakout stars, the Real Madrid forward Vinícius Júnior, who was developed in Flamengo’s youth ranks and lived at the academy, took to Twitter to express his horror at the fire. He wrote that he was in shock and called for prayers.