AbstractThe heliosphere is full of galactic cosmic rays (GCR), high‐energy charged particles coming isotropically from the galaxy. The GCR interact with the solar wind blown by the Sun carrying out plasma, magnetic fields and transient structures such as interplanetary coronal mass ejections (ICMEs) and their associated magnetic flux ropes (MFR). The GCR interaction with ICMEs has been extensively studied particularly the GCR flux attenuation (known as Forbush decreases) as a result of interacting with the ICME sheath and magnetic field. In this work, we investigate the opposite effect: the MFR's ability to generate GCR anisotropies which an observer may detect as an increase in the GCR flux. To achieve this, we simulated a flux of protons with energies in the 10–160 GeV range arriving from all directions to a cylindrical MFR (with and without sheath) with plasma, magnetic field, and spatial dimensions found in average ICMEs observed at 1 au. By following the individual trajectories of the injected particles we found that the MFR deviates the charged particles preferentially in one direction parallel to the MFR–axis. We also found that the peak of this anisotropic GCR flux depends on: the angle between the MFR and ambient magnetic fields; the presence or not of the sheath region; the energy of the incident particles and the observer location inside the MFR.