This paper is concerned with an optimal stock selling rule under a Markov chain model. The objective is to find an optimal stopping time to sell the stock so as to maximize an expected return. Solutions to the associated variational inequalities are obtained. Closed-form solutions are given in terms of a set of threshold levels. Verification theorems are provided to justify their optimality. Finally, numerical examples are reported to illustrate the results.