Recently, John Doe, an undocumented immigrant who was detained by United States Immigration and Customs Enforcement (ICE), was admitted to a hospital off-site from a detention facility. Custodial officers accompanied Mr. Doe into the exam room and refused to leave as physicians examined him. In this analysis, we examine the ethical dilemmas this case brings to light concerning the treatment of patients in immigration detention and their rights to privacy. We analyze what US law and immigration detention standards allow regarding immigration enforcement or custodial officers' presence in medical exams and documentation of detainee health information. We describe the ethical implications of the presence of officers in medical exam rooms, including its effects on the quality of the patient-provider relationship, patient privacy and confidentiality, and provider's ability to provide ethical care. We conclude that the presence of immigration enforcement or custodial officers during medical examination of detainees is a breach of the right to privacy of detainees who are not an obvious threat to the public. We urge ICE and the US Department of Homeland Security to clarify standards for and tighten enforcement around when officers are legally allowed to be stationed in medical exam rooms and document detainees' information.