|Died||4 July 1572|
|Years active||c. 1545-1572|
|Rank||Admiral٫ Kapudan pasha|
|Base of operations||Mediterranean|
Hasan Pasha (c. 1517 – 4 July 1572) was the son of Hayreddin Barbarossa and three-times Beylerbey of the Regency of Algiers. His mother was a Morisca or a “Moorish woman from Algiers”. He succeeded his father as ruler of Algiers, and replaced Barbarossa's deputy Hasan Agha, who had been effectively holding the position of ruler of Algiers since 1533.
Hasan Pasha became ruler of Algiers when his father was called to Constantinople in 1545. Barbarossa died peacefully in the Ottoman capital in 1546.
In June 1545, Hasan Pasha occupied the city of Tlemcen, where he set a Turkish garrison, and put pro-Ottoman Sultan Muhammad on the throne, however Tlemcen was lost to the Spanish in 1547 who had captured the city.  In 1548, he was replaced as Beylerbeyi of Algiers by the Ottoman Admiral Turgut Reis, who was nominated by Suleiman the Magnificent.
Hasan Pasha again became ruler of Algiers and defeated the Saadians in Tlemcen in an alliance with a local Kabyle Kingdom. He was recalled in 1552, on the reason that he was one of the causes of the conflict between the Turks and Morocco. He was replaced by Salah Rais, who nevertheless marched on Fez and captured the city in early 1554, when the Moroccan ruler Mohammed ash-Sheikh rejected cooperation with the Ottomans.
Hasan Pasha was again named beylerbey of Algiers in June 1557, in order to continue the fight against the Moroccan ruler, who had formed an alliance with the Spanish against the Ottomans. He fought another battle in Tlemcen against the Saadians and defeated them before having Mohammed ash-Sheikh assassinated in October 1557.
Hasan Pasha invaded Morocco in early 1558, but he was stopped by the Moroccan north of Fez at the Battle of Wadi al-Laban, and had to retreat upon hearing of Spanish preparations for an offensive from Oran. He reembarked from the port of Qassasa in northern Morocco, and from there returned to Algiers to prepare a defense against the Spaniards.
After the Ottoman victory in the Expedition of Mostaganem (1558), Hasan Pasha was recalled again to Constantinople, apparently because of conflicts with his troops.
He again became Beylerbey of Algiers in 1562, and led the unsuccessful Sieges of Oran and Mers El Kébir in 1563.