When Rochdale Infirmary prepared to become the first UK 'magnet' hospital, the boost to staff morale was just one of many attractions. James Buchan and colleagues explain the process.