As fire was billowing through residential neighborhoods in the Hawaii town of Lahaina last month, emergency managers for Maui County sent out an evacuation alert that would blare on the cellphones of anyone near the blaze.

“Evacuate your family and pets now, do not delay,” the warning said.

But many people most in need of the alert said the message never reached their phones, leaving them scrambling for safety as the fire began roaring toward their homes. More than 100 people died in the inferno, and some survivors wondered why they had not been notified earlier that the situation was out of control.

“I probably could have saved my animals,” Barrie Matthews, 70, said as she tearfully recalled her family’s desperate effort to escape. “We just had to go. We had to leave five of my cats. I can barely live with myself.”

As more households disconnect landline telephones and fewer families have access to broadcast television and radio, emergency managers have increasingly focused on wireless emergency notifications to instantly reach large numbers of people. But that modern system has its own limitations, relying on the resilience of cell networks and the proficiency of emergency crews across a patchwork of local agencies.

Two weeks after the Aug. 8 Lahaina fire, as Hurricane Hilary was threatening California, the San Bernardino County Sheriff’s Department found that it could not send a wireless evacuation alert to the community of Seven Oaks, where several people were ultimately left stranded and one remains missing. The county cited a breakdown in its connection to the wireless alert system, which is managed by the federal government.

Jim Keeney, who lives in Seven Oaks and is one of the six people who opted to stay behind, said the missing woman, Christie Rockwood, would have “absolutely” evacuated if there had been an order from the sheriff.

“Somebody dropped the ball,” Mr. Keeney said. “We would have left.”

The patchwork nature of the system was made evident again last week, as Hurricane Idalia was barreling toward the Florida coast. As 30 counties announced various evacuation orders, some local agencies pushed them out via wireless alerts on the federal network, but many did not.

Launched in 2012, the Wireless Emergency Alerts system was designed to allow federal, state and local authorities to send messages about severe weather, unfolding disasters and abducted children on a single, uniform system. It has been used tens of thousands of times and will be part of a nationwide test of emergency warning systems set to take place on Oct. 4.

Unlike television, radio, road signs or social media, emergency managers can use wireless alerts to target specific neighborhoods with an alarm that can wake someone from sleep or jar them to attention.

Jeannette Sutton, a professor at the University of Albany who specializes in disaster warning alerts, said the system can be messy. There is little guidance for agencies on how to formulate the alerts, so they can sometimes go out with missing information or confusing instructions. They are often left to be sent by emergency personnel who are busy trying to fight fires or control floods.

When the system is operated correctly, Ms. Sutton said, it acts like a siren in thousands of pockets, giving the authorities the ability to warn the right people at the right time. An upgrade several years ago expanded how much text can be included in each alert, allowing for more detailed guidance on how people can keep themselves safe.

“It is vital,” she said. “It is absolutely necessary. It does save lives.”

When officials in San Bernardino County encountered troubles with the federal wireless alert system, they instead sent a notification through a private software provider that sent an automated message to everyone in the area with a landline, plus a limited number of cellphone users who had signed up to receive such alerts. Those opt-in systems are common around the country, but often only a fraction of residences join, making the federal system that can reach all cellphone users a more effective option.

A spokeswoman for the San Bernardino County Sheriff’s Department said the county was investigating why officials could not send a federal evacuation alert during the storm.

In Florida last week, hard-hit areas such as Citrus County sent wireless alerts as Hurricane Idalia approached, warning of the danger of a life-threatening storm surge and urging evacuations. “Move away from the water. Hide from the wind,” one alert from Citrus County said.

But other counties that had evacuation orders in place did not notify people through the federal wireless message program.

Hawaii has had troubles with its alert system before. In 2018, the state infamously sent out a false warning of an incoming ballistic missile, resulting in a federal recommendation that emergency management agencies conduct regular internal drills to maintain proficiency on the tools.

On Maui, the first signs of the afternoon fire came at around 3 p.m., when video showed smoke blowing down a hillside.

As the blaze began moving into the neighborhood below, some residents began evacuating on their own. Others said they struggled to see what was happening or where to go, with some saying they assumed the smoke in the distance was a fire that would soon be under control. Soon, though, the fire gained momentum and was igniting houses in its path.

The Maui Emergency Management Agency sent a wireless evacuation alert for portions of Lahaina at 4:16 p.m. Credit…Lani Pohaikealoha

Records show that it was only at 4:16 p.m., after the fire had begun moving through town, that the county sent an emergency cellphone alert. It was sent to a portion of the town’s residential area east of the commercial district. But it did not cover the Front Street area along the waterfront, nor the other neighborhoods to the north and south, that were soon overrun with fire.

At her home on the south side of town, Ms. Matthews said she saw the smoke to the north of her and began checking media sources for updates. She got in her car and flipped through all the AM stations, then the FM ones, but they were all on regular programming. She went back in the house and flipped through television stations but saw no sign of trouble. No alerts popped up on her cellphone.

The county has said it did not activate its audible warning sirens, fearing that people would think a tsunami was coming.

“I thought somebody would let us know what was going on,” Ms. Matthews said. “There was nothing.”

Suddenly, she said, the fire was just a couple of blocks away. She said she and her husband scrambled to collect their many animals and her ailing father. But they did not have time to gather all of their cats.

Many residents said they never got an alert. Others said they did.

Emergency management officials in Hawaii did not respond to requests for comment about how the Maui wireless alerts were handled.

A range of technological factors can determine whether an alert gets through, including whether a cellphone is in the zone targeted, whether it was turned on and whether it had cell coverage.

The age of a phone can also influence how it receives an alert, as newer devices are calibrated to receive alerts targeted to more specific geographic areas. On Maui, one resident with an older phone received the Lahaina alert even though she lived on the other side of the island and never came near the fire.

Some residents with newer phones were near the evacuation zone but did not receive any alert, perhaps because they were just outside the targeted area. One such family said they had several newer-model cellphones with them as they were driving down Front Street before the fire reached there, but none of them received emergency notifications; a much older phone used by one of their children did get an alert.

Some who received the alert said it may have saved their lives. Breanna and Glenn Gill were taking a nap at the Lahaina Shores Beach Resort when the emergency alert came at 4:17 p.m., blaring on their phones, waking them up.

Mr. Gill opened the shade of their hotel room and saw the hillside ablaze above them. They were able to evacuate.

Residents reported that cellphone coverage was spotty that day, as the town dealt with power outages and high winds. Cellphone service in the area of Maui where the fire occurred is largely dependent on overhead fiber lines, and as fire spread, those lines were damaged.

An AT&T spokesman, Jim Greer, said the fiber infrastructure that serves all wireless carriers in the area was burned. While lines are buried in many parts of the country, Mr. Greer said that the volcanic rock on Maui makes that a challenge.

Ms. Sutton, the professor who specializes in emergency alerts, said it was important to build more redundancies into the emergency alert system, look at burying cables to make it more resilient and remember that the wireless system cannot be relied on alone to warn people that danger is imminent.

“It’s one layer in the many potential strategies,” she said.

Nicholas Bogel-Burroughs contributed to this report.