A hotheaded Brazilian tried to rid his garden of invading cockroaches — and inadvertently blew up his yard, according to a report.

Cesar Schmitz, 48, attempted to obliterate the cockroaches Friday by pouring gasoline on his lawn and striking a match, which set off a massive explosion on the property in the southern city of Enéas Marques, according to footage obtained by FocusOn News.

“My wife complained that there was a lot of roaches invading our garden,” he told the outlet. “She is scared of them and begged me to destroy their nest under the ground once and for all.”

Home security footage showed Schmitz setting a match, which he throws in a hole in the lawn crawling with the pests.

Within moments, the yard explodes, sending debris flying and his two panicked dogs running.

No one was harmed, but the homeowner said he’ll need to replant his garden.

“I had no idea that this could happen,” Schmitz said. “Luckily the damage was only contained on the lawn. If I had been standing closer or the table had hit me, it could have been fatal.”