The surname and given name Alfred derives from the Old English Aelfred meaning elf counsel, which is a combination of aelf meaning elf and raed meaning counsel. Some believed elves to be supernatural beings with special powers, such as seeing into the future, giving the name the added meaning of wise counsel.
Sources: