We study the question about generalization of the Cayley–Hamilton theorem. Namely, the problem if for every banded periodic doubly infinite matrix A there exists polynomial Q such that Q(A) is a matrix with constant diagonals. We present a class of doubly infinite matrices for which such polynomial does not exist.