Abstract. Energies, transition rates, line strengths and lifetimes have been computed for all levels of the 4p 6 and 4p 5 4d configurations of W 38+ by using the multiconfiguration Dirac-Hartree-Fock method as well as relativistic many-body perturbation theory. We investigate systematically correlation, relativistic and QED effects on different properties, including excitation energies and transition rates. We demonstrate that it is important to include core-valence correlation of rather deep subshells (including 3d and 3p) to reach close to spectroscopic accuracy for the transition energies. We also show that high multipole transitions (E3, M2) are important for the lifetime of some metastable levels of 4p 5 4d ( 3 F 3 , 1 D 2 , 3 D 2 ). The present results are in good agreement with experiments and of considerable higher accuracy than what has been reached in previous theoretical works.