A heat exchanger that allows air and refrigerant to exchange heat therebetween, the heat exchanger comprising: a plurality of heat exchanger cores (40A, 40B, 40C) including a plurality of heat transfer tubes (30, 30A, 30B, 30C, 300A, 300B, 300C) arranged side by side and a plurality of fins; and a distributor (10, 90, 100, 120) to which the plurality of heat transfer tubes (30, 30A, 30B, 30C, 300A, 300B, 300C) of the plurality of heat exchanger cores (40A, 40B, 40C) are connected to distribute the refrigerant therebetween, the distributor (10, 90, 100, 120) having an inside divided into a plurality of refrigerant flow paths (21, 22, 90A, 90B, 100A, 100B, 120A, 120B, 120C), the distributor (10, 90, 100, 120) allowing the refrigerant flowing into one of the plurality of refrigerant flow paths (21, 90A, 100A, 120A) to flow from the one of the plurality of refrigerant flow paths (21, 90A, 100A, 120A) to an other one of the plurality of refrigerant flow paths (22, 90B. 100B, 120B, 120C), wherein the plurality of heat transfer tubes (30A, 300A) of one of the plurality of heat exchanger cores disposed on a windward side of a flow of the fed air are connected to at least one of the refrigerant flow paths (21, 90A, 100A, 120A) disposed in the distributor (10, 90, 100, 120) on an upstream side of a flow of the refrigerant, and wherein the plurality of heat transfer tubes (30B, 30C, 300B, 300C) of one of the plurality of heat exchanger cores (40B, 40C) disposed on a leeward side of the flow of the fed air are connected to at least one of the refrigerant flow paths (22, 90B, 100B, 120B, 120C) disposed in the distributor (10, 90, 100, 120) on a downstream side of the flow of the refrigerant. a plurality of heat exchanger cores (40A, 40B, 40C) including a plurality of heat transfer tubes (30, 30A, 30B, 30C, 300A, 300B, 300C) arranged side by side and a plurality of fins; and a distributor (10, 90, 100, 120) to which the plurality of heat transfer tubes (30, 30A, 30B, 30C, 300A, 300B, 300C) of the plurality of heat exchanger cores (40A, 40B, 40C) are connected to distribute the refrigerant therebetween, the distributor (10, 90, 100, 120) having an inside divided into a plurality of refrigerant flow paths (21, 22, 90A, 90B, 100A, 100B, 120A, 120B, 120C), the distributor (10, 90, 100, 120) allowing the refrigerant flowing into one of the plurality of refrigerant flow paths (21, 90A, 100A, 120A) to flow from the one of the plurality of refrigerant flow paths (21, 90A, 100A, 120A) to an other one of the plurality of refrigerant flow paths (22, 90B. 100B, 120B, 120C), wherein the plurality of heat transfer tubes (30A, 300A) of one of the plurality of heat exchanger cores disposed on a windward side of a flow of the fed air are connected to at least one of the refrigerant flow paths (21, 90A, 100A, 120A) disposed in the distributor (10, 90, 100, 120) on an upstream side of a flow of the refrigerant, and wherein the plurality of heat transfer tubes (30B, 30C, 300B, 300C) of one of the plurality of heat exchanger cores (40B, 40C) disposed on a leeward side of the flow of the fed air are connected to at least one of the refrigerant flow paths (22, 90B, 100B, 120B, 120C) disposed in the distributor (10, 90, 100, 120) on a downstream side of the flow of the refrigerant.