This paper considers minimizers of the following inhomogeneous L2‐subcritical energy functional under the mass constraint . Here, N ≥ 1, , M > 0 and the inhomogeneous term m(x) satisfies 0 < m(x) ≤ 1. Applying the concentration‐compactness principle, we prove that this minimization problem admits minimizers for any M ∈ (0, ∞). Further more, we also present a detail analysis on the influence of m(x) on the limit behavior of minimizers as M → ∞.