An electric valve, comprising a valve body, a circuit board and a cover body, wherein the cover body is disposed above the valve body, the circuit board is located in an inner cavity formed by the cover body or formed by the cover body and the valve body, and the cover body is fixedly connected to the valve body; the valve body comprises a first portion and a second portion, the second portion is located below the first portion, the valve body is fixedly connected to the cover body through the first portion, the valve body has a first flow passage, the first flow passage comprises a first open end and a second open end, and the first open end is able to be communicated with the second open end; the second portion comprises a first wall and a second wall, at least part of the first open end is located on the first wall, and at least part of the second open end is located on the second wall; the first portion comprises a first side wall and a second side wall, and the first side wall and the second side wall are located on two sides of the valve body, respectively; and the second portion further comprises a third wall, the first side wall and the third wall are located on a same side of the valve body, neither the third wall nor the first side wall has the first open end or neither the third wall nor the first side wall has the second open end, and at least part of the third wall is disposed closer to a reference plane than the first side wall; wherein the reference plane is located between the first side wall and the second side wall and the reference plane is parallel to the first side wall or the second side wall, and the reference plane coincides with a midpoint of a first connecting line; wherein the first connecting line is a connecting line from a midpoint of a projection of the first side wall onto a plane where the first wall is located to a midpoint of a projection of the second side wall onto the plane where the first wall is located; said electric valve being characterized in that the second portion further comprises a first recessed portion located on said third wall or at a transitional junction of said first portion and said second portion, and a distance from said first recessed portion on said third wall to said reference plane is less than a distance from said first side wall to said reference plane. the valve body comprises a first portion and a second portion, the second portion is located below the first portion, the valve body is fixedly connected to the cover body through the first portion, the valve body has a first flow passage, the first flow passage comprises a first open end and a second open end, and the first open end is able to be communicated with the second open end; the second portion comprises a first wall and a second wall, at least part of the first open end is located on the first wall, and at least part of the second open end is located on the second wall; the first portion comprises a first side wall and a second side wall, and the first side wall and the second side wall are located on two sides of the valve body, respectively; and the second portion further comprises a third wall, the first side wall and the third wall are located on a same side of the valve body, neither the third wall nor the first side wall has the first open end or neither the third wall nor the first side wall has the second open end, and at least part of the third wall is disposed closer to a reference plane than the first side wall; wherein the reference plane is located between the first side wall and the second side wall and the reference plane is parallel to the first side wall or the second side wall, and the reference plane coincides with a midpoint of a first connecting line; wherein the first connecting line is a connecting line from a midpoint of a projection of the first side wall onto a plane where the first wall is located to a midpoint of a projection of the second side wall onto the plane where the first wall is located; said electric valve being characterized in that the second portion further comprises a first recessed portion located on said third wall or at a transitional junction of said first portion and said second portion, and a distance from said first recessed portion on said third wall to said reference plane is less than a distance from said first side wall to said reference plane.