A refrigerator, comprising: a cabinet having a storage chamber; and a water filter unit to receive water from a water supply source and to supply water filtered by a filter (40, 140), the water filter unit comprising: a case to receive the filter (40, 140) and a storage tank (60, 180) to store water purified by the water filter unit; and a filter head assembly (50, 150), wherein the filter (40, 140) is separably coupled to the filter head assembly and wherein the filter head assembly (50, 150) including: a housing (51, 151) having an inlet (52, 152) and an outlet (53, 157) and providing an inner space within the housing,; a head received in the housing (51, 151) such that the head is extendable or retractable within the housing (51, 151); and an elastic member arranged between the housing (51, 151) and the head and configured to apply and restore elastic force; characterized in that the head is configured: to open a first water path between the inlet (52, 152) and the outlet (53, 157) through a bypass passage by moving from a first position to a second position within the inner space using elastic force of the elastic member when the filter (40, 140) is being removed from the housing (51, 151) by being rotated, and to open a second water path between the inlet (52, 152) and the outlet (53, 157) through the filter by moving from the second position to the first position within the inner space when the filter (40,140) is being inserted into the housing (51, 151) by being rotated. a cabinet having a storage chamber; and a water filter unit to receive water from a water supply source and to supply water filtered by a filter (40, 140), the water filter unit comprising: a case to receive the filter (40, 140) and a storage tank (60, 180) to store water purified by the water filter unit; and a filter head assembly (50, 150), wherein the filter (40, 140) is separably coupled to the filter head assembly and wherein the filter head assembly (50, 150) including: a housing (51, 151) having an inlet (52, 152) and an outlet (53, 157) and providing an inner space within the housing,; a head received in the housing (51, 151) such that the head is extendable or retractable within the housing (51, 151); and an elastic member arranged between the housing (51, 151) and the head and configured to apply and restore elastic force; characterized in that the head is configured: to open a first water path between the inlet (52, 152) and the outlet (53, 157) through a bypass passage by moving from a first position to a second position within the inner space using elastic force of the elastic member when the filter (40, 140) is being removed from the housing (51, 151) by being rotated, and to open a second water path between the inlet (52, 152) and the outlet (53, 157) through the filter by moving from the second position to the first position within the inner space when the filter (40,140) is being inserted into the housing (51, 151) by being rotated. a case to receive the filter (40, 140) and a storage tank (60, 180) to store water purified by the water filter unit; and a filter head assembly (50, 150), wherein the filter (40, 140) is separably coupled to the filter head assembly and wherein the filter head assembly (50, 150) including: a housing (51, 151) having an inlet (52, 152) and an outlet (53, 157) and providing an inner space within the housing,; a head received in the housing (51, 151) such that the head is extendable or retractable within the housing (51, 151); and an elastic member arranged between the housing (51, 151) and the head and configured to apply and restore elastic force; a housing (51, 151) having an inlet (52, 152) and an outlet (53, 157) and providing an inner space within the housing,; a head received in the housing (51, 151) such that the head is extendable or retractable within the housing (51, 151); and an elastic member arranged between the housing (51, 151) and the head and configured to apply and restore elastic force; to open a first water path between the inlet (52, 152) and the outlet (53, 157) through a bypass passage by moving from a first position to a second position within the inner space using elastic force of the elastic member when the filter (40, 140) is being removed from the housing (51, 151) by being rotated, and to open a second water path between the inlet (52, 152) and the outlet (53, 157) through the filter by moving from the second position to the first position within the inner space when the filter (40,140) is being inserted into the housing (51, 151) by being rotated.