New ways to stabilize semiconductor contact metallization by incorporating a diffusion barrier layer are reviewed. Diffusion barriers are classifed in terms of their structure or their relative stability at elevated temperatures. Certain compounds or alloys show better performance than simple metals. Multilayer configurations to optimize the overall contact performance are considered. Experimental investigations concentrate on properties of tungsten-nitrogen alloys and titanium nitride for the application as diffusion barriers in silicon and gallium arsenide metallization schemes. Nitrogen is shown to stabilize tungsten barriers unless metallurgical contact to highly reactive metals such as titanium is made: at high temperatures titanium is able to reduce tungsten-nitrogen alloys. In ohmic contacts to gallium arsenide, titanium nitride is shown to enhance thermal stability. Properties of sputter-deposited titanium nitride films are, however, greatly affected by deposition parameters, such as pressure or bias voltage.