Let n ≥ 2 be an integer and let F q be the finite field with q elements, where q is a prime power. Given F q -affine hyperplanes A 1 , . . . , A n of F q n in general position, we study the existence and distribution of primitive elements of F q n , avoiding each A i . We obtain both asymptotic and concrete results, relating to past works on digits over finite fields.