We extend a Yamabe-type invariant of the Dirac operator to noncompact manifolds and show that as in the compact case this invariant is bounded by the corresponding invariant of the standard sphere. Further, this invariant will lead to an obstruction of the conformal compactification of complete noncompact manifolds.