The invention relates to a waterproof structure which comprises a shell and a cover, wherein the cover is assembled on the shell. The shell is provided with a groove. The cover comprises a protruding rib and a soft
material structure, wherein the protruding rib is coated with the soft
material structure, and the protruding rib and the soft
material structure are integrally formed. The soft material structure is in
interference fit with the groove. Due to the arrangement of the protruding rib, when the soft material structure is in
interference fit with the groove, a support of the protruding rib can make the deformation of the soft material be reliable and achieve a good waterproof effect. Meanwhile, due to the fact that the soft material structure and the cover are integrally formed, additional
assembly waterproof soft rubber is not needed, the
assembly deviation of the waterproof soft rubber does not need to be taken into consideration for the arrangement of magnitude of interference, and therefore the good waterproof effect is achieved through a small amount of interference, and the requirement for the structure strength of a battery cover is lowered. The invention further relates to an electronic device with the waterproof structure, for example, a
mobile phone. The waterproof structure has the good waterproof effect,
assembly processes are reduced, and production efficiency is improved.