  We study the Schwarzian derivative from a variational viewpoint. Firstly we
show that the Schwarzian derivative defines a first integral of the
Euler--Lagrange equation of a second order Lagrangian. Secondly, we show that
the Schwarzian derivative itself is the Euler--Lagrange operator for an
appropriately chosen class of variations.
