A solenoid valve with a hard seal structure, the solenoid valve comprising a valve body inside which a fluid passage and an accommodating cavity are provided and a valve assembly mounted inside the accommodating cavity, the fluid passage being communicated to the accommodating cavity, wherein the valve assembly comprises a fluid inlet seat mounted at a bottom portion of the accommodating cavity, a valve core cooperating with the fluid inlet seat for closing or opening the fluid passage, and a driving mechanism for driving reciprocating motion of the valve core ; wherein the fluid inlet seat is provided with a guide hole that allows a lower end of the valve core to stretch therein, a middle section of the fluid inlet seat is provided with a plurality of fluid inlet holes which are circumferentially arranged along the fluid inlet seat , and a lower section of the fluid inlet seat is provided with a valve core fluid passage and a fluid passage slant located at an upper portion of the valve core fluid passage for adjusting fluid flow; and the valve core comprises a big-diameter section , a slant section , a small-diameter section and a valve core end slant in this order from up to down, a diameter of the small-diameter section is smaller than a diameter of the valve core fluid passage and a diameter of the big-diameter section is greater than a diameter of the valve core fluid passage , the solenoid valve being characterized in that a lower end of the valve inlet seat is machined with a lower bulge and upon being axially compacted, the lower bulge is embedded into a step surface of the valve body, thereby realizing a hard seal connection; and an arc bulge is machined on an upper circumferential wall of the fluid inlet seat and upon being assembled, the arc bulge squeezes an inner wall circumference of the accommodating cavity, thereby realizing interference fit and fluid medium seal. the valve assembly comprises a fluid inlet seat mounted at a bottom portion of the accommodating cavity, a valve core cooperating with the fluid inlet seat for closing or opening the fluid passage, and a driving mechanism for driving reciprocating motion of the valve core ; wherein the fluid inlet seat is provided with a guide hole that allows a lower end of the valve core to stretch therein, a middle section of the fluid inlet seat is provided with a plurality of fluid inlet holes which are circumferentially arranged along the fluid inlet seat , and a lower section of the fluid inlet seat is provided with a valve core fluid passage and a fluid passage slant located at an upper portion of the valve core fluid passage for adjusting fluid flow; and the valve core comprises a big-diameter section , a slant section , a small-diameter section and a valve core end slant in this order from up to down, a diameter of the small-diameter section is smaller than a diameter of the valve core fluid passage and a diameter of the big-diameter section is greater than a diameter of the valve core fluid passage , the solenoid valve being characterized in that a lower end of the valve inlet seat is machined with a lower bulge and upon being axially compacted, the lower bulge is embedded into a step surface of the valve body, thereby realizing a hard seal connection; and an arc bulge is machined on an upper circumferential wall of the fluid inlet seat and upon being assembled, the arc bulge squeezes an inner wall circumference of the accommodating cavity, thereby realizing interference fit and fluid medium seal. <EOS>