We prove a quantitative version of Hilbert's irreducibility theorem for function fields: If f(T1,…,Tn,X) is an irreducible polynomial over the field of rational functions over a finite field Fq of characteristic p, then the proportion of n-tuples (t1,…,tn) of monic polynomials of degree d for which f(t1,…,tn,X) is reducible out of all n-tuples of degree d monic polynomials is O(dq−d/2).