We prove that for every Shimura variety S, there is an integral model S such that all CM points of S have good reduction with respect to S. In other words, every CM point is contained in S(Z). This follows from a stronger local result wherein we characterize the points of S with potentially-good reduction (with respect to some auxiliary prime ℓ) as being those that extend to integral points of S.