A slide rail assembly includes a first rail, a second rail, a first locking mechanism, and a second locking mechanism. The second rail can be displaced with respect to the first rail. The first locking mechanism and the second locking mechanism are arranged at two different portions of the second rail respectively and are configured to lock the second rail at two predetermined extended positions respectively. The first locking mechanism and the second locking mechanism can be operated so that the second rail is no longer locked by the locking mechanisms and can be retracted with respect to the first rail.