It had a total area of 1,502 km² (580 sq mi), and a population of 51,517 in 1964. The main industry was fishing.
In the mid-19th century, Spain mooted an interest in its lost medieval fortress in order to stake a claim to the southern part of Morocco. This served as a pretext for a short war with Morocco in 1859.
The territory and its main town of Sidi Ifni were ceded to Spain by Morocco on April 26, 1860, but there was little interest in this colonial acquisition until 1934 when the governor-general of Spanish Sahara took up residence.
After the "Forgotten War" (1957) most of the territory became occupied by Morocco.
Spain formally returned the territory to Morocco on January 4, 1969. The territory was integrated into the Moroccan region of Souss-Massa-Drâa.
Postage stamps 
Spain began issuing postage stamps for Ifni in 1941, initially overprinting Spanish stamps with "TERRITORIO DE IFNI", then issuing new designs in 1943. Issues followed at the rate of about ten per year with the last on November 23, 1968. Most are commonly available and are more often seen unused than used.
See also 
- (Spanish) Ifni Friend's Association (Asociación de Amigos de Ifni)
- (Spanish) The Corner of Sidi Ifni (El Rincón de Sidi Ifni)
- (Spanish) Ifni today (Links for traveling to Ifni)
- (Spanish) Jomabase photo album on Picasa
- (German) Maps of Ifni