A compressor comprising: a casing having an inner space; a fixed scroll fixedly installed at the casing, and an orbiting scroll engaged with the fixed scroll and orbiting in cooperation with a motor, the fixed scroll and orbiting scroll defining a pair of compression chambers; a suction pipe directly connected to an inlet of the compression chambers through one side of the casing; a motor located in the inner space of the casing to generate a driving force, the motor having a crankshaft is coupled with the orbiting scroll; an oil separator configured to separate oil from a refrigerant discharged from the compression chamber; a first oil pump configured to recollect oil separated by the oil separator, having a first inlet and a first outlet; and a second oil pump configured to pump oil of the inner space of the casing, having a second inlet and a second outlet, wherein the refrigerant compressed in the compression chambers is discharged to the inner space of the casing, characterized in that the oil separator includes an inner space separated from the inner space of the casing, a discharge pipe (14; 252) configured to penetrate into the inner space of the oil separator and to guide the refrigerant from the inner space of the casing to the inner space of the oil separator, a refrigerant pipe configured to guide the refrigerant from the inner space of the oil separator to a condenser and an oil recollecting pipe configured to guide oil from the inner space of the oil separator to the first oil pump, the first inlet of the first oil pump is directly connected to the oil recollecting pipe, and the first outlet of the first oil pump is communicated with the inner space of the casing. a casing having an inner space; a fixed scroll fixedly installed at the casing, and an orbiting scroll engaged with the fixed scroll and orbiting in cooperation with a motor, the fixed scroll and orbiting scroll defining a pair of compression chambers; a suction pipe directly connected to an inlet of the compression chambers through one side of the casing; a motor located in the inner space of the casing to generate a driving force, the motor having a crankshaft is coupled with the orbiting scroll; an oil separator configured to separate oil from a refrigerant discharged from the compression chamber; a first oil pump configured to recollect oil separated by the oil separator, having a first inlet and a first outlet; and a second oil pump configured to pump oil of the inner space of the casing, having a second inlet and a second outlet, wherein the refrigerant compressed in the compression chambers is discharged to the inner space of the casing, characterized in that the oil separator includes an inner space separated from the inner space of the casing, a discharge pipe (14; 252) configured to penetrate into the inner space of the oil separator and to guide the refrigerant from the inner space of the casing to the inner space of the oil separator, a refrigerant pipe configured to guide the refrigerant from the inner space of the oil separator to a condenser and an oil recollecting pipe configured to guide oil from the inner space of the oil separator to the first oil pump, an inner space separated from the inner space of the casing, a discharge pipe (14; 252) configured to penetrate into the inner space of the oil separator and to guide the refrigerant from the inner space of the casing to the inner space of the oil separator, a refrigerant pipe configured to guide the refrigerant from the inner space of the oil separator to a condenser and an oil recollecting pipe configured to guide oil from the inner space of the oil separator to the first oil pump, the first inlet of the first oil pump is directly connected to the oil recollecting pipe, and the first outlet of the first oil pump is communicated with the inner space of the casing.