Let G be a finite group. A subset X of G is a set of pairwise noncommuting elements if any two distinct elements ofX do not commute. In this paper we determine the maximum size of these subsets in any finite nonabelian metacyclic p-group for an odd prime p.