In Norse mythology, Svartálfar (Old Norse "swart elves" or "black elves", singular svartálfr) are beings who dwell in Svartálfaheimr (Old Norse "world of the swart elves" or "world of the black elves"). Both the svartálfar and Svartálfaheimr are solely attested in the Prose Edda, written in the 13th century by Snorri Sturluson. Scholars have noted that the svartálfar appear to be synonymous with dwarfs and potentially also the dökkálfar (Old Norse "dark elves").
The Svartálfar and Svartálfaheimr are solely attested in the Prose Edda, in which they are mentioned in two books; Gylfaginning (Svartálfaheimr) and Skáldskaparmál (svartálfar). In chapter 33 of Gylfaginning, the enthroned figure of High tells of the binding of the wolf Fenrir. High relates that when Fenrir had grown so large that the gods began to grow concerned, the god Odin sent the god Freyr's messenger Skírnir down to Svartálfaheimr to "some dwarfs" who made the silky yet immensely strong fetter Gleipnir from six fantastical ingredients. Whereas the other fetters failed, Gleipnir succeeds in binding the wolf. In chapter 35 of Skáldskaparmál, it is detailed that the half-god Loki once cut the lustrous golden hair of the goddess Sif, wife of the god Thor. Upon hearing of the shearing of his wife's locks, Thor, taking hold of Loki, intends to break every bone in Loki's body until Loki swears to get svartálfar to make "a head of hair out of gold that would grow like any other hair". Loki then goes to a group of dwarfs, the Sons of Ivaldi, who not only smith Sif's hair but also various other important objects owned by the gods, and the tale continues.