Background: During clinical rotations, medical students experience situations in which the patients’ right to privacy may be violated. The aim of this study is to analyze medical students' perception of clinical situations that affect patients' right to privacy or intimacy, and to look for the influential factors that may contribute to the infringement on their rights, such as age, gender, academic year or parents’ educational level.Methods: A cross-sectional study was conducted with a survey via “Google Drive”. It consisted of 16 questions about personal information, 24 questions about their experience when rotating and 22 questions about their opinion concerning several situations related to the right to privacy. Results: 129 medical students from various Spanish medical schools participated. Only 31% of 3rd-6th year students declared to have signed a confidentiality agreement when starting their clinical practice, and most students (52%) reported that doctors “sometimes”, “rarely” or “never” introduce themselves and the students when entering the patients’ rooms. Additionally, about 50% of all students reported that they would take a picture of a patient’s hospitalization report without his/her (consent), which would be useful for an assignment. Conclusions: Important mistakes during medical students’ rotations have been observed, as well as general lack of knowledge regarding patient’s right to privacy among Spanish medical students. Men and older students showed better knowledge of current legislation, as well as those whose parents were both college-educated and those in higher academic years. Informative courses and law teaching should be enhanced so that patients’ right to privacy may be better guaranteed.