We show that for any polynomial f from the integers to the integers, with positive leading coefficient and irreducible over the rationals, if x is large enough then there is a string of (logx)(loglogx)1/835 consecutive integers n∈[1,x] for which f(n) is composite. This improves a result of the first author, Konyagin, Maynard, Pomerance and Tao, which states that there are such strings of length (logx)(loglogx)cf, where cf depends on f and cf is exponentially small in the degree of f for some polynomials.