The liquid-line solenoid valve closes when the thermostat demand is satisfied to prevent liquid refrigerant migration. This device is for use in long-line applications.