The ethical aspect of the online learning is a major priority that has to be addressed by all stakeholders in the educational feld. This study sheds the light on establishing a code of ethics for the online learning based on a Palestinian vision. A content analysis was used for related literature in order to drive themes and major topics, then a qualitative approach was used to collect data to test the themes from the feld. The study population consisted of 21 educators who have previous experience in online learning and 4 key university specialists with pedagogical experience. Interviews and focused group meetings were conducted with participants. The fndings revealed that most of educators’ attitudes toward establishing a code for ethics in online learning mode are positive. The study also revealed that all educational stakeholders play a vital role in the success of online learning and particularly in practicing positive ethics.