Code mixing is the infiltration of sentence elements from one language into another in the form of words, phrases, repetitions of words or idioms. Islamic boarding school is a place that uses several languages, both in daily communication and in the teaching and learning process. The example from the Matholi'ul Anwar Simo Sungelebak Islamic boarding school, Karanggeneng Lamongan, uses two or more languages in communicating, both daily and in the teaching and learning process. Data collection methods and techniques used in this study are the listening method and the interview method. The data taken for this research material is the utterance of the students of the Matholi'ul Anwar Simo Islamic boarding school with the recording technique. This study obtained results, namely (1) the types of language used by the students at the Matholi'ul Anwar Simo Islamic boarding school are Indonesian, Javanese, English, and Arabic. (2) the form of code mixing used by the students in Islamic boarding schools is the insertion of elements in the form of words: (a) nouns (nouns), (b) verbs (verbs), (c) adjectives (adjectives), ( d) pronouns (pronominals), and (e) question words. the insertion of elements in the form of phrases, the insertion of elements in the form of clauses, the insertion of elements in the form of repetition of words, and the insertion of elements in the form of expressions or idioms. 3) the factors that cause code mixing of the students of the Matholi'ul Anwar Simo Sungelebak Karanggeneng Lamongan Islamic boarding school include: (a) the presence of other speakers, (b) respect for the interlocutor, and (c) the environment