Delivering the pain electives for medical students in an online format was an efficient educational method, with high student satisfaction scores. Medical educators should consider online electives for medical students in pain studies as well as in other content areas.