The African country that speaks Spanish is Equatorial Guinea. It is the only country in mainland Africa where Spanish is an official language and is widely used in government, education, and daily life. Spanish remains the dominant language in urban areas and official settings there, a legacy of its history as a Spanish colony until independence in 1968. Equatorial Guinea also has French and Portuguese as official languages, but Spanish is the primary language for most official communication and education.