Differential measurements of top quark pair and single top quark (t-channel) production cross sections are presented using data collected by CMS at different centre-of-mass energies. The cross sections are measured as a function of various kinematic observables of the top quarks and the jets and leptons of the event final state. The ttbar measurements are extended to the TeV range using jet substructure techniques to exploit the boosted regime. The multiplicity and kinematic distributions of the jets produced in addition to the top quark pair are also investigated. The results are confronted with precise theory calculations.