Astronomers usually need the highest angular resolution possible when observing celestial objects, but the blurring effect of diffraction imposes a fundamental limit on the image quality from any single telescope. Interferometry allows light collected at widely-separated telescopes to be combined in order to synthesize an aperture much larger than an individual telescope thereby improving angular resolution by orders of magnitude. Because diffraction has the largest effect for long wavelengths, radio and millimeter wave astronomers depend on interferometry to achieve image quality on par with conventional large-aperture visible and infrared telescopes. Interferometers at visible and infrared wavelengths extend angular resolution below the milli-arcsecond level to open up unique research areas in imaging stellar surfaces and circumstellar environments.In this chapter the basic principles of interferometry are reviewed with an emphasis on the common features for radio and optical observing. While many techniques are common to interferometers of all wavelengths, crucial differences are identified that will help new practitioners to avoid unnecessary confusion and common pitfalls. The concepts essential for writing observing proposals and for planning observations are described, depending on the science wavelength, the angular resolution, and the field of view required. Atmospheric and ionospheric turbulence degrades the longest-baseline observations by significantly reducing the stability of interference fringes. Such instabilities represent a persistent challenge, and the basic techniques of phase-referencing and phase closure have been developed to deal with them. Synthesis imaging with large observing datasets has become a routine and straightforward process at radio observatories, but remains challenging for optical facilities. In this context the commonly-used image reconstruction algorithms CLEAN and MEM are presented. Lastly, a concise overview of current facilities is included as an appendix.