We consider a two-dimensional model for a rotating Bose–Einstein condensate (BEC) in an anharmonic trap. The special shape of the trapping potential, negative in a central hole and positive in an annulus, favors an annular shape for the support of the wave function u. We study the minimizers of the energy in the Thomas–Fermi limit, where a small parameter tends to 0, for two different regimes of the rotational speed Ω. When Ω is independent of , we observe that the energy minimizers acquire vorticity beyond a critical Ω, but the vortices are strongly pinned in the central hole where the potential is negative. In this regime, minimizers exhibit no vortices in the annular bulk of the condensate. There is a critical rotational speed Ω = O( | ...