Abstract: Charged particle motion in the regions of magnetic islands and near-separatrix ergodicity of magnetic field lines in the Т-15 tokamak is studied numerically. The trajectories are calculated by integration of exact three-dimensional equations of motion for trapped and passing charged particles starting at different pitch angles. It is shown that the presence of resonant magnetic perturbations qualitatively affects the trajectories of passing particles. In the region of magnetic islands, the orbits of passing particles acquire an island structure, while in the region of the near-separatrix ergodicity of magnetic field lines, the orbits are stochastized. It is shown that magnetic perturbations insignificantly affect trapped particle motion. Even in the absence of magnetic surfaces, the trajectories of trapped particles are regular and their cross sections have the shape of a standard banana orbit. The possibility of charged particles to pass between regions with different magnetic topologies is analyzed. © 2019, Pleiades Publishing, Ltd.