We prove that there are no restrictions on the spatial topology of asymptotically flat solutions of the vacuum Einstein equations in (n + 1)-dimensions. We do this by gluing a solution of the vacuum constraint equations on an arbitrary compact manifold Σ n to an asymptotically Euclidean solution of the constraints on R n . For any Σ n which does not admit a metric of positive scalar curvature, this provides for the existence of asymptotically flat vacuum spacetimes with no maximal slices. Our main theorem is a special case of a more general gluing construction for nondegenerate solutions of the vacuum constraint equations which have some restrictions on the mean curvature, but for which the mean curvature is not necessarily constant. This generalizes the construction [16], which is restricted to constant mean curvature data.