We provide an operator space version of Maurey's factorization theorem. The main tool is an embedding result of independent interest. Applications for operator spaces and noncommutative Lp spaces are included.