An illegal fireworks warehouse in the Philippines exploded Thursday morning, sending powerful shockwaves that shook buildings in the surrounding area. 

The stockroom exploded at around 2:10 a.m., with some residents reporting that they saw electrical wiring outside the building spark against the concrete before the explosion occurred occurred, the Philippine Daily Inquirer reported. 

Firefights reported that 16 houses were destroyed, seven "partially damaged" and 22 "slightly damaged" by the explosion. Bocaue Bureau of Fire Protection said at least 18 residents near the warehouse suffered minor injuries. 

Officials said three of the individuals went to hospital for treatment due to hypertension, while others received medical aid from the Bocaue Rescue and Medical Team. 

PHILIPPINES STRUCK BY DEEP 6.2 MAGNITUDE EARTHQUAKE

illegal warehouse explosion

Fireworks warehouse explosion injures 18 and shakes nearby homes in the Philippines Thursday morning, June 15, 2023. (Viral Press)

"The warehouse was located near homes, which is not allowed," Senior Inspector Earl Carlo Mariano told reporters. "We do not allow fireworks factories to be built near residential areas."

The blast destroyed any fireworks in the building as well as chemicals stored in the location. Firefighters extinguished the fire at around 5 a.m., according to Viral Press. 

AMERICAN WOMAN ACCUSED OF KILLING MOTHER ON BALI VACATION, HIDING BODY IN SUITCASE PLEADS GUILTY

still shot from security camera footage

The explosion of the illegal fireworks warehouse shook dozens of buildings in the surrounding area, destroying glass and other parts of the buildings. (Viral Press)

"If we had known it was a fireworks storehouse, we would have closed it down since it is sitting in a residential area," Bunducan district council chief Captain Lauro Tuazon Jr. stressed. "Probably, the owners hid it so they could earn a living. They thought it would be good for them, but this is what happened."

The bureau will open an investigation into the cause of the explosion as well as the owners of the building in which the fireworks were stored. They told reporters that the owner went by the name Nenita Oprecio but did not say whether they knew where the owner might be. 

One resident from the area said that her security camera caught some of the incident and that she thought it was "just lightning" at first. 

CLICK HERE TO GET THE FOX NEWS APP 

"I didn’t bother checking," Macy Baylon told Viral Press. "When I heard my neighbors gathering outside and my brother calling me, I went downstairs and found the living room a mess."

This marks the second illegal fireworks warehouse explosion in the Philippines in less than a year: An explosion in the Laguna province in November killed five people and injured four others. The explosion caused roughly $25,000 worth of damage.