A bachelor's degree in software engineering is preferable, although computer science or other STEM majors like math, science, or engineering may also be beneficial.