The first and the second Zagreb eccentricity index of a graph G are defined as, respectively, where ε G (v) is the eccentricity of a vertex v. In this paper the invariants E 1 , E 2 , and the Wiener index are compared on graphs with diameter 2, on trees, on a newly introduced class of universally diametrical graphs, and on Cartesian product graphs. In particular, if the diameter of a tree T is not too big, then W (T ) ≥ E 2 (T ) holds, and if the diameter of T is large, then W (T ) < E 1 (T ) holds.