We describe the cohomology ring of a monomial algebra in the language of dimension tree or minimal resolution graph and in this context we study the finite generation of the cohomology rings of the extension algebras, showing among others that the cohomology ring [Formula: see text] is finitely generated [Formula: see text] is [Formula: see text] is, where [Formula: see text] is the dual extension of a monomial algebra [Formula: see text] and [Formula: see text] is the opposite algebra of [Formula: see text].