RAF Hospital Ely (also known as RAF Ely and RAFH Ely), was a Royal Air Force staffed military hospital in Ely, Cambridgeshire, England. The hospital opened in 1940, and was one of a handful of Second World War era RAF hospitals that were kept open post Second World War, remaining a military asset until 1992, although it also treated non-service patients, usually those who lived locally. On closure, the hospital became a civilian hospital under the NHS. Although not located on an established RAF Base (unlike RAFH Cosford and RAFH Halton), RAFH Ely was located within 50 miles (80 km) of forty RAF bases in the Second World War.