Let G be a finite group. A subset X of G is a set of pairwise noncommuting elements if any two distinct elements of X 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.