Visual flight rules (VFR) refers to a set of regulations that a pilot may operate under when weather conditions meet certain minimum requirements.
Under VFR, the pilot generally controls the attitude of the aircraft by relying on what can be seen out the window (see visual flight), although this may be supplemented by referring to the instrument panel. A pilot flying under VFR is usually required to stay at least a specified distance away from clouds and must stay in areas where the visibility meets minimum requirements. There may be other requirements which vary from one country to another, such as not flying over a solid layer of clouds, or not flying at night. The pilot is responsible for seeing and avoiding other aircraft, terrain, and obstructions such as buildings and towers. Being in contact with air traffic control is optional in most airspace, and the pilot is usually allowed to select the course and altitude to be flown even when in contact with ATC. The pilot may navigate either visually, or by reference to instruments and electronic aids to navigation.
The minimum meteorological requirements for VFR are called visual meteorological conditions (VMC). If they are not met then the flight must be flown under instrument flight rules (IFR), the pilot must have an instrument rating and meet recency of experience requirements pertaining to instrument flight, and the aircraft must be equipped and type-certified for instrument flight. In some types of airspace, generally at extremely high altitudes, a flight must be flown under IFR regardless of the meterological conditions.