The only free and comprehensive online etymological dictionary of the Spanish language
magia f. (Noun) "magic"

17th cent. Borrowed from Latin magia 'id.,' itself borrowed from Ancient Greek μαγεία ‎(mageía) 'id.,' derived from μάγος (mágos) "mage" (see mago).

Romance: Western Vulgar Latin: Portuguese magia, French magie, Italian magia