The Taifa of Almería (Arabic: طائفة المرية, Ta'ifa al-Mariyah) was a Muslim medieval Arab kingdom located in what is now the province of Almería in Spain. The taifa originated in 1012 and lasted until 1091.
In this period the city of Almería reached its historical splendour under powerful local emirs like Khayran, the first fully independent Emir of Almería and Cartagena, and Abu Yahyà Muhammad ibn Ma'n. Almería declared independence of its province from Caliphate of Cordoba around 1012. It remained as an independent kingdom, although several campaigns of the Taifa of Seville diminished its territory in the north.