Question: how do mudbloods get magic?
Answer: Origin of magical abilities Muggle-borns inherit magic from a distant ancestor; they are descended from Squibs who have married Muggles and whose families had lost the knowledge of their wizarding legacy. The magic resurfaces unexpectedly many generations later.