This article reviews recent activity on the Hamiltonian formulation of fluid models for plasmas in the non-dissipative limit, with emphasis on the relations between the fluid closures adopted for the different models and the Hamiltonian structures. The review focuses on results obtained during the last decade, but a few classical results are also described, in order to illustrate connections with the most recent developments. With the hope of making the review accessible not only to specialists in the field, an introduction to the mathematical tools applied in the Hamiltonian formalism for continuum models is provided. Subsequently, we review the Hamiltonian formulation of models based on the magnetohydrodynamics description, including those based on the adiabatic and double adiabatic closure. It is shown how Dirac's theory of constrained Hamiltonian systems can be applied to impose the incompressibility closure on a magnetohydrodynamic model and how an extended version of barotropic magnetohydrodynamics, accounting for two-fluid effects, is amenable to a Hamiltonian formulation. Hamiltonian reduced fluid models, valid in the presence of a strong magnetic field, are also reviewed. In particular, reduced magnetohydrodynamics and models assuming cold ions and different closures for the electron fluid are discussed. Hamiltonian models relaxing the cold-ion assumption are then introduced. These include models where finite Larmor radius effects are added by means of the gyromap technique, and gyrofluid models.Numerical simulations of Hamiltonian reduced fluid models investigating the phenomenon of magnetic reconnection are illustrated. The last part of the review concerns recent results based on the derivation of closures preserving a Hamiltonian structure, based on the Hamiltonian structure of parent kinetic models. Identification of such closures for fluid models derived from kinetic systems based on the Vlasov and drift-kinetic equations are presented, and connections with previously discussed fluid models are pointed out.