<p>An electric scroll compressor as a fluid machine, comprising a housing (10) storing both a scroll unit (20) and an armature (38) driving the scroll unit (20) and a refrigerant flow passage disposed in the housing (10) and leading a refrigerant to the scroll unit (20). The refrigerant flow passage partly comprises a spiral groove (64), and the spiral groove (64) is formed in the outer peripheral surface of a rotor (54) of the armature (38) and comprises both ends opened to both end faces of the rotor (54).</p>