The house in the northwestern city of Ardebil was flattened by the force of the blast, the city's prosecutor general, Naser Atabati, told the judiciary's Mizan Online news website.
He added that seven were killed in the blast, one was severely injured and three others got wounded.
The dead included five teenagers and a middle-aged couple.
Fireworks and bonfires traditionally mark the last Wednesday of the Persian year, a fire festival known as Chaharshanbeh-Soori.
This year Persian New Year, or Nowruz, falls on March 21.
Every year, authorities launch public awareness campaigns about the dangers of fireworks. During last year's festival, three people were killed and more than 2,500 injured.
This year's publicity campaign has called for "respect" for 16 firefighters who died battling a blaze in a Tehran highrise in January.
(This story has not been edited by NDTV staff and is auto-generated from a syndicated feed.)
Get the latest election news, live updates and election schedule for Lok Sabha Elections 2019 on ndtv.com/elections. Like us on Facebook or follow us on Twitter and Instagram for updates from each of the 543 parliamentary seats for the 2019 Indian general elections.