Hydrogen-induced porosity occurs when hydrogen gas becomes trapped in the weld. This can be prevented by using low-hydrogen electrodes, preheating the workpiece, and ensuring all materials are dry.