The subject of this paper is a generalization to stacks of Fujiwara's theorem [10, 5.4.5] (formerly known as Deligne's conjecture) on the traces of a correspondence acting on the compactly supported cohomology of a variety over a finite field.Before discussing the stack-theoretic version, let us begin by reviewing Fujiwara's theorem.Let q be a power of a prime p, and let k = F q be an algebraic closure of F q . For objects over F q we use a subscript 0, and unadorned letters denote the base change to k. For example, X 0 denotes a scheme (or stack) over F q and X denotes the fiber product X 0 × Spec(Fq) Spec(k).Let X 0 be a separated finite type F q -scheme. A correspondence on X 0 is a diagram of separated finite type F q -schemes