The matching energy of a graph was introduced by Gutman and Wagner, which is defined as the sum of the absolute values of the roots of the matching polynomial of the graph. For the random graph Gn,p of order n with fixed probability p∈(0,1), Gutman and Wagner [I. Gutman, S. Wagner, The matching energy of a graph, Discrete Appl. Math. 160(2012), 2177--2187] proposed a conjecture that the matching energy of Gn,p converges to 3π8pn23 almost surely. In this paper, using analysis method, we prove that the conjecture is true.