hair on end

(informal) the hair on one's head rising stiffly upwards as a sign or result of great fright or horror.