In 1991, Brenier proved a theorem that generalizes the polar decomposition for square matrices — factored as PSD unitary — to any vector field . The theorem, known as the polar factorization theorem, states that any field can be recovered as the composition of the gradient of a convex function with a measure-preserving map , namely . We propose a practical implementation of this far-reaching theoretical result, and explore possible uses within machine learning. The theorem is closely related to optimal transport (OT) theory, and we borrow from recent advances in the field of neural optimal transport to parameterize the potential as an input convex neural network. The map can be either evaluated pointwise using , the convex conjugate of , through the identity , or learned as an auxiliary network. Because is, in general, not injective, we consider the additional task of estimating the ill-posed inverse map that can approximate the pre-image measure using a stochastic generator. We illustrate possible applications of Brenier’s polar factorization to non-convex optimization problems, as well as sampling of densities that are not log-concave.