Proposed is a refrigerator having a shelf assembly in which the shelf assembly includes a shelf installed inside a cabinet defining a storage space of the refrigerator and allowing food and a container to be seated thereon, a shelf fixing bracket fixed to each of opposite sides of the shelf and supporting the shelf, a lift rail module installed to be vertically long inside the cabinet such that the shelf fixing bracket is vertically movable, and a lift module installed slidably on one side of the shelf and configured to selectively release the shelf fixing bracket held by the lift rail module according to a user's manipulation.