Isogeometric analysis of Lagrangian shock hydrodynamics is proposed. The Euler equations of compressible hydrodynamics in the weak form are discretized using Non-Uniform Rational B-Splines (NURBS) in space. The discretization has all the advantages of a higher-order method, with the additional benefits of exact symmetry preservation and better per-degree-of-freedom accuracy. An explicit, second-order accurate time integration procedure, which conserves total energy, is developed and employed to advance the equations in time. The performance of the method is examined on a set of standard 2D and 3D benchmark examples, where good quality of the computational results is attained.