We present a recipe that allows us to construct multicentered black holes embedded in an arbitrary Friedmann-Lemaitre-Robertson-Walker (FLRW) universe. These solutions are completely determined by a function satisfying the conformal Laplace equation on the spatial slices E-3, S-3, or H-3. Since anti-de Sitter (AdS) space can be written in FLRW coordinates, this includes as a special case multicentered black holes in AdS, in the sense that, far away from the black holes, the energy density and the pressure approach the values given by a negative cosmological constant. We study in some detail the physical properties of the single-centered asymptotically AdS case, which does not coincide with the usual Reissner-Nordstrom-AdS black hole, but is highly dynamical. In particular, we determine the curvature singularities and trapping horizons of this solution, compute the surface gravity of the trapping horizons, and show that the generalized first law of black hole dynamics proposed by Hayward holds in this case. It turns out that the spurious big bang/big crunch singularities that appear when one writes AdS in FLRW form become real in the presence of these dynamical black holes. This implies that actually only one point of the usual conformal boundary of AdS survives in the solutions that we construct. Finally, a generalization to arbitrary dimension is also presented.