Department of Natural Resources officers shot and killed a black bear in Dieppe on Friday.
The young animal was spotted near a school, officials said.
The bear had been wandering around the city for more than a week.
DNR had set a couple of live traps without success.
Several area residents had seen the bear in recent days.
The overall black bear population in New Brunswick has jumped in the past decade to about 17,000, up from 13,000, officials have said.