The strong smell coming from Tremaine Turanga Reweti's car led police to the cannabis in the boot.
On April 1, Reweti was stopped by police on Broughton St in Whanganui.
"A strong smell of cannabis was smelt coming from the vehicle," Police prosecutor sergeant Rachel Willemsen told the Whanganui District Court on Tuesday.
Police searched the vehicle and Reweti advised them it was in the boot of the car.
"The cannabis was located... on top of a blue tarpaulin in plain view."