Steering micromotors is important for using them in practical applications and as model systems for active matter. This functionality often requires magnetic materials in the micromotor, taxis behavior of the micromotor, or the use of specifically designed physical boundaries. Here, we develop an optoelectronic strategy that steers micromotors with programmable light patterns. In this strategy, light illumination turns hydrogenated amorphous silicon conductive, generating local electric field maxima at the edge of the light pattern that attracts micromotors via positive dielectrophoresis. As an example, metallo-dielectric Janus microspheres that self-propelled under alternating current electric fields were steered by static light patterns along customized paths and through complex microstructures. Their long-term directionality was also rectified by ratchet-shaped light patterns. Furthermore, dynamic light patterns that varied in space and time enabled more advanced motion controls such as multiple motion modes, parallel control of multiple micromotors, and the collection and transport of motor swarms. This optoelectronic steering strategy is highly versatile and compatible with a variety of micromotors, and thus it possesses the potential for their programmable control in complex environments.