  We compute the chiral magnetic effect (CME) in a cylindrical region coaxial
with the external magnetic field. As the boundary condition we require
vanishing of the radial component of the electric current on the cylinder side
wall. We find that when the magnetic length is comparable to or larger than the
cylinder radius, the CME is suppressed compared to the corresponding result in
an infinite medium. As a result, for a given cylinder radius, the suppression
is stronger in weak fields. We argue that the electric current generated by the
CME vanishes at the cylinder wall and monotonically increases toward the
symmetry axis.
