From a handlebody-theoretic perspective, the simplest compact, contractible 4-manifolds, other than the 4-ball, are Mazur manifolds. We produce the first pairs of Mazur manifolds that are homeomorphic but not diffeomorphic. Our diffeomorphism obstruction comes from our proof that the knot Floer homology concordance invariant ν is an invariant of the smooth 4-manifold associated to a knot K ⊂ S 3 by attaching an n-framed 2-handle to B 4 along K . We also show (modulo forthcoming work of Ozsváth and Szabó) that the concordance invariants τ and are not invariants of such 4-manifolds. As a corollary to the existence of exotic Mazur manifolds, we produce integer homology 3-spheres admitting two distinct S 1 × S 2 surgeries, resolving a question from Problem 1.16 in Kirby's list [28].