We consider random energy landscapes constructed from d-dimensional lattices or trees. The distribution of the number of local minima in such landscapes follows a large deviation principle and we derive the associated law exactly for dimension 1. Also of interest is the probability of the maximum possible number of minima; this probability scales exponentially with the number of sites. We calculate analytically the corresponding exponent for the Cayley tree and the two-leg ladder; for 2 to 5 dimensional hypercubic lattices, we compute the exponent numerically and compare to the Cayley tree case.PACS numbers: 02.50.Cw (Probability theory), 05.50.+q For many materials that are glassy [1] local minima of the energy (or of the free energy) trap the system for long times, leading to subtle equilibrium and out of equilibrium properties. Energy landscapes provide a simple conceptual framework for modeling these systems but in fact their use goes much beyond that. For instance the vacua of string theories are expected to proliferate enormously, and the problem of estimating the number of local minima [2,3] [8,9] and the associated problems in random matrix theory [3,10,11]. Typically these systems consider a particle, a configuration of particles, or even a manifold, subject to a random potential. One extreme case for its visual simplicity is that of a point particle in a random Gaussian potential; on the opposite extreme are energy landscapes associated with the configuration of a many body system. Examples in this last category include: (1) the p-spin glass model [12], which in the limit of large p reduces to the far simpler random energy model of Derrida [13]; (2) atomic clusters [14] and other glassy systems with no quenched disorder [15]; (3) random manifolds in random media [6].For any landscape, it is desirable to know the statistical properties of the minima (or more generally of the saddle points). A quantity frequently considered is the expected number of minima as a function of their energy [9]. It may also be of interest to consider how the set of minima are organized topologically, e.g., whether the barrier tree [16] is ultrametric. Our focus here is to better understand the statistics of the total number of local minima in random energy landscapes; our underlying space is a regular (Euclidean) lattice on each site of which resides a random energy. Let M denote the total number of local minima for given values of the energies on each site. Evidently M is a random variable as it varies from one realization of the landscape to another. We are interested in the statistics of M as a function of the number N of lattice sites. Similar questions were studied recently in the context of random permutations [17,18], ballistic deposition [19], and in simple models of glasses [20]. In this paper, we provide a number of analytical results on the distribution of the total number of local minima for random energy landscapes on several lattices; the moments of M are easily derived, so our focus concerns mainly the probabil...