To recognize a gesture and control a function in an electronic device, an operating method of an electronic device includes the operations of detecting a change of a Radio Frequency (RF) signal emitted into a body using an RF sensor, determining a gesture corresponding to the RF signal based on reference data corresponding to the gesture, and executing a function of the electronic device corresponding to the determined gesture.