A slide rail mechanism includes a rail, a movable member, a buffer member, and an elastic member. The movable member can be displaced with respect to the rail. The buffer member is provided on one of the rail and the movable member and can produce a buffering effect in response to the movable member being displaced in a certain direction. The rail includes a longitudinal wall and a supporting portion connected to the longitudinal wall. The longitudinal wall and the supporting portion jointly define a supporting path.