The Fejér and Riesz theorem on the factorization of nonnegative trigonometric polynomials is extended to the nonnegative operator valued trigonometric polynomials on a Banach space. The work is based on the analysis of quasi square roots of nonnegative operator valued functions on a Banach space.