This paper is prompted by work of Grandje\'an and Ladra on homology crossed modules. We define the homology of a crossed module in dimensions one and two via the equivalence of categories with group objects in groupoids. We show that for any perfect crossed module, its second homology crossed module occurs as the kernel of its universal central extension as defined by Norrie. Our first homology is the same as that defined by Grandje\'an and Ladra, but the second homology crossed modules are in general different. However, they coincide for aspherical perfect crossed modules. Our methods can in principle be applied to define a homology crossed module in any dimension.
Homology, Homotopy and Applications, Vol. 2, 2000, No. 4, pp 41-50