An electronic massage device with cold/hot compress function includes an eccentric wheel driven by a motor to rotate and thereby generates vibration, a thermoelectric module used to provide the cold or heat source needed by the cold or hot compress, respectively, a cooling fan used to exhaust extra hot air generated during cold compress, and a set of thermoswitches used to control the hot compress temperature. The massage device may be used to soothe general body impairments through sports by cold compress alone or by hot compress together with massage.