A scroll compressor , comprising: a casing comprising a rotational shaft ; a cover fixed inside of the casing to partition an inner space of the casing into a suction space (S) and a discharge space (D); a first scroll that is revolved by rotation of the rotational shaft ; a second scroll disposed on or at one side of the first scroll to define a compression chamber together with the first scroll , wherein the second scroll comprises a discharge hole through which a refrigerant compressed in the compression chamber is discharged; a switching device movably disposed on or at one side of the discharge hole to selectively open and close the discharge hole ; a back pressure portion comprising a moving guide that accommodates at least a portion of the switching device and a top surface that covers one side of the switching device , the top surface having a discharge pressure apply hole that applies a pressure of the discharge space (D) to the switching device to allow the switching device to move characterized in that the switching device comprises: a body having an outer circumferential surface having a cylindrical shape; an opposite surface disposed opposite to the discharge pressure apply hole of the top surface ; and a recess recessed from at least one of the opposite surface or the outer circumferential surface of the body , to reduce a contact area between the switching device and at least a portion of the back pressure portion . a casing comprising a rotational shaft ; a cover fixed inside of the casing to partition an inner space of the casing into a suction space (S) and a discharge space (D); a first scroll that is revolved by rotation of the rotational shaft ; a second scroll disposed on or at one side of the first scroll to define a compression chamber together with the first scroll , wherein the second scroll comprises a discharge hole through which a refrigerant compressed in the compression chamber is discharged; a switching device movably disposed on or at one side of the discharge hole to selectively open and close the discharge hole ; a back pressure portion comprising a moving guide that accommodates at least a portion of the switching device and a top surface that covers one side of the switching device , the top surface having a discharge pressure apply hole that applies a pressure of the discharge space (D) to the switching device to allow the switching device to move characterized in that the switching device comprises: a body having an outer circumferential surface having a cylindrical shape; an opposite surface disposed opposite to the discharge pressure apply hole of the top surface ; and a recess recessed from at least one of the opposite surface or the outer circumferential surface of the body , to reduce a contact area between the switching device and at least a portion of the back pressure portion . a body having an outer circumferential surface having a cylindrical shape; an opposite surface disposed opposite to the discharge pressure apply hole of the top surface ; and a recess recessed from at least one of the opposite surface or the outer circumferential surface of the body , to reduce a contact area between the switching device and at least a portion of the back pressure portion . <EOS>