We study, from the numerical point of view, instabilities developed in a fluid layer with a free surface in a cylindrical container which is nonhomogeneously heated from below. In particular, we consider the case in which the applied heat is localized around the origin. An axisymmetric basic state appears as soon as a nonzero horizontal temperature gradient is imposed. The basic state may bifurcate to different solutions depending on vertical and lateral temperature gradients and on the shape of the heating function. We find different kinds of instabilities: extended patterns growing on the whole domain, which include those known as targets, and spiral waves. Spirals are present even for infinite Prandtl number. Localized structures both at the origin and at the outer part of the cylinder may appear either as Hopf or stationary bifurcations. An overview of the developed instabilities as functions of the dimensionless parameters is presented in this article. © 2007 American Institute of Physics. ͓DOI: 10.1063/1.2714295͔ Spiral and target wave instabilities in Rayleigh-Bérnard convection were experimentally found in the early 1990s and several theoretical mechanisms have been proposed to justify their appearance. In this article we study the instabilities generated in the flow by a nonuniform heating function. In this setup spiral and target waves are the linearly growing modes of nontrivial axisymmetric basic states. We find that localized structures also may appear. These patterns grow at different positions in the domain depending on the basic flow from which they bifurcate. This article reports a systematical numerical study of these transitions.