Let G be a connected graph. The edge revised Szeged index of G is defined as Sze∗(G)=e=uv∈E(G)∑(mu(e∣G)+2m0(e∣G))(mv(e∣G)+2m0(e∣G)), where mu(e∣G) (resp., mv(e∣G)) is the number of edges whose distance to vertex u (resp., v) is smaller than the distance to vertex v (resp., u), and m0(e∣G) is the number of edges equidistant from both ends of e. In this paper, we give the minimal and the second minimal edge revised Szeged index of cacti with order n and k cycles, and all the graphs that achieve the minimal and second minimal edge revised Szeged index are identified.