This study investigated code switching between English and Yoruba languages in mathematics classrooms in primary schools in Ile-Ife, Nigeria. The researcher observed mathematics lessons and interviewed teachers and students. The results showed that teachers used code switching to help students understand mathematical concepts by explaining terms in both English and their native Yoruba language. Students performed better in mathematics when teachers used code switching. The study concluded that code switching is an effective teaching strategy in multilingual classrooms that does not negatively impact learning, but rather helps transfer knowledge to students.