Firefighters have saved a Wairarapa house - but the resident might not be too grateful.
The clearing smoke unveiled an indoor cannabis set-up of about 20 plants.
Police believe the fire was started by makeshift wiring and heating used to nurture the plants.
Although firefighters were able to contain the fire within minutes, they believe the house was only moments from being engulfed.
Masterton police Sergeant Simon Irving said it was a medium-sized cannabis operation, with a range of 20-30 seedlings and mature plants.