Inherited from Old Spanish miraglo, miráclo, a semi-learned borrowing from Latin mīrāculum. Compare Galician milagre and Portuguese milagre.
Practice speaking and memorizing "milagro" and many other words and sentences in Spanish.