A heat exchanger comprising: a plurality of heat transfer tubes arranged at intervals in a first direction, and configured to circulate refrigerant in a second direction intersecting the first direction; and a refrigerant distributor extending in the first direction and is connected to one end of each of the plurality of heat transfer tubes, the refrigerant distributor being configured to distribute the refrigerant to the plurality of heat transfer tubes, wherein the refrigerant distributor includes, in its inside, a first flow path and a second flow path through which the refrigerant flows, the first flow path is formed so as to extend in the first direction, communicates with the plurality of heat transfer tubes, and is connected with an inflow tube configured to cause the refrigerant to flow into the refrigerant distributor, and the second flow path is formed so as to extend in the first direction, with opposite ends thereof being connected with the first flow path, and is formed so as to be positioned in a third direction relative to the first flow path, when a direction intersecting a plane parallel to the first direction and to the second direction is defined as the third direction, characterized in that the refrigerant distributor includes a first plate-shaped part including the first flow path, a second plate-shaped part including a distribution hole and the second flow path, the distribution hole being a through-hole located between the plurality of heat transfer tubes and the first flow path, and a third plate-shaped part including an insertion hole, the insertion hole being a through-hole into which each of the plurality of heat transfer tubes is inserted, the first plate-shaped part, the second plate-shaped part, and the third plate-shaped part are stacked together, and in a direction of stacking of the first plate-shaped part, the second plate-shaped part, and the third plate-shaped part, the first flow path and the opposite ends overlap each other, and the first flow path, the distribution hole, and the insertion hole overlap each other. a plurality of heat transfer tubes arranged at intervals in a first direction, and configured to circulate refrigerant in a second direction intersecting the first direction; and a refrigerant distributor extending in the first direction and is connected to one end of each of the plurality of heat transfer tubes, the refrigerant distributor being configured to distribute the refrigerant to the plurality of heat transfer tubes, wherein the refrigerant distributor includes, in its inside, a first flow path and a second flow path through which the refrigerant flows, the first flow path is formed so as to extend in the first direction, communicates with the plurality of heat transfer tubes, and is connected with an inflow tube configured to cause the refrigerant to flow into the refrigerant distributor, and the second flow path is formed so as to extend in the first direction, with opposite ends thereof being connected with the first flow path, and is formed so as to be positioned in a third direction relative to the first flow path, when a direction intersecting a plane parallel to the first direction and to the second direction is defined as the third direction, characterized in that the refrigerant distributor includes a first plate-shaped part including the first flow path, a second plate-shaped part including a distribution hole and the second flow path, the distribution hole being a through-hole located between the plurality of heat transfer tubes and the first flow path, and a third plate-shaped part including an insertion hole, the insertion hole being a through-hole into which each of the plurality of heat transfer tubes is inserted, a first plate-shaped part including the first flow path, a second plate-shaped part including a distribution hole and the second flow path, the distribution hole being a through-hole located between the plurality of heat transfer tubes and the first flow path, and a third plate-shaped part including an insertion hole, the insertion hole being a through-hole into which each of the plurality of heat transfer tubes is inserted, the first plate-shaped part, the second plate-shaped part, and the third plate-shaped part are stacked together, and in a direction of stacking of the first plate-shaped part, the second plate-shaped part, and the third plate-shaped part, the first flow path and the opposite ends overlap each other, and the first flow path, the distribution hole, and the insertion hole overlap each other.