We present a new exploration of the cosmic star formation history and dust obscuration in massive galaxies at redshifts 0.5 1010M⊙ galaxies at 0.5 10. One third of this is accounted for by 450-μm-detected sources, while one-fifth is attributed to UV-luminous sources (brighter than L∗UV), although even these are largely obscured. By extrapolating our results to include all stellar masses, we estimate a total SFRD that is in good agreement with previous results from IR and UV data at z ≲ 3, and from UV-only data at z ∼ 5. The cosmic star formation history undergoes a transition at z ∼ 3–4, as predominantly unobscured growth in the early Universe is overtaken by obscured star formation, driven by the build-up of the most massive galaxies during the peak of cosmic assembly