For the p-median problem we study complexity of finding a local minimum in the worst and the average cases. We introduce several neighborhoods and show that the corresponding local search problems are PLS-complete. In the average case we note that standard local descent algorithm is polynomial. A relationship between local optima and 0