In order to permeate a nanopore, an ion must overcome a dehydration energy barrier caused by the redistribution of surrounding water molecules. The redistribution is inhomogeneous, anisotropic and strongly position-dependent, resulting in complex patterns that are routinely observed in molecular dynamics simulations. We now address the questions of the physical origin of these patterns and of how they can be predicted and controlled. We introduce an analytic model able to predict the patterns in terms of experimentally accessible radial distributions functions, yielding results that agree well with molecular dynamics simulations. We show that the patterns are attributable to a complex interplay of ionic hydration shells with water layers adjacent to the membrane and with the hydration cloud of the nanopore rim atoms, and we discuss ways of controlling them. Our findings pave the way to designing required transport properties into nanoionic devices by optimising the structure of the hydration patterns.