If you choose the right microwave, it is perfectly safe to put one over an electric range. Not all microwaves are designed for this, though.