In this paper, we study the invariance of the geometric mean with respect to some generalized quasi-arithmetic means, namely, we present some results concerning the functional equationwhere I is an open real interval, ϕ, ψ : I → R are continuous strictly monotonic unknown functions and μ, ν are Borel probability measures on the interval [0, 1].