The process whose specific outcome is the progression of the intermediate mesoderm over time, from its formation to the mature structure. The intermediate mesoderm is located between the lateral mesoderm and the paraxial mesoderm. It develops into the kidney and gonads.