The invention discloses an electronic mosquito repellent device, which comprises a housing, a mosquito sound positioning component installed in the housing, a low-frequency modulation ultrasonic / low-frequency emission repelling component, a suction and killing mosquito component, and a component control module; the mosquito sound positioning component includes Microphones, operational amplifier modules, AD modules, mosquito sound positioning components, low-frequency modulation ultrasonic / low-frequency emission repelling components, mosquito suction and killing components are connected in sequence to the component control module, and the component control module receives the information transmitted by the mosquito sound positioning component and calculates According to the information of the sound source, the low-frequency modulation ultrasonic / low-frequency emission repelling component or the mosquito-absorbing component is driven to work; when the low-frequency modulation ultrasonic / low-frequency emission repelling component is working, the low-frequency modulation ultrasonic / low-frequency emission repelling component emits mosquito sound Low-frequency modulated ultrasonic signal or low-frequency signal of the same frequency, in-phase or anti-phase as the source. The invention responds to mosquitoes of different types, genders and regions and prompts whether they exist, and automatically, intelligently, efficiently and quickly drives away or kills mosquitoes.