  We calculate the corrections of orders alpha^3, alpha^4 and alpha^5 to the
Lamb shift of the 1S and 2S energy levels of muonic hydrogen (mu p) and muonic
deuterium (mu d). The nuclear structure effects are taken into account in terms
of the proton r_p and deuteron r_d charge radii for the one-photon interaction
and by means of the proton and deuteron electromagnetic form factors in the
case of one-loop amplitudes. The obtained numerical value of the isotope shift
(mu d) - (mu p) for the splitting (1S-2S) 101003.3495 meV can be considered as
a reliable estimation for corresponding experiment with the accuracy 10^{-6}.
The fine structure interval E(1S)-8E(2S) in muonic hydrogen and muonic
deuterium are calculated.
