We prove asymptotic formulae for small weighted solutions of quadratic congruences of the form I^»1x12+⋯+I^»nxn2≡I^»n+1modpm, where p is a fixed odd prime, I^»1,...,I^»n+1 are integer coefficients such that (I^»1⋯I^»n,p)=1 and m→∞. If n≥6, p≥5 and the coefficients are fixed and satisfy I^»1,...,I^»n>0 and (I^»n+1,p)=1 (inhomogeneous case), we obtain an asymptotic formula which is valid for integral solutions (x1,...,xn) in cubes of side length at least p(1/2+ε)m, centered at the origin. If n≥4 and I^»n+1=0 (homogeneous case), we prove a result of the same strength for coefficients I^»i which are allowed to vary with m. These results extend previous results of the first- and the third-named authors and N. Bag.