A compressor comprising: a casing including an internal space; a drive motor that includes a stator which is located in the internal space of the casing, and a rotator which rotates by interaction with the stator, wherein the drive motor has an internal flow passage therein and forms an external flow passage relative to the casing; a rotation shaft that is connected to the rotator of the drive motor and thus rotates; a discharge pipe that communicates with an upper space of the internal space in the casing, which is formed above the drive motor; an oil separation member that is provided in the upper space in the casing and separates oil from the refrigerant, wherein the oil separation member (82, 85) is positioned at a distance away from an inlet of the discharge pipe; and a guidance member that is provided between an upper end of the drive motor and a lower end of the discharge pipe, and separates the upper space into two spaces, and has an upper opening and a lower opening, characterized in that the compressor is a scroll compressor, and the compressor further comprises a compression unit that includes a first scroll which is provided below the drive motor, and a second scroll which is engaged with the first scroll to form a compression chamber while the second scroll performs an orbiting motion with respect to the first scroll, thereby compressing refrigerant in the compression chamber and discharging the compressed refrigerant toward the internal space in the casing, wherein the guidance member is arranged to guide the refrigerant with which the oil is mixed, to the oil separation member, and wherein the oil separation member is connected to the guidance member in such a manner as to communicate with the upper opening of the guidance member, wherein the oil separation member comprises an upper surface facing an inlet of the discharge pipe and formed with a closed plate, and a flank surface formed with a mesh through which the refrigerant passes, wherein the upper surface and the flank surface form a space communicating with the upper opening of the guidance member, and wherein an internal diameter of the oil separation member is equal or greater than an internal diameter of the upper opening, and an external flank surface of the guidance member provides a passage along which oil filtered by the mesh flows down to the external flow passage. a casing including an internal space; a drive motor that includes a stator which is located in the internal space of the casing, and a rotator which rotates by interaction with the stator, wherein the drive motor has an internal flow passage therein and forms an external flow passage relative to the casing; a rotation shaft that is connected to the rotator of the drive motor and thus rotates; a discharge pipe that communicates with an upper space of the internal space in the casing, which is formed above the drive motor; an oil separation member that is provided in the upper space in the casing and separates oil from the refrigerant, wherein the oil separation member (82, 85) is positioned at a distance away from an inlet of the discharge pipe; and a guidance member that is provided between an upper end of the drive motor and a lower end of the discharge pipe, and separates the upper space into two spaces, and has an upper opening and a lower opening, characterized in that the compressor is a scroll compressor, and the compressor further comprises a compression unit that includes a first scroll which is provided below the drive motor, and a second scroll which is engaged with the first scroll to form a compression chamber while the second scroll performs an orbiting motion with respect to the first scroll, thereby compressing refrigerant in the compression chamber and discharging the compressed refrigerant toward the internal space in the casing, wherein the guidance member is arranged to guide the refrigerant with which the oil is mixed, to the oil separation member, and wherein the oil separation member is connected to the guidance member in such a manner as to communicate with the upper opening of the guidance member, wherein the oil separation member comprises an upper surface facing an inlet of the discharge pipe and formed with a closed plate, and a flank surface formed with a mesh through which the refrigerant passes, wherein the upper surface and the flank surface form a space communicating with the upper opening of the guidance member, and wherein an internal diameter of the oil separation member is equal or greater than an internal diameter of the upper opening, and an external flank surface of the guidance member provides a passage along which oil filtered by the mesh flows down to the external flow passage.