A trapped-atom interferometer was demonstrated using gaseous Bose-Einstein condensates coherently split by deforming an optical single-well potential into a double-well potential. The relative phase between the two condensates was determined from the spatial phase of the matter wave interference pattern formed upon releasing the condensates from the separated potential wells. Coherent phase evolution was observed for condensates held separated by 13 µm for up to 5 ms and was controlled by applying ac Stark shift potentials to either of the two separated condensates.PACS numbers: 03.75. Dg, 39.20.+q, 03.75.Lm Demonstrating atom interferometry with particles confined by magnetic [1,2,3,4] and optical [5] microtraps and waveguides would realize the matter wave analog of optical interferometry using fiber-optic devices. Current proposals for confined-atom interferometers rely on the merger and separation of two potential wells to coherently divide atomic wavepackets [6,7,8]. This type of division differs from previously demonstrated atomic beam splitters. To date, atomic beams and vapors have been coherently diffracted into different momentum states by mechanical [9,10] and optical [11] gratings, and Bose-Einstein condensates have been coherently delocalized over multiple sites in optical lattices [12,13,14,15,16,17]. Atom interferometers utilizing these beam splitting elements have been used to sense accelerations [12,18] and rotations [19,20], monitor quantum decoherence [21], characterize atomic and molecular properties [22], and measure fundamental constants [18,23].In this Letter, we demonstrate a trapped-atom interferometer with gaseous Bose-Einstein condensates confined in an optical double-well potential. Condensates were coherently split by deforming an initially single-well potential into two wells separated by 13 µm. The relative phase between the two condensates was determined from the spatial phase of the matter wave interference pattern formed upon releasing the atoms from the separated potential wells [17,24]. This recombination method avoids deleterious mean field effects [25,26] and detects applied phase shifts on a single realization of the experiment, unlike in-trap recombination schemes [6,7,8].The large separation between the split potential wells allowed the phase of each condensate to evolve independently and either condensate to be addressed individually. An ac Stark phase shift was applied to either condensate by temporarily turning off the optical fields generating its potential well. The spatial phase of the resulting matter wave interference pattern shifted linearly with the applied phase shift and was independent of the time of its application. This verified the phase sensitivity of the interferometer and the independent phase evolution of the separated condensates. The measured coherence time of the separated condensates was 5 ms.The present work demonstrates a trapped-atom interferometer with two interfering paths. This geometry has the flexibility to measure either highly localized...