We consider a one-dimensional loop of circumference L crossed by a constant magnetic flux and connected to an infinite lead with coupling parameter ε. Assuming that the initial state ψ 0 of the particle is confined inside the loop and evolves freely, we analyze the time evolution of the nonescape probability P (ψ 0 ,L, ,ε,t), which is the probability that the particle will still be inside the loop at some later time t. In appropriate units, we found that P (ψ 0 ,L, ,ε,t) = P ∞ (ψ 0 , ) + ∞ k=1 C k (ψ 0 ,L, ,ε)/t k . The constant P ∞ (ψ 0 , ) is independent of L and ε, and vanishes if ψ 0 has no bound state components or if | cos( )| = 1. The coefficients C 1 (ψ 0 ,L, ,ε) and C 3 (ψ 0 ,L, ,ε) depend on the initial state ψ 0 of the particle, but only the momentum k = /L is involved. There are initial states ψ 0 for which P (ψ 0 ,L, ,ε,t) ∼ C δ (ψ 0 ,L, ,ε)/t δ , as t → ∞, where δ = 1 if cos( ) = 1 and δ = 3 if cos( ) = 1. Thus, by submitting the loop to an external magnetic flux, one may induce a radical change in the asymptotic decay rate of P (ψ 0 ,L, ,ε,t). Interestingly, if cos( ) = 1, then C 1 (ψ 0 ,L, ,ε) decreases with ε (i.e., the particle escapes faster in the long run) while in the case cos( ) = 1, the coefficient C 3 (ψ 0 ,L, ,ε) increases with ε (i.e., the particle escapes slower in the long run). Assuming the particle to be initially in a bound state of the loop with = 0, we compute explicit relations and present some numerical results showing a global picture in time of P (ψ 0 ,L, ,ε,t). Finally, by using the pseudospectral method, we consider the interacting case with soft-core Coulomb potentials.