The necessary and sufficient conditions for a three-dimensional Lorentzian metric to admit a transitive group of isometries are obtained. These conditions are Intrinsic, Deductive, Explicit and ALgorithmic, and they offer an IDEAL labeling of these geometries.