Negative attitudes towards people with mental illness can be attributed to stigma. The objective of this study was to determine the attitudes of medical students towards mental illness by comparing those who have had contact with mental patients and those who have not. This study also assesses to what extent knowledge about mental illness can affect the students' attitude.