An anti-snore device includes a headrest, a snoring detector, an inflator, and a pressure detector. The headrest includes a first airbag and a second airbag. The snoring detector detects snore information to transmit an enable signal. The inflator inflates the first airbag or the second airbag according to the enable signal and deflates the first airbag or the second airbag according to a disable signal. The pressure detector is configured to detect the pressure in the first airbag or the second airbag. When the pressure detector has detected that the pressure in the first airbag or the second airbag exceeds a predetermined pressure value, the pressure detector transmits the disable signal.