We report here facile preparation of stabilized polymeric nanotubes with a hair-like shell using yttrium hydroxide nanotubes as the sacrificial template and block copolymer micelles as the precursor, and orientation of the polymeric nanotubes encapsulating magnetic particles under magnetic field.