Abstract. We study the finite groups G for which the set cd(G) of irreducible complex character degrees consists of the two most extreme possible values, that is, 1 and |G : Z(G)| 1/2 . We are easily reduced to finite p-groups, for which we derive the following group theoretical characterization: they are the p-groups such that |G : Z(G)| is a square and whose only normal subgroups are those containing G or contained in Z(G). By analogy, we also deal with pgroups such that |G : Z(G)| = p 2n+1 is not a square, and we prove that cd(G) = {1, p n } if and only if a similar property holds: for any N G,The proof of these results requires a detailed analysis of the structure of the p-groups with any of the conditions above on normal subgroups, which is interesting for its own sake. It is especially remarkable that these groups have small nilpotency class and that, if the nilpotency class is greater than 2, then the index of the centre is small, and in some cases we may even bound the order of G.