The primary healthcare (PHC) rotation places medical students in rural district hospitals for 4 weeks during their 4th or 5th year. This rotation is a collaboration among three academic units at Stellenbosch University's Faculty of Medicine and Health Sciences. Learning activities during this rotation include participation in a longitudinal community-oriented primary care project, conducting rehabilitation-oriented home visits to persons with disabilities, and assessing and treating patients presenting with undifferentiated problems on an in- and outpatient basis. Working in rural contexts for a month affords students opportunities to foster meaningful relationships with the healthcare team, patients and the community, while learning about collaborative teamwork and communities. Critical reflections about the interprofessional care of patients and a community evaluation are key components of the students' learning and assessment. Demonstrating the importance of interprofessional collaboration in PHC, this integrated training model has received, and continues to receive, positive feedback from students and the clinicians involved. Attention to logistics and academic support plays a crucial role in ensuring optimal learning for students. An integrated approach that involves multiple academic units, various healthcare professions and communities is strongly recommended for those who are considering training students in rural PHC environments.