This paper proves the existence and uniqueness of quadratic mean almost periodic mild so-lutions for a class of stochastic dierential equations in a real separable Hilbert space. Themain technique is based upon an appropriate composition theorem combined with the Banachcontraction mapping principle and an analytic semigroup of linear operators.