Aims. The stochastic acceleration of subrelativistic electrons from a background plasma is studied in order to find a possible explanation of the hard X-ray emission detected from the Coma cluster. Methods. We calculate the necessary energy supply as a fu