In this paper, we study topological properties of 3D lattice dimer model. We demonstrate, that the dimer model on a bipartite lattice possesses topological defects, which are exactly characterized by Hopf invariant. We derive its explicit algebraic expression in terms of effective magnetic field of a dimer configuration. Thus, we solve the problem of topological classification of possible states in 3D lattice dimer model. Furthermore, since the lattice dimer model is known to be dual to spin ice, our work can be viewed as a proposal to search for hopfions in classical, as well as, artificial spin ice and related materials. arXiv:1901.04527v2 [cond-mat.stat-mech]