The aim of this paper is to establish a sufficient condition for the attractor of an infinite iterated function system to become a dendrite. We consider the family of the associated graphs of an attractor and prove that, in some conditions, the attractor is a dendrite if all the associated graphs are infinite trees.