A series of issues with toroidally confined fusion plasmas are related to the generation of 3D flow patterns by means of edge magnetic islands, embedded in a chaotic field and interacting with the wall. These issues include the Greenwald limit in Tokamaks and reversed-field pinches, the collisionality window for ELM mitigation with the resonant magnetic perturbations (RMPs) in Tokamaks, and edge islands interacting with the bootstrap current in stellarators. Measurements of the 2D map of the edge electric field E r ðr ¼ a; h; /Þ in the RFX reversed-field pinch show that E r has the same helicity of the magnetic islands generated by a m/n perturbation: in fact, defining the helical angle u ¼ mh À n/ þ xt, maps show a sinusoidal dependence as a function of u, E r ¼Ẽ r sin u. The associated E Â B flow displays a huge convective cell with vðaÞ 6 ¼ 0 which, in RFX and near the Greenwald limit, determines a stagnation point for density and a reversal of the sign of E r . From a theoretical point of view, the question is how a perturbed toroidal flux of symmetry m/n gives rise to an ambipolar potential U ¼Ũsin u. On the basis of a model developed with the guiding center code ORBIT and applied to RFX and the TEXTOR tokamak, we will show that the presence of an m/n perturbation in any kind of device breaks the toroidal symmetry with a drift proportional to the gyroradius q, thus larger for ions (q i ) q e ). Immediately, an ambipolar potential arises to balance the drifts, with the same symmetry as the original perturbation.