A connected graph is called a quasi-tree graph if there exists a vertex such that is a tree. In this paper, we determine the largest algebraic connectivity together with the corresponding extremal graphs among all quasi-tree graphs of order with a given matching number.