A needle magnetizing arrangement (1) comprising a controller (4) adapted to generate a first magnetic field (F) for magnetizing a needle (2), and a magnetic field sensor (5) adapted to generate a signal based on a second magnetic field (F R ) of the needle (2).