We study the oxygen isotope ( 16 O, 18 O) and finite size effects in Y1−x PrxBa2Cu3O 7−δ by inplane penetration depth (λ ab ) measurements. A significant change of the length Lc of the superconducting domains along the c-axis and λ 2 ab is deduced, yielding the relative isotope shift ∆Lc/Lc ≈ ∆λ 2 ab /λ 2 ab ≈ −0.14 for x = 0, 0.2 and 0.3. This uncovers the existence and relevance of the coupling between the superfluid, lattice distortions and anharmonic phonons which involve the oxygen lattice degrees of freedom.PACS numbers: 74.72. Bk, 74.25.Kc, 74.62.Yb Since the discovery of superconductivity in cuprates by Bednorz and Müller[1] a tremendous amount of work has been devoted to their characterization. The issue of inhomogeneity and its characterization is essential for several reasons, including: First, if inhomogeneity is an intrinsic property, a re-interpretation of experiments, measuring an average of the electronic properties, is unavoidable. Second, inhomogeneity may point to a microscopic phase separation, i.e. superconducting domains, embedded in a nonsuperconducting matrix. Third, there is neutron spectroscopic evidence for nanoscale cluster formation and percolative superconductivity in various cuprates [2,3]. Fourth, nanoscale spatial variations in the electronic characteristics have been observed in underdoped Bi 2 Sr 2 CaCu 2 O 8+δ with scanning tunnelling microscopy (STM) [4,5,6,7]. They reveal a spatial segregation of the electronic structure into 3nm diameter superconducting domains in an electronically distinct background. On the contrary, a large degree of homogeneity has been observed by Renner and Fischer[8]. As STM is a surface probe the relevance of these observations for bulk and thermodynamic properties remains to be clarified. Fifth, in YBa 2 Cu 3 O 7−δ , MgB 2 , 2H-NbSe 2 and Nb 77 Zr 23 considerably larger domains have been established. The magnetic field induced finite size effect revealed lower bounds ranging from L = 182 to 814A [9,10]. Sixth, since the change of the lattice parameters upon oxygen isotope exchange is negligibly small [11,12], the occurrence of a significant modification of the domains spatial extent, will provide clear evidence for superconductivity mediated by local lattice distortions.This letter concentrates on Y 1−x Pr x Ba 2 Cu 3 O 7−δ with 16 O and 18 O. It addresses these issues by providing clear evidence for a finite size effect on the in-plane London penetration depth, revealing the existence of superconducting domains with spatial nanoscale extent and its significant change upon oxygen isotope exchange.Polycrystalline samples of Y 1−x Pr x Ba 2 Cu 3 O 7−δ (x = 0, 0.2, 0.3) were synthesized by solid-state reactions [13] and their phase-purity was examined using powder xray diffraction. For each doping concentration the samples were reground in a mortar for about 60min. Powder samples with a grain size of < 10µm were obtained by using a system of 20/15/10µm sieves. Oxygen isotope exchange was performed by heating the powder in 18 O 2 gas. In order to en...