An attempt has been made to improve the electrical and metallurgical stability of Au-Be alloyed contacts to moderately doped p-type InP by minimizing the thickness of the Au-Be contact layer and using an Ru layer as a new, more effective diffusion barrier between the Au-Be and a thick Au top layer. It was found that the Au-Be contact layer only 40-50 nm thick is sufficient to give excellent ohmic contacts with specific contact resistance values as low as 2 × 10 −8 and 7 × 10 −8 m 2 (for N A -N D = (3-4) × 10 24 and (0.8-1) × 10 24 m −3 respectively). When subjected to an aging test at 280 • C for 50 h in N 2 gas, the 50 nm Au-Be/50 nm Ru/300 nm Au contacts alloyed at an optimum temperature of about 425 • C exhibit good thermal stability and no substantial increase in the specific contact resistance. The remarkable metallurgical stability of such contacts was confirmed by secondary neutral mass spectroscopy (SNMS) in-depth profile measurements. A comparison with the previously investigated diffusion barrier metals (such as Cr, Ti, Pt, etc) shows that the Ru layer is a much better barrier against the migration of Au into the InP substrate and, at the same time, it suppresses the out-diffusion of In and P from the semiconductor.