Solar ultraviolet radiation (UVR) is considered a relevant health risk for the workers of the maritime and port sectors, but scant data are available on actual exposure measured using personal dosimeters. Moreover, in outdoor workers sun protection habits are usually poor, while some promising data suggest that sun-safety campaigns can be effective in increasing self-protection at work. Accordingly, our aim was to conduct an assessment of solar UVR exposure in dockworkers and fishermen using personal dosimeters, and to evaluate the use of sun protection measures at work after a sun-safety training. We performed two different UVR measurements campaigns in spring-summer 2018, investigating 7 fishermen and 14 dockworkers. Electronic dosimeters have been placed on the workers for at least a half workday. Only at the port it was also possible to register the environmental UVR exposure with a specrto-radiometer, while for fishermen we estimated the corresponding environmental exposure using an algorithm. Our results demonstrate a high erythemal UVR dose received by the workers, with an individual exposure up to 542 J/m2 for fishermen in spring and up to 1975 J/m2 for dockworkers in summer. This data indicates an excessive occupational risk, needing more effective prevention. Accordingly, we offered a sun-safety training to the workers. Before the training, protective behaviour of the workers was rather poor: about the 50% never used the hat, the 40% never wore sunglasses and none of the workers referred to apply sunscreens at work. After the training, fishermen reported a relevant improvement in the use of individual UV protections, as hat (+9.6%), sunglasses (+28.5%) and clothes (+5%), even if the use of sunscreens at work was not increased.