We show that in ballistic mesoscopic SNS junctions the period of critical current versus magnetic flux dependence (magnetic interference pattern), I c ( ), changes continuously and nonmonotonically from 0 to 2 0 as the length-to-width ratio of the junction grows, or temperature drops. In diffusive mesoscopic junctions the change is even more drastic, with the first zero of I c ( ) appearing at 3 0 .The effect is a manifestation of nonlocal relation between the supercurrent density and superfluid velocity in the normal part of the system, with the characteristic scale, the normal metal coherence length, and arises due to restriction of the quasiparticle phase space near the lateral boundaries of the junction. It explains the 2 0 -periodicity recently observed by Heida et al. [Phys. Rev. B57, R5618 (1998)]. We obtained explicit analytical expressions for the magnetic interference pattern for a junction with an arbitrary length-to-width ratio. Experiments are proposed to directly observe the 0 → 2 0 -and 0 → 3 0 -transitions. c 1999 Academic Press Key words: nonlocality, mesoscopic, Josephson.It is well established that the electrodynamics of the superconductors is nonlocal on the scale of ξ 0 [1, 2], and so is the current-phase relation (since vector potential and superconducting phase both enter through one gauge-invariant, combination superfluid velocity). In the normal layer of an SNS system, the place of ξ 0 is taken by the normal metal coherence length, ξ T = v F /2πk B T (in the ballistic limit, L l i , where l i is the impurity scattering length),is the diffusion constant of electrons in the dirty metal [3,4]. This length can obviously greatly exceed ξ 0 at low enough temperatures, and is limited only by the inelastic scattering length in the system, l φ , which also diverges as T → 0. (The latter gives the scale of classical nonlocality in mesoscopic systems, related to †