For the first time, a new and facile Ag@PM-b-B nanocomposite electrochemical sensor was successfully developed for the detection of glucose. Also, the magnetically recoverable catalyst was easily recycled at least ten times without significant loss of catalytic activity.