A server chassis includes a base defining an opening, a rotating plate, a sliding plate, and first and second elastic members. The base includes a middle plate opposite to the opening and defines a space communicating with the opening. The rotating plate defines a plurality of first air holes. The sliding plate defines a plurality of second air holes. The rotating plate is rotated toward the middle plate when the functional module is inserted into the space, the sliding plate abuts against the middle plate and slides toward the opening, and the second air holes align with the first air holes. The second elastic member restores the rotating plate to obstruct the opening when the functional module is drawn out, and the first elastic member restores the sliding plate to make the second air holes be staggered with the first air holes.