A piston for use in a compressor that compresses gas containing lubricating oil is disclosed. The compressor includes a housing having a crank chamber and cylinder bores, and a swash plate located in the crank chamber. The swash plate is operably connected to the pistons by shoes to convert the rotation of a drive shaft to the reciprocation of each piston. Each piston has a head for compressing the gas supplied to the cylinder bore and a skirt projecting from the head toward the crank chamber. The skirt is connected to the swash plate. A restrictor is provided on the skirt to prevent the piston from rotating in the cylinder bore. The restrictor has a pair of arched surfaces slidably contacting an inner surface of the housing and a recessed surface located between the arched surfaces and free from contact with the inner surface. The recessed surface defines a gap for allowing passage of the oil between the recessed surface and the inner surface. The gap leads the oil in the crank chamber toward the shoes when the piston moves from a top dead center position to a bottom dead center position.