In this paper we give an effective version of the Bombieri–Vinogradov theorem of Bombieri, Friedlander, and Iwaniec. As applications, we refine Chen’s theorem on primes with difference h for h ≤ x1/56, with a consequence on integers of the form p + 2k.