An electronic device comprising: a housing including a first cover facing a first direction, a second cover facing a second direction opposite the first direction, and a lateral member facing a third direction perpendicular to the first and second directions and disposed to surround at least part of a space between the first and second covers; a sensor module disposed between the first and second covers and mounted to be exposed through at least part of the second cover, the sensor module including a first structure; wherein the sensor module further comprises a decorating member comprising a second structure surrounding a lateral side of the sensor module, and wherein the first structure extends horizontally from the second structure, and wherein the first structure and the second structure are integrally molded; and a sealing member disposed between the second cover and the first structure and compressed due to assembly of the second cover to prevent moisture from penetrating into the electronic device, wherein the sealing member (420, 820) comprises: a body which is a supporting member attached to the first structure; and at least one sealing portion (820a, 820b) which extends from the body and is compressed by the second cover, and wherein a cross-section of the at least one sealing portion has a "V" shape, and wherein at least two end portions of the at least one sealing portion are curved and contact the second cover. a housing including a first cover facing a first direction, a second cover facing a second direction opposite the first direction, and a lateral member facing a third direction perpendicular to the first and second directions and disposed to surround at least part of a space between the first and second covers; a sensor module disposed between the first and second covers and mounted to be exposed through at least part of the second cover, the sensor module including a first structure; wherein the sensor module further comprises a decorating member comprising a second structure surrounding a lateral side of the sensor module, and wherein the first structure extends horizontally from the second structure, and wherein the first structure and the second structure are integrally molded; and a sealing member disposed between the second cover and the first structure and compressed due to assembly of the second cover to prevent moisture from penetrating into the electronic device, wherein the sealing member (420, 820) comprises: a body which is a supporting member attached to the first structure; and at least one sealing portion (820a, 820b) which extends from the body and is compressed by the second cover, and wherein a cross-section of the at least one sealing portion has a "V" shape, and wherein at least two end portions of the at least one sealing portion are curved and contact the second cover. a body which is a supporting member attached to the first structure; and at least one sealing portion (820a, 820b) which extends from the body and is compressed by the second cover, and wherein a cross-section of the at least one sealing portion has a "V" shape, and wherein at least two end portions of the at least one sealing portion are curved and contact the second cover.