The mechanical properties of cell nuclei have been demonstrated to play a fundamental role in cell movement across extracellular networks and micro-channels. In this work, we focus on a mathematical description of a cell entering a cylindrical channel composed of extracellular matrix. An energetic approach is derived in order to obtain a necessary condition for which cells enter cylindrical structures. The nucleus of the cell is treated either (i) as an elastic membrane surrounding a liquid droplet or (ii) as an incompressible elastic material with Neo-Hookean constitutive equation. The results obtained highlight the importance of the interplay between mechanical deformability of the nucleus and the capability of the cell to establish adhesive bonds and generate active forces in the cytoskeleton due to myosin action.