: It is known that univariate polynomials over finite local rings factor uniquely into primary pairwise coprime factors. Primary polynomials are not necessarily irreducible. Here we describe a factorization into irreducible factors for primary polynomials over and more generally over Galois rings of characteristic . An algorithm is also given. As an application, we factor and over such rings.