Four fire engines and around 25 firefighters were called to a fire at a house, used as a suspected cannabis factory, on Brampton Road in Kingsbury.
Part of the ground and first floors of a terraced house were damaged by fire and part of the loft was also damaged by the blaze. There were no reports of any injuries.
A London Fire Brigade spokesperson said: "Cannabis factory fires can be dangerous because of the way criminals use unsafe wiring to illegally obtain electricity in order to grow the plants.
"They're often in top floors or lofts which means when a fire takes hold it spreads, destroying roofs and damaging neighbouring buildings.
"Firefighters can also be exposed to risks when dealing with the fires because of bad wiring and booby traps at some of the properties.
"It's important that people know the key signs and inform the police so that they can act swiftly to prevent these dangerous fires from happening."
The Brigade was called at 1801 and the fire was under control by 1911. Fire crews from Stanmore and Hendon fire stations attended the scene.
The cause of the fire is under investigation by the Brigade and the Metropolitan Police Service.