Hot air balloons had been used with military purposes in Spain as far back as 1896. In 1905, with the help of Alfredo Kindelán, Leonardo Torres y Quevedo directed the construction of the first Spanish dirigible in the Army Military Aerostatics Service, created in 1896 and located in Guadalajara. The new airship was completed successfully and, named 'España', made numerous test and exhibition flights.

The Spanish Army air arm, however, took off formally in 1909 when Colonel Pedro Vives Vich and Captain Alfredo Kindelán made an official trip to different European cities to check the potential of introducing airships and airplanes in the Spanish Armed Forces. One year later a Royal decree established the National Aviation School, Escuela Nacional de Aviación (civil) in Getafe, near Madrid, under the Ministry of Public Works and Transport, Ministerio de Fomento.

The established institution became militarized under the name Aeronáutica Española when Colonel Pedro Vives was chosen to lead it as director of the Aeronáutica Militar, Military Aeronautics, the name of the air arm of the Spanish Army. Captain Alfredo Kindelán was named Chief of Aviation, Jefe de Aviación.[3]

On 17 December 1913, during the war with Morocco, a Spanish expeditionary squadron of the Aeronáutica Española became the first organized military air unit to see combat during the first systematic bombing in history by dropping aerial bombs from a Lohner Flecha (Arrow) airplane on the plain of Ben Karrix in Morocco.[3][4] During the years that followed, most of the military activity of the Spanish Air Force would take place in Northern Morocco.

In 1915 Spain's first seaplane base was opened at Los Alcazares on the Mar Menor in the Murcia region and Alfredo Kindelán was named Military Aeronautics Director, displacing Pedro Vives. The Catalan Flying School was established in Can Tunis, Barcelona the following year and Getafe Aerodrome became a full-fledged military air base. In 1919 General Francisco Echagüe replaced Kindelán as leader of the Aeronáutica Española.

In 1920 two Nieuport 80 and one Caudron G.3 were first painted with squadron identification numbers and the Spanish Air Force roundel. Shortly thereafter the Aeronáutica Naval, the air branch of the Spanish Navy, already established through a Royal decree four years earlier, became functional in El Prat, in the same location as present-day Barcelona Airport.[5] In 1921, following the Spanish defeat at Annual, known as Desastre de Annual in Spain, the Zeluán Aerodrome was taken over by the Rif army and another aerodrome was built at Nador. Lieutenant Colonel Kindelán was named Jefe Superior de Aeronáutica, becoming chief-commander of the air force in 1926, at the time when Spanish Morocco was retaken and the Rif War ended.

In 1926 a crew of Spanish aviators, that included Ramón Franco, Julio Ruiz de Alda, Juan Manuel Duran and Pablo Rada, completed the first Trans-Atlantic flight between Spain and South America in January 1926 on the Plus Ultra. That same year, pilots González Gallarza, Joaquín Loriga Taboada and Rafael Martínez Esteve completed the first flight between Spain and the Philippines, in just one month. The expedition was flown with two Breguet 19 and known as the Escuadrilla Elcano or "Elcano Squadron".

Following a Government decree dated 2d October 1935, the Dirección General de Aeronáutica was placed under the authority of the War Ministry, Ministerio de la Guerra, instead of under the Presidencia del Gobierno, following which in 1936 the Air Force regional units became restructured. Accordingly, the Spanish Navy-based Escuadra model was replaced by Región Militar divisions which are still operative today.[6]

In September 1936 the Navy and Air Ministry, Ministerio de Marina y Aire, and the Air Undersecretariat, Subsecretaria del Aire were established under the command of Indalecio Prieto as minister. The first serious air combat took place over Madrid when Italian bombers attacked the city in a massive bombing operation.[6] In the reorganization of the military in the areas of Spain that had remained loyal to the government, the new military structure of the republic merged the Aeronáutica Militar and Aeronáutica Naval, the former being the air arm of the Spanish Republican Army and the latter the naval aviation of the Spanish Republican Navy, and formed the Spanish Republican Air Force.[7] The Republican tricolor roundel was replaced by red bands for identification purposes, an insignia that had previously been used on Aeronáutica Naval aircraft during the monarchy in the 1920s, before the time of the Republic.[8][9]

Many innovative, and often lethal, aeronautical bombing techniques were tested by Germany's Condor Legion forces on Spanish soil against the areas that remained loyal to the Republican Government with the permission of Generalísimo Franco. Nazi help to the Nationalist Air Force was part of Hitler's German re-armament strategy and the techniques that German Nazi pilots learned in Spain would later be used in World War II. Despite the devastation and the human casualties caused by the bombing of the Basque city of Guernica in 1937, known by the Luftwaffe as Operation Rügen, Hitler insisted that his longterm designs in Spain were peaceful. He called his strategy "Blumenkrieg" (Flower War), as evidenced in a January 1937 speech.[10] The international outcry over Guernica, however, would not bring about any increase in the military help provided to the beleaguered Spanish Republic.

The pilots of the Spanish Republican Air Force, often young and poorly trained were unable to check the Nazi German and Fascist Italian modern-warfare attacks. Despite Franco's claim that both air forces were equal, and despite the help of foreign pilots, Spanish Republican planes were mostly obsolete and often in a bad state of disrepair. Even after acquiring more planes from the Soviet Union in the mid-stages of the war, the Spanish Republican Air Force was no longer able to control the Spanish skies nor match the power of the German and Italian expeditionary forces in specific combat situations.[11]

The Spanish Republican Air Force became practically irrelevant since the Battle of the Ebro in 1938 when the root of the Spanish Republican Armed Forces was broken.[12] Finally it was completely disbanded after the victory on April 1, 1939.

The Hispano HA-200"Saeta" (Bolt) was a Spanish-produced trainer that fit in with the autarchic goals of the Franco era

The present Spanish Air Force (Ejército del Aire, or EdA) was officially established on 7 October 1939, after the end of the Spanish Civil War. The EdA was a successor to the Nationalist and Republican Air Forces. Spanish Republican colors disappeared and the black roundel of the planes was replaced by a yellow and red roundel. However, the black and white Saint Andrew's Cross (Spanish: Aspa de San Andrés) fin flash, the tail insignia of Franco's air force, as well as of the Aviazione Legionaria of Fascist Italy and the Condor Legion of Nazi Germany, is still in use in the present-day Spanish Air Force.[13]

Under the post-Civil War regional military restructuring, all relevant air bases would be withdrawn from Catalonia. Even though formerly important air bases had been established in or around Barcelona, such as the Aviación Naval. Henceforward the whole north-eastern area of Spain would be left with mere token presence of the Spanish Air Force, a situation that persists to this day.

After the changes introduced at the beginning of the dictatorship the Air Regions and their Command centres were the following:

In March 1946 the first Spanish military paratroop unit, the Primera Bandera de la Primera Legión de Tropas de Aviación, was established in Alcalá de Henares. It first saw action in the Ifni War during 1957 and 1958.[16] Because of US Government objection to use airplanes manufactured in the USA in her colonial struggles after World War II, Spain used at first old German aircraft, such as the T-2 (Junkers 52, nicknamed "Pava"), the B-2I (Heinkel 111, nicknamed "Pedro"), the C-4K (Spanish version of the Bf 109, nicknamed "Buchón"), and some others. Still, Grumman Albatross seaplanes and Sikorsky H-19B helicopters were used in rescue operations.[17] This is why still now in present times, EdA maintains a policy of having jet fighters from two different origins, one first line fighter of North American origin, and one from French-European origin( F-4C Phantom / Mirage F1, Mirage III; EF-18A / Eurofighter Typhoon).[citation needed]

Although in sheer numbers the EdA was impressive, at the end of World War II technically it had become more or less obsolete due to the progress in aviation technology during the war. For budget reasons Spain actually kept many of the old German aircraft operative well into the 1950s and 1960s. As an example the last Junkers Ju-52 used to operate in Escuadrón 721 training parachutists from Alcantarilla Air Base near Murcia, until well into the 1970s. The CASA 352 and the CASA 352L were developments built by CASA in the 1950s.[18]

After the death of dictator Franco in 1975 and the ensuing Spanish transition to democracy years, the organization and equipment of the Spanish Air Force was again modernised to prepare for Spain's membership of NATO in 1982. Planes like the Mirage III and Mirage F1 were bought from France and became the backbone of the Air Force during the 1970s and part of the 1980s. French fighters formed the air force's mainstay until the arrival of the American F/A-18. Spanish F/A-18s participated in the Bosnian War and the Kosovo War under NATO command, based in Aviano, Italy.[20]

The Spanish Air Force is replacing older aircraft in the inventory with newer ones including the recently introduced Eurofighter Typhoon and the Airbus A400M Atlas airlifter. Both are manufactured with Spanish participation; EADS CASA makes the Eurofighter's right wing and leading edge slats,[21] and participates in the testing and assembly of the airlifter.[22]

Unlike the air forces of most major NATO member states, the Spanish Air Force currently do not operate any AEW&C aircraft.

The usual operational unit is the ALA (wing), composed by two or three ESCUADRONES (squadrons), each one of which is integrated by 18 to 24 airplanes. Thus, Ala 15, with base in Zaragoza Air Base, is formed by two squadrons with 18 F-18s each.

The Spanish Air Force has its own alphanumeric system for identifying aircraft. This forms a prefix to the airframe serial number, usually marked on the tail. The letter or letters, correspond to the use given. Thus, C means cazabombardero (fighter bomber); A, ataque (attack); P, patrulla (patrol); T, transporte (transport); E, enseñanza (training); D, search and rescue; H, helicopter; K, tanker; V, Vertical Take Off and Landing (VTOL); and U, utility. An example would be that the F-18 with "C.15-08" on the tail is the fifteenth type of fighter that arrived in the Spanish Air Force (the Eurofighter is the C.16) and is the eighth example of this type to enter the SAF. On the nose or fuselage the aircraft has a numeral specific to the unit in which it is based.

Variants of planes in service, for example two-seater versions or tanker versions of transports planes, add another letter to differentiate their function, and have their own sequence of serial numbers separate from the primary versions. Example: "CE.15-02" will be the second F-18 two-seater (Fighter Trainer) delivered to the SAF. In addition, the aircraft used by the Spanish Air Force usually carry a code consisting of one or two digits followed by a dash and two numbers, painted on the nose or fuselage. The first number corresponds to the unit to which they belong, and the second the order in which they entered service. Example: the fourth F-18 arriving at Ala 12 will have on the nose the code "12-04". Those codes do change when the aircraft is re-allocated to a different unit.