In 1910 Huesca CF was born, with Santos Solana as president. 16 years later it folded – after it had joined the Royal Spanish Football Federation in 1922 – but in 1929 CD Huesca, being renamed Unión Deportiva in 1940, took its place, but the club again disappeared in 1956 due to financial problems. Lorenzo Lera was the first associate of the club, which was enrolled in the Federation with the blaugrana colours as its founding members were Barcelona supporters.
One of the first games of written reference was a local derby against Bosco FC, a 3–5 loss. In the mid-1920s the club turned professional and, in 1926, a match against Barcelona was played at the Villa Isabel, in a 2–2 draw; In 1951, Huesca first reached Segunda División.
During the 1971–72 season Huesca decided to build a new football stadium, the team's third in its history, located in the hills of San Jorge. In Estadio El Alcoraz (5,500-seats capacity), the 1974 Amateur Cup of Spain final took place.