The optimum alloying condition in ohmic contact of GaAlAs/GaAs and InGaAsP/InP semiconductor lasers is described in detail, and theoretical analysis on the point of view of metallization is given.