The present invention relates to a method of operating a smart mattress system for preventing snoring which can stop snoring of a user, wherein an air mattress and an air pillow interlock with a user terminal so that a user can easily control the air mattress and the air pillow.