The present invention discloses an electronic device, including a device housing, a sound apparatus, and a screen. The screen covers the device housing and is provided with a first sound hole at a joint with the device housing. The sound apparatus is disposed in the device housing, and the sound apparatus includes an apparatus housing and an electroacoustic module. The electroacoustic module includes a first diaphragm and a second diaphragm, the apparatus housing is connected to the first diaphragm and the second diaphragm, and the device housing is provided with a
second sound hole. At least the apparatus housing, the screen, the device housing, and the first diaphragm enclose to form a first front cavity, and the first front cavity is communicated with the first sound hole. At least the apparatus housing and the second diaphragm enclose to form a second front cavity, and the second front cavity is communicated with the
second sound hole. When the electroacoustic module is in a first state, the first
sound wave formed by the vibration of the first diaphragm and the
second sound wave formed by the vibration of the second diaphragm are in opposite phases.