We prove: A connected magic graph with n vertices and q edges exists if and only if n=2 and q=1 or n≥5 and 5n4<q<n(n−1)2.