We show that the matter Lagrangian of an ideal fluid equals (up to a sign -depending on its definition and on the chosen signature of the metric) the total energy density of the fluid, i.e. rest energy density plus internal energy density.