Palmares, or Quilombo dos Palmares, was a quilombo, a community of escaped slaves and others, in colonial Brazil that developed from 1605 until its suppression in 1694. It was located in the captaincy of Pernambuco, in what is today the Brazilian state of Alagoas. The quilombo was located in what is now the municipality of União dos Palmares.
The modern tradition has been to call the community the Quilombo of Palmares. Quilombos were settlements mainly of survivors and free-born enslaved African people. The quilombos came into existence when Africans began arriving in Brazil in the mid-1530s and grew significantly as slavery expanded.
No contemporary document called Palmares a quilombo; instead the term mocambo was used. Palmares was home to not only escaped enslaved Africans, but also to Indigenous peoples, caboclos, and poor or marginalized Portuguese settlers, especially Portuguese soldiers trying to escape forced military service.
One estimate places the population of Palmares in the 1690s at around 20,000 inhabitants, although recent scholarship has questioned whether this figure is exaggerated. Stuart Schwartz places the number at roughly 11,000, noting that it was, regardless, "undoubtedly the largest fugitive community to have existed in Brazil". These inhabitants developed a society and government that derived from a range of Central African sociopolitical models, a reflection of the diverse ethnic origins of its inhabitants, although Schwartz emphasizes that the residents of Palmares "combined these [sociopolitical models] with aspects of European culture and specifically local adaptations." This government was confederate in nature, and was led by an elected chief who allocated landholdings, appointed officials (usually family members), and resided in a type of fortification called Macoco. Six Portuguese expeditions tried to conquer Palmares between 1680 and 1686, but failed. Finally the governor of the captaincy of Pernambuco, Pedro Almeida, organized an army under the leadership of the Bandeirantes Domingos Jorge Velho and Bernardo Vieira de Melo and defeated a palmarista force, putting an end to the republic in 1694.