This study aims to describe variations in code-switching and code-mixing in Indonesian (BI), Makassar (BM), and Bugis (BB) languages and the social factors that cause them. This qualitative research uses data in the form of speeches from multilingual communities in the Pangkajene market, Pangkep Regency. Data were collected through observation and listening methods with recording and recording techniques. Based on the research results, it was found that code-switching variations were (1) BI basic code, resulting in variations of BI to BM and BI to BB code-switching;(2) BB base code, giving rise to variations of BB code-switching to BI; and (3) BM base code, giving rise to variations of BM code-switching to BI. Furthermore, code-mixing variations were found with the BI, BB, and BM basic codes. Factors that cause code-switching are changes in the purpose of the conversation and participants, the presence of a third person, and other purposes as well as adjustments to the language code. While the factors causing code-mixing are the lack of fluency in the language, the use of popular terms, and the aim of establishing familiarity in buying and selling activities.