Energy relaxation of the hot electron population generated by relativistic laser pulses in overdense plasma is analyzed for densities ranging from below to 1000 times solid density. It is predicted that longitudinal beam-plasma instabilities, which dominate energy transfer between hot electrons and plasma at lower densities, are suppressed by collisions beyond solid density. The respective roles of collisional energy transfer modes, i.e., direct collisions, diffusion, and resistive return current heating, are identified with respect to plasma density. The transition between the kinetic and the collisional regimes and scalings of collisional process are demonstrated by a fully integrated one-dimensional collisional particle simulation.