We prove global W1,q(Ω,RN)-regularity for minimisers of F(u)=∫ΩF(x,Du)dx satisfying u≥ψ for a given Sobolev obstacle ψ. W1,q(Ω,Rm) regularity is also proven for minimisers of the associated relaxed functional. Our main assumptions on F(x,z) are a uniform α-Hölder continuity assumption in x and natural (p,q)-growth conditions in z with q<n(n+α)p. In the autonomous case F≡F(z) we can improve the gap to q<n−1np, a result new even in the unconstrained case.